Home
last modified time | relevance | path

Searched refs:reqctx (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.c129 static inline void chcr_init_hctx_per_wr(struct chcr_ahash_req_ctx *reqctx) in chcr_init_hctx_per_wr() argument
131 memset(&reqctx->hctx_wr, 0, sizeof(struct chcr_hctx_per_wr)); in chcr_init_hctx_per_wr()
213 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); in chcr_handle_aead_resp() local
218 if (reqctx->verify == VERIFY_SW) { in chcr_handle_aead_resp()
220 reqctx->verify = VERIFY_HW; in chcr_handle_aead_resp()
694 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); in chcr_cipher_fallback() local
697 skcipher_request_set_tfm(&reqctx->fallback_req, cipher); in chcr_cipher_fallback()
698 skcipher_request_set_callback(&reqctx->fallback_req, req->base.flags, in chcr_cipher_fallback()
700 skcipher_request_set_crypt(&reqctx->fallback_req, req->src, req->dst, in chcr_cipher_fallback()
703 err = op_type ? crypto_skcipher_decrypt(&reqctx->fallback_req) : in chcr_cipher_fallback()
[all …]
/linux-6.1.9/drivers/crypto/
Ds5p-sss.c481 struct s5p_aes_reqctx *reqctx = skcipher_request_ctx(req); in s5p_sg_done() local
492 if (reqctx->mode & FLAGS_AES_CBC) in s5p_sg_done()
495 else if (reqctx->mode & FLAGS_AES_CTR) in s5p_sg_done()
1979 struct s5p_aes_reqctx *reqctx; in s5p_tasklet_cb() local
1998 reqctx = skcipher_request_ctx(dev->req); in s5p_tasklet_cb()
2000 s5p_aes_crypt_start(dev, reqctx->mode); in s5p_tasklet_cb()
2027 struct s5p_aes_reqctx *reqctx = skcipher_request_ctx(req); in s5p_aes_crypt() local
2040 reqctx->mode = mode; in s5p_aes_crypt()