Lines Matching refs:rctx
201 struct dcp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in mxs_dcp_run_aes() local
220 if (rctx->enc) in mxs_dcp_run_aes()
227 if (rctx->ecb) in mxs_dcp_run_aes()
255 struct dcp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in mxs_dcp_aes_block_crypt() local
280 if (!rctx->ecb) { in mxs_dcp_aes_block_crypt()
400 struct dcp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in mxs_dcp_aes_enqueue() local
406 rctx->enc = enc; in mxs_dcp_aes_enqueue()
407 rctx->ecb = ecb; in mxs_dcp_aes_enqueue()
516 struct dcp_sha_req_ctx *rctx = ahash_request_ctx(req); in mxs_dcp_run_sha() local
529 if (rctx->init) in mxs_dcp_run_sha()
541 if (rctx->fini) { in mxs_dcp_run_sha()
550 if (rctx->fini) in mxs_dcp_run_sha()
566 struct dcp_sha_req_ctx *rctx = ahash_request_ctx(req); in dcp_sha_req_to_buf() local
579 int fin = rctx->fini; in dcp_sha_req_to_buf()
581 rctx->fini = 0; in dcp_sha_req_to_buf()
607 rctx->init = 0; in dcp_sha_req_to_buf()
613 rctx->fini = 1; in dcp_sha_req_to_buf()
643 struct dcp_sha_req_ctx *rctx; in dcp_chan_thread_sha() local
661 rctx = ahash_request_ctx(req); in dcp_chan_thread_sha()
664 fini = rctx->fini; in dcp_chan_thread_sha()
707 struct dcp_sha_req_ctx *rctx = ahash_request_ctx(req); in dcp_sha_update_fx() local
722 rctx->fini = fini; in dcp_sha_update_fx()
726 rctx->init = 1; in dcp_sha_update_fx()