Lines Matching refs:fallback_req

106 	struct ahash_request	fallback_req;  member
490 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
491 rctx->fallback_req.base.flags = req->base.flags in img_hash_init()
494 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
554 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
555 rctx->fallback_req.base.flags = req->base.flags in img_hash_update()
557 rctx->fallback_req.nbytes = req->nbytes; in img_hash_update()
558 rctx->fallback_req.src = req->src; in img_hash_update()
560 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update()
569 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
570 rctx->fallback_req.base.flags = req->base.flags in img_hash_final()
572 rctx->fallback_req.result = req->result; in img_hash_final()
574 return crypto_ahash_final(&rctx->fallback_req); in img_hash_final()
583 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup()
584 rctx->fallback_req.base.flags = req->base.flags in img_hash_finup()
586 rctx->fallback_req.nbytes = req->nbytes; in img_hash_finup()
587 rctx->fallback_req.src = req->src; in img_hash_finup()
588 rctx->fallback_req.result = req->result; in img_hash_finup()
590 return crypto_ahash_finup(&rctx->fallback_req); in img_hash_finup()
599 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_import()
600 rctx->fallback_req.base.flags = req->base.flags in img_hash_import()
603 return crypto_ahash_import(&rctx->fallback_req, in); in img_hash_import()
612 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_export()
613 rctx->fallback_req.base.flags = req->base.flags in img_hash_export()
616 return crypto_ahash_export(&rctx->fallback_req, out); in img_hash_export()