Searched refs:GCM_AES_IV_SIZE (Results 1 – 18 of 18) sorted by relevance
/kernel/linux/linux-5.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,
|
/kernel/linux/linux-5.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,
|
/kernel/linux/linux-5.10/include/crypto/ |
D | gcm.h | 6 #define GCM_AES_IV_SIZE 12 macro
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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 | 1491 if (likely(ivsize == GCM_AES_IV_SIZE)) { in atmel_aes_gcm_start() 1758 .ivsize = GCM_AES_IV_SIZE,
|
D | omap-aes.c | 757 .ivsize = GCM_AES_IV_SIZE,
|
/kernel/linux/linux-5.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,
|
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
D | nitrox_aead.c | 233 rctx->ivsize = GCM_AES_IV_SIZE - GCM_AES_SALT_SIZE; in nitrox_aes_gcm_enc() 267 rctx->ivsize = GCM_AES_IV_SIZE - GCM_AES_SALT_SIZE; in nitrox_aes_gcm_dec() 537 .ivsize = GCM_AES_IV_SIZE,
|
/kernel/linux/linux-5.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 | 1342 .ivsize = GCM_AES_IV_SIZE,
|
/kernel/linux/linux-5.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() 2065 .ivsize = GCM_AES_IV_SIZE,
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
D | aesni-intel_glue.c | 1042 .ivsize = GCM_AES_IV_SIZE,
|
/kernel/linux/linux-5.10/drivers/crypto/axis/ |
D | artpec6_crypto.c | 1916 memcpy(req_ctx->hw_ctx.J0 + GCM_AES_IV_SIZE, "\x00\x00\x00\x01", 4); in artpec6_crypto_prepare_aead() 2792 .ivsize = GCM_AES_IV_SIZE,
|
/kernel/linux/linux-5.10/drivers/crypto/mediatek/ |
D | mtk-aes.c | 1068 .ivsize = GCM_AES_IV_SIZE,
|
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
D | chcr_algo.c | 3232 memcpy(ivptr, req->iv, GCM_AES_IV_SIZE); in create_gcm_wr() 4067 .ivsize = GCM_AES_IV_SIZE,
|
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 2654 .ivsize = GCM_AES_IV_SIZE,
|
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
D | cipher.c | 3074 .ivsize = GCM_AES_IV_SIZE,
|