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 ahash_request_set_callback(&rctx->fallback_req, in img_hash_init()
498 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
558 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
559 ahash_request_set_callback(&rctx->fallback_req, in img_hash_update()
562 ahash_request_set_crypt(&rctx->fallback_req, req->src, NULL, req->nbytes); in img_hash_update()
564 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update()
573 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
574 ahash_request_set_callback(&rctx->fallback_req, in img_hash_final()
577 ahash_request_set_crypt(&rctx->fallback_req, NULL, req->result, 0); in img_hash_final()
579 return crypto_ahash_final(&rctx->fallback_req); in img_hash_final()
588 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup()
589 ahash_request_set_callback(&rctx->fallback_req, in img_hash_finup()
592 ahash_request_set_crypt(&rctx->fallback_req, req->src, req->result, in img_hash_finup()
596 return crypto_ahash_finup(&rctx->fallback_req); in img_hash_finup()
605 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_import()
606 ahash_request_set_callback(&rctx->fallback_req, in img_hash_import()
610 return crypto_ahash_import(&rctx->fallback_req, in); in img_hash_import()
619 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_export()
620 ahash_request_set_callback(&rctx->fallback_req, in img_hash_export()
624 return crypto_ahash_export(&rctx->fallback_req, out); in img_hash_export()