Lines Matching refs:authtag
775 u8 authtag[16];
781 aes_gcm_encrypt_final(&ctx, authtag);
782 memcpy_to_sglist(req->dst, req->assoclen + req->cryptlen, authtag,
784 memzero_explicit(authtag, sizeof(authtag));
794 u8 authtag[16];
805 memcpy_from_sglist(authtag, req->src, req->assoclen + data_len,
807 err = aes_gcm_decrypt_final(&ctx, authtag);
808 memzero_explicit(authtag, sizeof(authtag));
961 u8 authtag[16];
969 aes_ccm_encrypt_final(&ctx, authtag);
970 memcpy_to_sglist(req->dst, req->assoclen + req->cryptlen, authtag,
972 memzero_explicit(authtag, sizeof(authtag));
982 u8 authtag[16];
992 memcpy_from_sglist(authtag, req->src, req->assoclen + data_len,
994 err = aes_ccm_decrypt_final(&ctx, authtag);
995 memzero_explicit(authtag, sizeof(authtag));