Home
last modified time | relevance | path

Searched refs:authtag (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/virt/coco/sev-guest/
Dsev-guest.c36 u8 *iv, *authtag; member
172 crypto->authtag = kmalloc(crypto->a_len, GFP_KERNEL_ACCOUNT); in init_crypto()
173 if (!crypto->authtag) in init_crypto()
179 kfree(crypto->authtag); in init_crypto()
194 kfree(crypto->authtag); in deinit_crypto()
222 sg_set_buf(&src[2], hdr->authtag, crypto->a_len); in enc_dec_message()
227 sg_set_buf(&dst[2], hdr->authtag, crypto->a_len); in enc_dec_message()
Dsev-guest.h44 u8 authtag[MAX_AUTHTAG_LEN]; member
/Linux-v6.1/crypto/
Dccm.c354 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()