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) {
278 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq);
282 rctx->op_dir = MESON_DECRYPT;
287 rctx->flow = e;
296 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq);
300 rctx->op_dir = MESON_ENCRYPT;
305 rctx->flow = e;