Lines Matching refs:fallback_req
104 struct ahash_request fallback_req; member
488 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
489 rctx->fallback_req.base.flags = req->base.flags in img_hash_init()
492 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
552 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
553 rctx->fallback_req.base.flags = req->base.flags in img_hash_update()
555 rctx->fallback_req.nbytes = req->nbytes; in img_hash_update()
556 rctx->fallback_req.src = req->src; in img_hash_update()
558 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update()
567 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
568 rctx->fallback_req.base.flags = req->base.flags in img_hash_final()
570 rctx->fallback_req.result = req->result; in img_hash_final()
572 return crypto_ahash_final(&rctx->fallback_req); in img_hash_final()
581 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup()
582 rctx->fallback_req.base.flags = req->base.flags in img_hash_finup()
584 rctx->fallback_req.nbytes = req->nbytes; in img_hash_finup()
585 rctx->fallback_req.src = req->src; in img_hash_finup()
586 rctx->fallback_req.result = req->result; in img_hash_finup()
588 return crypto_ahash_finup(&rctx->fallback_req); in img_hash_finup()
597 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_import()
598 rctx->fallback_req.base.flags = req->base.flags in img_hash_import()
601 return crypto_ahash_import(&rctx->fallback_req, in); in img_hash_import()
610 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_export()
611 rctx->fallback_req.base.flags = req->base.flags in img_hash_export()
614 return crypto_ahash_export(&rctx->fallback_req, out); in img_hash_export()