Searched refs:ahreq (Results 1 – 2 of 2) sorted by relevance
| /linux/crypto/ |
| H A D | authenc.c | 116 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in authenc_geniv_ahash_finish() local 118 scatterwalk_map_and_copy(ahreq->result, req->dst, in authenc_geniv_ahash_finish() 153 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_genicv() local 158 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_genicv() 159 ahash_request_set_crypt(ahreq, req->dst, hash, in crypto_authenc_genicv() 161 ahash_request_set_callback(ahreq, flags, in crypto_authenc_genicv() 165 err = crypto_ahash_digest(ahreq); in crypto_authenc_genicv() 236 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt_tail() local 241 u8 *ihash = ahreq->result + authsize; in crypto_authenc_decrypt_tail() 244 scatterwalk_map_and_copy(ihash, req->src, ahreq->nbytes, authsize, 0); in crypto_authenc_decrypt_tail() [all …]
|
| H A D | authencesn.c | 121 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_genicv() local 139 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_esn_genicv() 140 ahash_request_set_crypt(ahreq, dst, hash, assoclen + cryptlen); in crypto_authenc_esn_genicv() 141 ahash_request_set_callback(ahreq, flags, in crypto_authenc_esn_genicv() 144 return crypto_ahash_digest(ahreq) ?: in crypto_authenc_esn_genicv() 251 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_decrypt() local 284 ahash_request_set_tfm(ahreq, auth); in crypto_authenc_esn_decrypt() 285 ahash_request_set_crypt(ahreq, dst, ohash, assoclen + cryptlen); in crypto_authenc_esn_decrypt() 286 ahash_request_set_callback(ahreq, aead_request_flags(req), in crypto_authenc_esn_decrypt() 289 err = crypto_ahash_digest(ahreq); in crypto_authenc_esn_decrypt()
|