/linux-5.19.10/drivers/crypto/xilinx/ |
D | zynqmp-aes-gcm.c | 94 + 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/ |
D | ccp-crypto-aes-galois.c | 105 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/ |
D | gcm.h | 6 #define GCM_AES_IV_SIZE 12 macro
|
/linux-5.19.10/crypto/ |
D | gcm.c | 159 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/ |
D | omap-aes-gcm.c | 248 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()
|
D | atmel-aes.c | 1528 if (likely(ivsize == GCM_AES_IV_SIZE)) { in atmel_aes_gcm_start() 1796 .ivsize = GCM_AES_IV_SIZE,
|
D | omap-aes.c | 757 .ivsize = GCM_AES_IV_SIZE,
|
/linux-5.19.10/drivers/crypto/nx/ |
D | nx-aes-gcm.c | 421 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/ |
D | nitrox_aead.c | 232 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/ |
D | keembay-ocs-aes-core.c | 615 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,
|
D | ocs-aes.c | 703 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/ |
D | crypto4xx_alg.c | 601 crypto4xx_memcpy_to_le32(iv, req->iv, GCM_AES_IV_SIZE); in crypto4xx_crypt_aes_gcm()
|
D | crypto4xx_core.c | 1344 .ivsize = GCM_AES_IV_SIZE,
|
/linux-5.19.10/drivers/crypto/caam/ |
D | caamalg.c | 1124 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/ |
D | artpec6_crypto.c | 1917 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/ |
D | aesni-intel_glue.c | 1118 .ivsize = GCM_AES_IV_SIZE,
|
/linux-5.19.10/drivers/crypto/chelsio/ |
D | chcr_algo.c | 3226 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/ |
D | safexcel_cipher.c | 2655 .ivsize = GCM_AES_IV_SIZE,
|
/linux-5.19.10/drivers/crypto/bcm/ |
D | cipher.c | 3072 .ivsize = GCM_AES_IV_SIZE,
|