Lines Matching defs:rctx

490 	struct img_hash_request_ctx *rctx = ahash_request_ctx(req);
493 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback);
494 rctx->fallback_req.base.flags = req->base.flags
497 return crypto_ahash_init(&rctx->fallback_req);
553 struct img_hash_request_ctx *rctx = ahash_request_ctx(req);
557 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback);
558 rctx->fallback_req.base.flags = req->base.flags
560 rctx->fallback_req.nbytes = req->nbytes;
561 rctx->fallback_req.src = req->src;
563 return crypto_ahash_update(&rctx->fallback_req);
568 struct img_hash_request_ctx *rctx = ahash_request_ctx(req);
572 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback);
573 rctx->fallback_req.base.flags = req->base.flags
575 rctx->fallback_req.result = req->result;
577 return crypto_ahash_final(&rctx->fallback_req);
582 struct img_hash_request_ctx *rctx = ahash_request_ctx(req);
586 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback);
587 rctx->fallback_req.base.flags = req->base.flags
589 rctx->fallback_req.nbytes = req->nbytes;
590 rctx->fallback_req.src = req->src;
591 rctx->fallback_req.result = req->result;
593 return crypto_ahash_finup(&rctx->fallback_req);
598 struct img_hash_request_ctx *rctx = ahash_request_ctx(req);
602 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback);
603 rctx->fallback_req.base.flags = req->base.flags
606 return crypto_ahash_import(&rctx->fallback_req, in);
611 struct img_hash_request_ctx *rctx = ahash_request_ctx(req);
615 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback);
616 rctx->fallback_req.base.flags = req->base.flags
619 return crypto_ahash_export(&rctx->fallback_req, out);