Lines Matching refs:fallback_req

305 	struct ahash_request		fallback_req;  member
314 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_init()
315 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_init()
317 return crypto_ahash_init(&rctx->fallback_req); in n2_hash_async_init()
326 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_update()
327 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_update()
328 rctx->fallback_req.nbytes = req->nbytes; in n2_hash_async_update()
329 rctx->fallback_req.src = req->src; in n2_hash_async_update()
331 return crypto_ahash_update(&rctx->fallback_req); in n2_hash_async_update()
340 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_final()
341 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_final()
342 rctx->fallback_req.result = req->result; in n2_hash_async_final()
344 return crypto_ahash_final(&rctx->fallback_req); in n2_hash_async_final()
353 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_finup()
354 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_finup()
355 rctx->fallback_req.nbytes = req->nbytes; in n2_hash_async_finup()
356 rctx->fallback_req.src = req->src; in n2_hash_async_finup()
357 rctx->fallback_req.result = req->result; in n2_hash_async_finup()
359 return crypto_ahash_finup(&rctx->fallback_req); in n2_hash_async_finup()
541 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_do_async_digest()
542 rctx->fallback_req.base.flags = in n2_do_async_digest()
544 rctx->fallback_req.nbytes = req->nbytes; in n2_do_async_digest()
545 rctx->fallback_req.src = req->src; in n2_do_async_digest()
546 rctx->fallback_req.result = req->result; in n2_do_async_digest()
548 return crypto_ahash_digest(&rctx->fallback_req); in n2_do_async_digest()
642 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hmac_async_digest()
643 rctx->fallback_req.base.flags = in n2_hmac_async_digest()
645 rctx->fallback_req.nbytes = req->nbytes; in n2_hmac_async_digest()
646 rctx->fallback_req.src = req->src; in n2_hmac_async_digest()
647 rctx->fallback_req.result = req->result; in n2_hmac_async_digest()
649 return crypto_ahash_digest(&rctx->fallback_req); in n2_hmac_async_digest()