Searched refs:GCM_AES_IV_SIZE (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/include/crypto/ |
D | gcm.h | 4 #define GCM_AES_IV_SIZE 12 macro
|
/linux-4.19.296/crypto/ |
D | gcm.c | 181 memcpy(pctx->iv, req->iv, GCM_AES_IV_SIZE); in crypto_gcm_init_common() 182 memcpy(pctx->iv + GCM_AES_IV_SIZE, &counter, 4); in crypto_gcm_init_common() 679 inst->alg.ivsize = GCM_AES_IV_SIZE; in crypto_gcm_create_common() 804 scatterwalk_map_and_copy(iv + GCM_AES_IV_SIZE, req->src, 0, req->assoclen - 8, 0); in crypto_rfc4106_crypt() 810 sg_set_buf(rctx->src, iv + GCM_AES_IV_SIZE, req->assoclen - 8); in crypto_rfc4106_crypt() 817 sg_set_buf(rctx->dst, iv + GCM_AES_IV_SIZE, req->assoclen - 8); in crypto_rfc4106_crypt() 929 if (crypto_aead_alg_ivsize(alg) != GCM_AES_IV_SIZE) in crypto_rfc4106_create() 1106 align + GCM_AES_IV_SIZE); in crypto_rfc4543_init_tfm() 1171 if (crypto_aead_alg_ivsize(alg) != GCM_AES_IV_SIZE) in crypto_rfc4543_create()
|