Lines Matching defs:rctx
226 struct dcp_aes_req_ctx *rctx = skcipher_request_ctx(req);
261 if (rctx->enc)
268 if (rctx->ecb)
299 struct dcp_aes_req_ctx *rctx = skcipher_request_ctx(req);
325 if (!rctx->ecb) {
378 if (!rctx->ecb) {
379 if (rctx->enc)
430 struct dcp_aes_req_ctx *rctx = skcipher_request_ctx(req);
434 skcipher_request_set_tfm(&rctx->fallback_req, ctx->fallback);
435 skcipher_request_set_callback(&rctx->fallback_req, req->base.flags,
437 skcipher_request_set_crypt(&rctx->fallback_req, req->src, req->dst,
441 ret = crypto_skcipher_encrypt(&rctx->fallback_req);
443 ret = crypto_skcipher_decrypt(&rctx->fallback_req);
453 struct dcp_aes_req_ctx *rctx = skcipher_request_ctx(req);
459 rctx->enc = enc;
460 rctx->ecb = ecb;
552 struct dcp_sha_req_ctx *rctx = ahash_request_ctx(req);
567 if (rctx->init)
581 if (rctx->init && rctx->fini && desc->size == 0) {
592 if (rctx->fini) {
605 if (rctx->fini)
622 struct dcp_sha_req_ctx *rctx = ahash_request_ctx(req);
633 int fin = rctx->fini;
635 rctx->fini = 0;
662 rctx->init = 0;
667 rctx->fini = 1;
754 struct dcp_sha_req_ctx *rctx = ahash_request_ctx(req);
769 rctx->fini = fini;
773 rctx->init = 1;
816 struct dcp_sha_req_ctx *rctx = ahash_request_ctx(req);
821 memset(rctx, 0, sizeof(struct dcp_sha_req_ctx));
823 memcpy(rctx, &export->req_ctx, sizeof(struct dcp_sha_req_ctx));