Home
last modified time | relevance | path

Searched refs:GCM_AES_IV_SIZE (Results 1 – 19 of 19) sorted by relevance

/linux-5.19.10/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c94 + GCM_AES_IV_SIZE; in zynqmp_aes_aead_cipher()
96 dma_size = req->cryptlen + GCM_AES_IV_SIZE; in zynqmp_aes_aead_cipher()
111 memcpy(kbuf + data_size, req->iv, GCM_AES_IV_SIZE); in zynqmp_aes_aead_cipher()
125 memcpy(kbuf + data_size + GCM_AES_IV_SIZE, in zynqmp_aes_aead_cipher()
128 hwreq->key = hwreq->src + data_size + GCM_AES_IV_SIZE; in zynqmp_aes_aead_cipher()
360 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/drivers/crypto/ccp/
Dccp-crypto-aes-galois.c105 memcpy(rctx->iv, req->iv, GCM_AES_IV_SIZE); in ccp_aes_gcm_crypt()
107 rctx->iv[i + GCM_AES_IV_SIZE] = 0; in ccp_aes_gcm_crypt()
171 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/include/crypto/
Dgcm.h6 #define GCM_AES_IV_SIZE 12 macro
/linux-5.19.10/crypto/
Dgcm.c159 memcpy(pctx->iv, req->iv, GCM_AES_IV_SIZE); in crypto_gcm_init_common()
160 memcpy(pctx->iv + GCM_AES_IV_SIZE, &counter, 4); in crypto_gcm_init_common()
638 inst->alg.ivsize = GCM_AES_IV_SIZE; in crypto_gcm_create_common()
733 scatterwalk_map_and_copy(iv + GCM_AES_IV_SIZE, req->src, 0, req->assoclen - 8, 0); in crypto_rfc4106_crypt()
739 sg_set_buf(rctx->src, iv + GCM_AES_IV_SIZE, req->assoclen - 8); in crypto_rfc4106_crypt()
746 sg_set_buf(rctx->dst, iv + GCM_AES_IV_SIZE, req->assoclen - 8); in crypto_rfc4106_crypt()
855 if (crypto_aead_alg_ivsize(alg) != GCM_AES_IV_SIZE) in crypto_rfc4106_create()
1016 align + GCM_AES_IV_SIZE); in crypto_rfc4543_init_tfm()
1070 if (crypto_aead_alg_ivsize(alg) != GCM_AES_IV_SIZE) in crypto_rfc4543_create()
/linux-5.19.10/drivers/crypto/
Domap-aes-gcm.c248 memcpy(rctx->iv + GCM_AES_IV_SIZE, &counter, 4); in omap_aes_gcm_crypt()
276 memcpy(rctx->iv, req->iv, GCM_AES_IV_SIZE); in omap_aes_gcm_encrypt()
284 memcpy(rctx->iv, req->iv, GCM_AES_IV_SIZE); in omap_aes_gcm_decrypt()
Datmel-aes.c1528 if (likely(ivsize == GCM_AES_IV_SIZE)) { in atmel_aes_gcm_start()
1796 .ivsize = GCM_AES_IV_SIZE,
Domap-aes.c757 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/drivers/crypto/nx/
Dnx-aes-gcm.c421 memcpy(iv, req->iv, GCM_AES_IV_SIZE); in gcm_aes_nx_encrypt()
431 memcpy(iv, req->iv, GCM_AES_IV_SIZE); in gcm_aes_nx_decrypt()
481 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c232 rctx->ivsize = GCM_AES_IV_SIZE - GCM_AES_SALT_SIZE; in nitrox_aes_gcm_enc()
266 rctx->ivsize = GCM_AES_IV_SIZE - GCM_AES_SALT_SIZE; in nitrox_aes_gcm_dec()
536 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/drivers/crypto/keembay/
Dkeembay-ocs-aes-core.c615 if (iv_size != GCM_AES_IV_SIZE) in kmb_ocs_aead_validate_input()
1472 .ivsize = GCM_AES_IV_SIZE,
1515 .ivsize = GCM_AES_IV_SIZE,
Docs-aes.c703 if (!iv || iv_size != GCM_AES_IV_SIZE) in ocs_aes_validate_inputs()
942 GCM_AES_IV_SIZE, aad_dma_list, in ocs_aes_gcm_op()
/linux-5.19.10/drivers/crypto/amcc/
Dcrypto4xx_alg.c601 crypto4xx_memcpy_to_le32(iv, req->iv, GCM_AES_IV_SIZE); in crypto4xx_crypt_aes_gcm()
Dcrypto4xx_core.c1344 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/drivers/crypto/caam/
Dcaamalg.c1124 bool generic_gcm = (ivsize == GCM_AES_IV_SIZE); in init_gcm_job()
1137 FIFOLD_TYPE_IV | FIFOLD_TYPE_FLUSH1 | GCM_AES_IV_SIZE | last); in init_gcm_job()
2071 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/drivers/crypto/axis/
Dartpec6_crypto.c1917 memcpy(req_ctx->hw_ctx.J0 + GCM_AES_IV_SIZE, "\x00\x00\x00\x01", 4); in artpec6_crypto_prepare_aead()
2793 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/arch/x86/crypto/
Daesni-intel_glue.c1118 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/drivers/crypto/chelsio/
Dchcr_algo.c3226 memcpy(ivptr, req->iv, GCM_AES_IV_SIZE); in create_gcm_wr()
4061 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/drivers/crypto/inside-secure/
Dsafexcel_cipher.c2655 .ivsize = GCM_AES_IV_SIZE,
/linux-5.19.10/drivers/crypto/bcm/
Dcipher.c3072 .ivsize = GCM_AES_IV_SIZE,