Home
last modified time | relevance | path

Searched refs:iauth_tag (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/crypto/nx/
Dnx.h101 u8 iauth_tag[16]; member
114 u8 iauth_tag[16]; member
Dnx-aes-gcm.c421 u8 *itag = nx_ctx->priv.gcm.iauth_tag; in gcm_aes_nx_crypt()
Dnx-aes-ccm.c210 b1 = nx_ctx->priv.ccm.iauth_tag; in generate_pat()
/linux-4.1.27/crypto/
Dgcm.c68 u8 iauth_tag[16]; member
268 memcpy(pctx->iauth_tag, &lengths, 16); in gcm_hash_len()
269 sg_init_one(pctx->src, pctx->iauth_tag, 16); in gcm_hash_len()
285 ahash_request_set_crypt(ahreq, NULL, pctx->iauth_tag, 0); in gcm_hash_final()
296 crypto_xor(pctx->auth_tag, pctx->iauth_tag, 16); in __gcm_hash_final_done()
537 crypto_xor(pctx->auth_tag, pctx->iauth_tag, 16); in gcm_encrypt_done()
568 crypto_xor(pctx->auth_tag, pctx->iauth_tag, 16); in crypto_gcm_encrypt()
579 u8 *iauth_tag = pctx->iauth_tag; in crypto_gcm_verify() local
583 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify()
584 scatterwalk_map_and_copy(iauth_tag, req->src, cryptlen, authsize, 0); in crypto_gcm_verify()
[all …]