Lines Matching refs:fallback_req

105 	struct ahash_request	fallback_req;  member
489 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
490 rctx->fallback_req.base.flags = req->base.flags in img_hash_init()
493 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
553 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
554 rctx->fallback_req.base.flags = req->base.flags in img_hash_update()
556 rctx->fallback_req.nbytes = req->nbytes; in img_hash_update()
557 rctx->fallback_req.src = req->src; in img_hash_update()
559 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update()
568 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
569 rctx->fallback_req.base.flags = req->base.flags in img_hash_final()
571 rctx->fallback_req.result = req->result; in img_hash_final()
573 return crypto_ahash_final(&rctx->fallback_req); in img_hash_final()
582 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup()
583 rctx->fallback_req.base.flags = req->base.flags in img_hash_finup()
585 rctx->fallback_req.nbytes = req->nbytes; in img_hash_finup()
586 rctx->fallback_req.src = req->src; in img_hash_finup()
587 rctx->fallback_req.result = req->result; in img_hash_finup()
589 return crypto_ahash_finup(&rctx->fallback_req); in img_hash_finup()
598 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_import()
599 rctx->fallback_req.base.flags = req->base.flags in img_hash_import()
602 return crypto_ahash_import(&rctx->fallback_req, in); in img_hash_import()
611 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_export()
612 rctx->fallback_req.base.flags = req->base.flags in img_hash_export()
615 return crypto_ahash_export(&rctx->fallback_req, out); in img_hash_export()