Lines Matching refs:fallback_req
106 struct ahash_request fallback_req; member
487 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
488 rctx->fallback_req.base.flags = req->base.flags in img_hash_init()
491 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
551 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
552 rctx->fallback_req.base.flags = req->base.flags in img_hash_update()
554 rctx->fallback_req.nbytes = req->nbytes; in img_hash_update()
555 rctx->fallback_req.src = req->src; in img_hash_update()
557 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update()
566 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
567 rctx->fallback_req.base.flags = req->base.flags in img_hash_final()
569 rctx->fallback_req.result = req->result; in img_hash_final()
571 return crypto_ahash_final(&rctx->fallback_req); in img_hash_final()
580 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup()
581 rctx->fallback_req.base.flags = req->base.flags in img_hash_finup()
583 rctx->fallback_req.nbytes = req->nbytes; in img_hash_finup()
584 rctx->fallback_req.src = req->src; in img_hash_finup()
585 rctx->fallback_req.result = req->result; in img_hash_finup()
587 return crypto_ahash_finup(&rctx->fallback_req); in img_hash_finup()