Lines Matching refs:fallback_req

105 	struct ahash_request	fallback_req;  member
493 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
494 rctx->fallback_req.base.flags = req->base.flags in img_hash_init()
497 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
557 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
558 rctx->fallback_req.base.flags = req->base.flags in img_hash_update()
560 rctx->fallback_req.nbytes = req->nbytes; in img_hash_update()
561 rctx->fallback_req.src = req->src; in img_hash_update()
563 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update()
572 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
573 rctx->fallback_req.base.flags = req->base.flags in img_hash_final()
575 rctx->fallback_req.result = req->result; in img_hash_final()
577 return crypto_ahash_final(&rctx->fallback_req); in img_hash_final()
586 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup()
587 rctx->fallback_req.base.flags = req->base.flags in img_hash_finup()
589 rctx->fallback_req.nbytes = req->nbytes; in img_hash_finup()
590 rctx->fallback_req.src = req->src; in img_hash_finup()
591 rctx->fallback_req.result = req->result; in img_hash_finup()
593 return crypto_ahash_finup(&rctx->fallback_req); in img_hash_finup()
602 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_import()
603 rctx->fallback_req.base.flags = req->base.flags in img_hash_import()
606 return crypto_ahash_import(&rctx->fallback_req, in); in img_hash_import()
615 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_export()
616 rctx->fallback_req.base.flags = req->base.flags in img_hash_export()
619 return crypto_ahash_export(&rctx->fallback_req, out); in img_hash_export()