Lines Matching refs:ahreq
73 struct ahash_request ahreq; member
214 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash_update() local
216 ahash_request_set_callback(ahreq, flags, compl, req); in gcm_hash_update()
217 ahash_request_set_crypt(ahreq, src, NULL, len); in gcm_hash_update()
219 return crypto_ahash_update(ahreq); in gcm_hash_update()
232 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash_len() local
240 ahash_request_set_callback(ahreq, flags, gcm_hash_len_done, req); in gcm_hash_len()
241 ahash_request_set_crypt(ahreq, &pctx->sg, in gcm_hash_len()
244 return crypto_ahash_finup(ahreq); in gcm_hash_len()
407 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash() local
410 ahash_request_set_tfm(ahreq, ctx->ghash); in gcm_hash()
412 ahash_request_set_callback(ahreq, flags, gcm_hash_init_done, req); in gcm_hash()
413 return crypto_ahash_init(ahreq) ?: in gcm_hash()