Searched refs:authtag (Results 1 – 6 of 6) sorted by relevance
| /linux/lib/crypto/ |
| H A D | aesgcm.c | 52 * @authtag: The output buffer for the authentication tag. in aesgcm_expandkey() 58 const u8 *assoc, int assoc_len, __be32 *ctr, u8 *authtag) in aesgcm_expandkey() 83 crypto_xor_cpy(authtag, ghash_out, enc_ctr, ctx->authsize); 125 * @authtag: The address of the buffer in memory where the authentication in aesgcm_crypt() 131 const u8 iv[GCM_AES_IV_SIZE], u8 *authtag) 138 aesgcm_mac(ctx, dst, crypt_len, assoc, assoc_len, ctr, authtag); 153 * @authtag: The address of the buffer in memory where the authentication in aesgcm_encrypt() 162 const u8 *authtag) 170 if (crypto_memneq(authtag, tagbuf, ctx->authsize)) { 89 aesgcm_mac(const struct aesgcm_ctx * ctx,const u8 * src,int src_len,const u8 * assoc,int assoc_len,__be32 * ctr,u8 * authtag) aesgcm_mac() argument 149 aesgcm_encrypt(const struct aesgcm_ctx * ctx,u8 * dst,const u8 * src,int crypt_len,const u8 * assoc,int assoc_len,const u8 iv[GCM_AES_IV_SIZE],u8 * authtag) aesgcm_encrypt() argument 180 aesgcm_decrypt(const struct aesgcm_ctx * ctx,u8 * dst,const u8 * src,int crypt_len,const u8 * assoc,int assoc_len,const u8 iv[GCM_AES_IV_SIZE],const u8 * authtag) aesgcm_decrypt() argument
|
| /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 | 1745 &resp_msg_hdr->algo, AAD_LEN, iv, resp_msg_hdr->authtag)) in verify_and_dec_payload() 1781 AAD_LEN, iv, 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
|