Home
last modified time | relevance | path

Searched refs:ahreq (Results 1 – 3 of 3) sorted by relevance

/crypto/
Dauthencesn.c103 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in authenc_esn_geniv_ahash_update_done() local
108 ahash_request_set_crypt(ahreq, areq_ctx->sg, ahreq->result, in authenc_esn_geniv_ahash_update_done()
110 ahash_request_set_callback(ahreq, aead_request_flags(req) & in authenc_esn_geniv_ahash_update_done()
114 err = crypto_ahash_update(ahreq); in authenc_esn_geniv_ahash_update_done()
118 ahash_request_set_crypt(ahreq, areq_ctx->tsg, ahreq->result, in authenc_esn_geniv_ahash_update_done()
120 ahash_request_set_callback(ahreq, aead_request_flags(req) & in authenc_esn_geniv_ahash_update_done()
124 err = crypto_ahash_finup(ahreq); in authenc_esn_geniv_ahash_update_done()
128 scatterwalk_map_and_copy(ahreq->result, areq_ctx->sg, in authenc_esn_geniv_ahash_update_done()
143 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in authenc_esn_geniv_ahash_update_done2() local
148 ahash_request_set_crypt(ahreq, areq_ctx->tsg, ahreq->result, in authenc_esn_geniv_ahash_update_done2()
[all …]
Dauthenc.c129 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in authenc_geniv_ahash_update_done() local
134 ahash_request_set_crypt(ahreq, areq_ctx->sg, ahreq->result, in authenc_geniv_ahash_update_done()
136 ahash_request_set_callback(ahreq, aead_request_flags(req) & in authenc_geniv_ahash_update_done()
140 err = crypto_ahash_finup(ahreq); in authenc_geniv_ahash_update_done()
144 scatterwalk_map_and_copy(ahreq->result, areq_ctx->sg, in authenc_geniv_ahash_update_done()
158 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in authenc_geniv_ahash_done() local
163 scatterwalk_map_and_copy(ahreq->result, areq_ctx->sg, in authenc_geniv_ahash_done()
181 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in authenc_verify_ahash_update_done() local
187 ahash_request_set_crypt(ahreq, areq_ctx->sg, ahreq->result, in authenc_verify_ahash_update_done()
189 ahash_request_set_callback(ahreq, aead_request_flags(req) & in authenc_verify_ahash_update_done()
[all …]
Dgcm.c73 struct ahash_request ahreq; member
233 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash_update() local
235 ahash_request_set_callback(ahreq, aead_request_flags(req), in gcm_hash_update()
237 ahash_request_set_crypt(ahreq, src, NULL, len); in gcm_hash_update()
239 return crypto_ahash_update(ahreq); in gcm_hash_update()
247 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash_remain() local
249 ahash_request_set_callback(ahreq, aead_request_flags(req), in gcm_hash_remain()
252 ahash_request_set_crypt(ahreq, pctx->src, NULL, remain); in gcm_hash_remain()
254 return crypto_ahash_update(ahreq); in gcm_hash_remain()
260 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash_len() local
[all …]