Searched refs:authtag (Results 1 – 7 of 7) sorted by relevance
| /linux/crypto/ |
| H A D | aes.c | 775 u8 authtag[16]; in crypto_aes_gcm_encrypt_common() local 781 aes_gcm_encrypt_final(&ctx, authtag); in crypto_aes_gcm_encrypt_common() 782 memcpy_to_sglist(req->dst, req->assoclen + req->cryptlen, authtag, in crypto_aes_gcm_encrypt_common() 784 memzero_explicit(authtag, sizeof(authtag)); in crypto_aes_gcm_encrypt_common() 794 u8 authtag[16]; in crypto_aes_gcm_decrypt_common() local 805 memcpy_from_sglist(authtag, req->src, req->assoclen + data_len, in crypto_aes_gcm_decrypt_common() 807 err = aes_gcm_decrypt_final(&ctx, authtag); in crypto_aes_gcm_decrypt_common() 808 memzero_explicit(authtag, sizeof(authtag)); in crypto_aes_gcm_decrypt_common() 961 u8 authtag[16]; crypto_aes_ccm_encrypt() local 982 u8 authtag[16]; crypto_aes_ccm_decrypt() local [all...] |
| H A D | ccm.c | 350 u8 *authtag = pctx->auth_tag; in crypto_ccm_decrypt() local 357 err = crypto_ccm_init_crypt(req, authtag); in crypto_ccm_decrypt() 361 scatterwalk_map_and_copy(authtag, sg_next(pctx->src), cryptlen, in crypto_ccm_decrypt() 383 if (crypto_memneq(authtag, odata, authsize)) in crypto_ccm_decrypt()
|
| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-gcm-glue.c | 199 u8 authtag[SM4_BLOCK_SIZE]; in gcm_decrypt() local 209 scatterwalk_map_and_copy(authtag, req->src, in gcm_decrypt() 213 if (crypto_memneq(authtag, ghash, authsize)) in gcm_decrypt()
|
| H A D | sm4-ce-ccm-glue.c | 224 u8 authtag[SM4_BLOCK_SIZE]; in ccm_decrypt() local 241 scatterwalk_map_and_copy(authtag, req->src, in ccm_decrypt() 245 if (crypto_memneq(authtag, mac, authsize)) in ccm_decrypt()
|
| /linux/arch/x86/include/asm/ |
| H A D | sev.h | 192 u8 authtag[MAX_AUTHTAG_LEN]; member
|
| /linux/arch/x86/coco/sev/ |
| H A D | core.c | 1761 resp_msg_hdr->msg_sz, resp_msg_hdr->authtag, in verify_and_dec_payload() 1794 aes_gcm_encrypt(msg->payload, req->req_buf, req->req_sz, hdr->authtag, in enc_payload()
|
| /linux/drivers/crypto/ccp/ |
| H A D | sev-dev-tio.c | 79 u8 authtag[16]; /* Authentication tag for this buffer */ member
|