Lines Matching defs:rctx

74 	struct sun8i_ce_hash_reqctx *rctx = ahash_request_ctx(areq);
78 memset(rctx, 0, sizeof(struct sun8i_ce_hash_reqctx));
80 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm);
81 rctx->fallback_req.base.flags = areq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP;
83 return crypto_ahash_init(&rctx->fallback_req);
88 struct sun8i_ce_hash_reqctx *rctx = ahash_request_ctx(areq);
92 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm);
93 rctx->fallback_req.base.flags = areq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP;
95 return crypto_ahash_export(&rctx->fallback_req, out);
100 struct sun8i_ce_hash_reqctx *rctx = ahash_request_ctx(areq);
104 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm);
105 rctx->fallback_req.base.flags = areq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP;
107 return crypto_ahash_import(&rctx->fallback_req, in);
112 struct sun8i_ce_hash_reqctx *rctx = ahash_request_ctx(areq);
116 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm);
117 rctx->fallback_req.base.flags = areq->base.flags &
119 rctx->fallback_req.result = areq->result;
132 return crypto_ahash_final(&rctx->fallback_req);
137 struct sun8i_ce_hash_reqctx *rctx = ahash_request_ctx(areq);
141 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm);
142 rctx->fallback_req.base.flags = areq->base.flags &
144 rctx->fallback_req.nbytes = areq->nbytes;
145 rctx->fallback_req.src = areq->src;
147 return crypto_ahash_update(&rctx->fallback_req);
152 struct sun8i_ce_hash_reqctx *rctx = ahash_request_ctx(areq);
156 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm);
157 rctx->fallback_req.base.flags = areq->base.flags &
160 rctx->fallback_req.nbytes = areq->nbytes;
161 rctx->fallback_req.src = areq->src;
162 rctx->fallback_req.result = areq->result;
175 return crypto_ahash_finup(&rctx->fallback_req);
180 struct sun8i_ce_hash_reqctx *rctx = ahash_request_ctx(areq);
184 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm);
185 rctx->fallback_req.base.flags = areq->base.flags &
188 rctx->fallback_req.nbytes = areq->nbytes;
189 rctx->fallback_req.src = areq->src;
190 rctx->fallback_req.result = areq->result;
203 return crypto_ahash_digest(&rctx->fallback_req);
243 struct sun8i_ce_hash_reqctx *rctx = ahash_request_ctx(areq);
266 rctx->flow = e;
335 struct sun8i_ce_hash_reqctx *rctx = ahash_request_ctx(areq);
378 flow = rctx->flow;