Lines Matching defs:rctx
62 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq);
71 skcipher_request_set_tfm(&rctx->fallback_req, op->fallback_tfm);
72 skcipher_request_set_callback(&rctx->fallback_req, areq->base.flags,
74 skcipher_request_set_crypt(&rctx->fallback_req, areq->src, areq->dst,
77 if (rctx->op_dir == MESON_DECRYPT)
78 err = crypto_skcipher_decrypt(&rctx->fallback_req);
80 err = crypto_skcipher_encrypt(&rctx->fallback_req);
88 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq);
92 int flow = rctx->flow;
109 rctx->op_dir, crypto_skcipher_ivsize(tfm),
138 if (rctx->op_dir == MESON_DECRYPT) {
214 if (rctx->op_dir)
246 if (rctx->op_dir == MESON_DECRYPT) {
279 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq);
283 rctx->op_dir = MESON_DECRYPT;
288 rctx->flow = e;
297 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq);
301 rctx->op_dir = MESON_ENCRYPT;
306 rctx->flow = e;