Searched refs:reqctx (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 133 static inline void chcr_init_hctx_per_wr(struct chcr_ahash_req_ctx *reqctx) in chcr_init_hctx_per_wr() argument 135 memset(&reqctx->hctx_wr, 0, sizeof(struct chcr_hctx_per_wr)); in chcr_init_hctx_per_wr() 217 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); in chcr_handle_aead_resp() local 222 if (reqctx->verify == VERIFY_SW) { in chcr_handle_aead_resp() 224 reqctx->verify = VERIFY_HW; in chcr_handle_aead_resp() 698 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); in chcr_cipher_fallback() local 701 skcipher_request_set_tfm(&reqctx->fallback_req, cipher); in chcr_cipher_fallback() 702 skcipher_request_set_callback(&reqctx->fallback_req, req->base.flags, in chcr_cipher_fallback() 704 skcipher_request_set_crypt(&reqctx->fallback_req, req->src, req->dst, in chcr_cipher_fallback() 707 err = op_type ? crypto_skcipher_decrypt(&reqctx in chcr_cipher_fallback() 725 struct chcr_aead_reqctx *reqctx = aead_request_ctx(aead_req); get_qidxs() local 734 struct chcr_skcipher_req_ctx *reqctx = get_qidxs() local 744 struct chcr_ahash_req_ctx *reqctx = get_qidxs() local 815 struct chcr_skcipher_req_ctx *reqctx = create_cipher_wr() local 1066 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_update_tweak() local 1106 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_update_cipher_iv() local 1140 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_final_cipher_iv() local 1166 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_handle_cipher_resp() local 1254 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); process_cipher() local 1372 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_aes_encrypt() local 1417 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_aes_decrypt() local 2025 struct chcr_ahash_req_ctx *reqctx = ahash_request_ctx(req); chcr_ahash_continue() local 2092 struct chcr_ahash_req_ctx *reqctx = ahash_request_ctx(req); chcr_handle_ahash_resp() local 2371 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); chcr_aead_common_exit() local 2382 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); chcr_aead_common_init() local 2447 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); create_authenc_wr() local 2585 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); chcr_aead_dma_map() local 2646 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); chcr_aead_dma_unmap() local 2687 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); chcr_add_aead_src_ent() local 2713 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); chcr_add_aead_dst_ent() local 2736 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_add_cipher_src_ent() local 2759 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_add_cipher_dst_ent() local 2780 struct chcr_ahash_req_ctx *reqctx = ahash_request_ctx(req); chcr_add_hash_src_ent() local 2903 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); generate_b0() local 2941 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); ccm_format_packet() local 2972 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); fill_sec_cpl_for_aead() local 3045 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); create_aead_ccm_wr() local 3144 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); create_gcm_wr() local 3744 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); chcr_aead_op() local 3794 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); chcr_aead_encrypt() local 3825 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); chcr_aead_decrypt() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 129 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_dma(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 in chcr_cipher_fallback() 721 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(aead_req); get_qidxs() local 730 struct chcr_skcipher_req_ctx *reqctx = get_qidxs() local 740 struct chcr_ahash_req_ctx *reqctx = get_qidxs() local 808 struct chcr_skcipher_req_ctx *reqctx = create_cipher_wr() local 1059 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_update_tweak() local 1099 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_update_cipher_iv() local 1133 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_final_cipher_iv() local 1159 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_handle_cipher_resp() local 1247 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); process_cipher() local 1365 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_aes_encrypt() local 1410 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_aes_decrypt() local 2019 struct chcr_ahash_req_ctx *reqctx = ahash_request_ctx(req); chcr_ahash_continue() local 2086 struct chcr_ahash_req_ctx *reqctx = ahash_request_ctx(req); chcr_handle_ahash_resp() local 2366 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); chcr_aead_common_exit() local 2377 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); chcr_aead_common_init() local 2442 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); create_authenc_wr() local 2580 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); chcr_aead_dma_map() local 2641 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); chcr_aead_dma_unmap() local 2682 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); chcr_add_aead_src_ent() local 2708 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); chcr_add_aead_dst_ent() local 2731 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_add_cipher_src_ent() local 2754 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); chcr_add_cipher_dst_ent() local 2775 struct chcr_ahash_req_ctx *reqctx = ahash_request_ctx(req); chcr_add_hash_src_ent() local 2898 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); generate_b0() local 2936 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); ccm_format_packet() local 2967 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); fill_sec_cpl_for_aead() local 3040 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); create_aead_ccm_wr() local 3139 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); create_gcm_wr() local 3740 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); chcr_aead_op() local 3790 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); chcr_aead_encrypt() local 3821 struct chcr_aead_reqctx *reqctx = aead_request_ctx_dma(req); chcr_aead_decrypt() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | s5p-sss.c | 483 struct s5p_aes_reqctx *reqctx = skcipher_request_ctx(req); in s5p_sg_done() local 494 if (reqctx->mode & FLAGS_AES_CBC) in s5p_sg_done() 497 else if (reqctx->mode & FLAGS_AES_CTR) in s5p_sg_done() 1981 struct s5p_aes_reqctx *reqctx; in s5p_tasklet_cb() local 2000 reqctx = skcipher_request_ctx(dev->req); in s5p_tasklet_cb() 2002 s5p_aes_crypt_start(dev, reqctx->mode); in s5p_tasklet_cb() 2029 struct s5p_aes_reqctx *reqctx = skcipher_request_ctx(req); in s5p_aes_crypt() local 2042 reqctx->mode = mode; in s5p_aes_crypt()
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | s5p-sss.c | 480 struct s5p_aes_reqctx *reqctx = skcipher_request_ctx(req); in s5p_sg_done() local 491 if (reqctx->mode & FLAGS_AES_CBC) in s5p_sg_done() 494 else if (reqctx->mode & FLAGS_AES_CTR) in s5p_sg_done() 1978 struct s5p_aes_reqctx *reqctx; in s5p_tasklet_cb() local 1997 reqctx = skcipher_request_ctx(dev->req); in s5p_tasklet_cb() 1999 s5p_aes_crypt_start(dev, reqctx->mode); in s5p_tasklet_cb() 2026 struct s5p_aes_reqctx *reqctx = skcipher_request_ctx(req); in s5p_aes_crypt() local 2039 reqctx->mode = mode; in s5p_aes_crypt()
|
Completed in 13 milliseconds