Searched refs:authtag (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/lib/crypto/ ! |
D | aesgcm.c | 90 const u8 *assoc, int assoc_len, __be32 *ctr, u8 *authtag) in aesgcm_mac() argument 102 crypto_xor_cpy(authtag, buf, (u8 *)&ghash, ctx->authsize); in aesgcm_mac() 150 const u8 iv[GCM_AES_IV_SIZE], u8 *authtag) in aesgcm_encrypt() argument 157 aesgcm_mac(ctx, dst, crypt_len, assoc, assoc_len, ctr, authtag); in aesgcm_encrypt() 181 const u8 *authtag) in aesgcm_decrypt() argument 189 if (crypto_memneq(authtag, tagbuf, ctx->authsize)) { in aesgcm_decrypt()
|
/linux-6.12.1/include/crypto/ ! |
D | gcm.h | 78 const u8 iv[GCM_AES_IV_SIZE], u8 *authtag); 83 const u8 *authtag);
|
/linux-6.12.1/arch/arm64/crypto/ ! |
D | sm4-ce-gcm-glue.c | 222 u8 authtag[SM4_BLOCK_SIZE]; in gcm_decrypt() local 232 scatterwalk_map_and_copy(authtag, req->src, in gcm_decrypt() 236 if (crypto_memneq(authtag, ghash, authsize)) in gcm_decrypt()
|
D | sm4-ce-ccm-glue.c | 246 u8 authtag[SM4_BLOCK_SIZE]; in ccm_decrypt() local 263 scatterwalk_map_and_copy(authtag, req->src, in ccm_decrypt() 267 if (crypto_memneq(authtag, mac, authsize)) in ccm_decrypt()
|
/linux-6.12.1/drivers/virt/coco/sev-guest/ ! |
D | sev-guest.c | 44 u8 *iv, *authtag; member 200 crypto->authtag = kmalloc(crypto->a_len, GFP_KERNEL_ACCOUNT); in init_crypto() 201 if (!crypto->authtag) in init_crypto() 220 kfree(crypto->authtag); in deinit_crypto() 248 sg_set_buf(&src[2], hdr->authtag, crypto->a_len); in enc_dec_message() 253 sg_set_buf(&dst[2], hdr->authtag, crypto->a_len); in enc_dec_message()
|
/linux-6.12.1/crypto/ ! |
D | ccm.c | 354 u8 *authtag = pctx->auth_tag; in crypto_ccm_decrypt() local 361 err = crypto_ccm_init_crypt(req, authtag); in crypto_ccm_decrypt() 365 scatterwalk_map_and_copy(authtag, sg_next(pctx->src), cryptlen, in crypto_ccm_decrypt() 387 if (crypto_memneq(authtag, odata, authsize)) in crypto_ccm_decrypt()
|
/linux-6.12.1/arch/x86/include/asm/ ! |
D | sev.h | 151 u8 authtag[MAX_AUTHTAG_LEN]; member
|