Home
last modified time | relevance | path

Searched refs:skcipher_request (Results 1 - 25 of 307) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/include/crypto/
H A Dskcipher.h16 * struct skcipher_request - Symmetric key cipher request
24 struct skcipher_request { struct
107 int (*encrypt)(struct skcipher_request *req);
108 int (*decrypt)(struct skcipher_request *req);
127 char __##name##_desc[sizeof(struct skcipher_request) + \
132 struct skcipher_request *name = (void *)__##name##_desc
150 * information is given by filling in the skcipher_request data structure.
387 * @req: skcipher_request out of which the cipher handle is to be obtained
389 * Return the crypto_skcipher handle when furnishing an skcipher_request
395 struct skcipher_request *re in crypto_skcipher_reqtfm()
[all...]
/kernel/linux/linux-6.6/include/crypto/
H A Dskcipher.h21 * struct skcipher_request - Symmetric key cipher request
29 struct skcipher_request { struct
129 int (*encrypt)(struct skcipher_request *req);
130 int (*decrypt)(struct skcipher_request *req);
153 char __##name##_desc[sizeof(struct skcipher_request) + \
158 struct skcipher_request *name = (void *)__##name##_desc
176 * information is given by filling in the skcipher_request data structure.
413 * @req: skcipher_request out of which the cipher handle is to be obtained
415 * Return the crypto_skcipher handle when furnishing an skcipher_request
421 struct skcipher_request *re in crypto_skcipher_reqtfm()
[all...]
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dsm4-avx.h10 int sm4_avx_ecb_encrypt(struct skcipher_request *req);
11 int sm4_avx_ecb_decrypt(struct skcipher_request *req);
13 int sm4_cbc_encrypt(struct skcipher_request *req);
14 int sm4_avx_cbc_decrypt(struct skcipher_request *req,
17 int sm4_cfb_encrypt(struct skcipher_request *req);
18 int sm4_avx_cfb_decrypt(struct skcipher_request *req,
21 int sm4_avx_ctr_crypt(struct skcipher_request *req,
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss.h180 struct skcipher_request fallback_req; // keep at the end
204 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq);
205 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq);
206 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq);
207 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq);
209 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq);
210 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq);
211 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *areq);
212 int sun4i_ss_ecb_des_decrypt(struct skcipher_request *areq);
214 int sun4i_ss_cbc_des3_encrypt(struct skcipher_request *are
[all...]
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss.h187 struct skcipher_request fallback_req; // keep at the end
211 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq);
212 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq);
213 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq);
214 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq);
216 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq);
217 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq);
218 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *areq);
219 int sun4i_ss_ecb_des_decrypt(struct skcipher_request *areq);
221 int sun4i_ss_cbc_des3_encrypt(struct skcipher_request *are
[all...]
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/
H A Dcipher.c42 struct skcipher_request *req) in mv_cesa_skcipher_req_iter_init()
59 mv_cesa_skcipher_dma_cleanup(struct skcipher_request *req) in mv_cesa_skcipher_dma_cleanup()
75 static inline void mv_cesa_skcipher_cleanup(struct skcipher_request *req) in mv_cesa_skcipher_cleanup()
83 static void mv_cesa_skcipher_std_step(struct skcipher_request *req) in mv_cesa_skcipher_std_step()
116 static int mv_cesa_skcipher_std_process(struct skcipher_request *req, in mv_cesa_skcipher_std_process()
138 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_process()
150 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_step()
160 mv_cesa_skcipher_dma_prepare(struct skcipher_request *req) in mv_cesa_skcipher_dma_prepare()
169 mv_cesa_skcipher_std_prepare(struct skcipher_request *req) in mv_cesa_skcipher_std_prepare()
181 struct skcipher_request *skre in mv_cesa_skcipher_prepare()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/marvell/cesa/
H A Dcipher.c42 struct skcipher_request *req) in mv_cesa_skcipher_req_iter_init()
59 mv_cesa_skcipher_dma_cleanup(struct skcipher_request *req) in mv_cesa_skcipher_dma_cleanup()
75 static inline void mv_cesa_skcipher_cleanup(struct skcipher_request *req) in mv_cesa_skcipher_cleanup()
83 static void mv_cesa_skcipher_std_step(struct skcipher_request *req) in mv_cesa_skcipher_std_step()
123 static int mv_cesa_skcipher_std_process(struct skcipher_request *req, in mv_cesa_skcipher_std_process()
145 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_process()
157 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_step()
167 mv_cesa_skcipher_dma_prepare(struct skcipher_request *req) in mv_cesa_skcipher_dma_prepare()
176 mv_cesa_skcipher_std_prepare(struct skcipher_request *req) in mv_cesa_skcipher_std_prepare()
188 struct skcipher_request *skre in mv_cesa_skcipher_prepare()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/aspeed/
H A Daspeed-hace-crypto.c27 static int aspeed_crypto_do_fallback(struct skcipher_request *areq) in aspeed_crypto_do_fallback()
48 static bool aspeed_crypto_need_fallback(struct skcipher_request *areq) in aspeed_crypto_need_fallback()
67 struct skcipher_request *req) in aspeed_hace_crypto_handle_queue()
81 struct skcipher_request *req = skcipher_request_cast(areq); in aspeed_crypto_do_request()
104 struct skcipher_request *req; in aspeed_sk_complete()
133 struct skcipher_request *req; in aspeed_sk_transfer_sg()
154 struct skcipher_request *req; in aspeed_sk_transfer()
184 struct skcipher_request *req; in aspeed_sk_start()
225 struct skcipher_request *req; in aspeed_sk_start_sg()
368 struct skcipher_request *re in aspeed_hace_skcipher_trigger()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/amcc/
H A Dcrypto4xx_core.h175 int crypto4xx_encrypt_ctr(struct skcipher_request *req);
176 int crypto4xx_decrypt_ctr(struct skcipher_request *req);
177 int crypto4xx_encrypt_iv_stream(struct skcipher_request *req);
178 int crypto4xx_decrypt_iv_stream(struct skcipher_request *req);
179 int crypto4xx_encrypt_iv_block(struct skcipher_request *req);
180 int crypto4xx_decrypt_iv_block(struct skcipher_request *req);
181 int crypto4xx_encrypt_noiv_block(struct skcipher_request *req);
182 int crypto4xx_decrypt_noiv_block(struct skcipher_request *req);
183 int crypto4xx_rfc3686_encrypt(struct skcipher_request *req);
184 int crypto4xx_rfc3686_decrypt(struct skcipher_request *re
[all...]
/kernel/linux/linux-6.6/drivers/crypto/amcc/
H A Dcrypto4xx_core.h175 int crypto4xx_encrypt_ctr(struct skcipher_request *req);
176 int crypto4xx_decrypt_ctr(struct skcipher_request *req);
177 int crypto4xx_encrypt_iv_stream(struct skcipher_request *req);
178 int crypto4xx_decrypt_iv_stream(struct skcipher_request *req);
179 int crypto4xx_encrypt_iv_block(struct skcipher_request *req);
180 int crypto4xx_decrypt_iv_block(struct skcipher_request *req);
181 int crypto4xx_encrypt_noiv_block(struct skcipher_request *req);
182 int crypto4xx_decrypt_noiv_block(struct skcipher_request *req);
183 int crypto4xx_rfc3686_encrypt(struct skcipher_request *req);
184 int crypto4xx_rfc3686_decrypt(struct skcipher_request *re
[all...]
/kernel/linux/linux-5.10/crypto/
H A Dxts.c37 struct skcipher_request subreq;
81 static int xts_xor_tweak(struct skcipher_request *req, bool second_pass, in xts_xor_tweak()
132 static int xts_xor_tweak_pre(struct skcipher_request *req, bool enc) in xts_xor_tweak_pre()
137 static int xts_xor_tweak_post(struct skcipher_request *req, bool enc) in xts_xor_tweak_post()
144 struct skcipher_request *req = areq->data; in xts_cts_done()
158 static int xts_cts_final(struct skcipher_request *req, in xts_cts_final()
159 int (*crypt)(struct skcipher_request *req)) in xts_cts_final()
165 struct skcipher_request *subreq = &rctx->subreq; in xts_cts_final()
200 struct skcipher_request *req = areq->data; in xts_encrypt_done()
220 struct skcipher_request *re in xts_decrypt_done()
[all...]
H A Dlrw.c54 struct skcipher_request subreq;
140 static int lrw_xor_tweak(struct skcipher_request *req, bool second_pass) in lrw_xor_tweak()
198 static int lrw_xor_tweak_pre(struct skcipher_request *req) in lrw_xor_tweak_pre()
203 static int lrw_xor_tweak_post(struct skcipher_request *req) in lrw_xor_tweak_post()
210 struct skcipher_request *req = areq->data; in lrw_crypt_done()
222 static void lrw_init_crypt(struct skcipher_request *req) in lrw_init_crypt()
227 struct skcipher_request *subreq = &rctx->subreq; in lrw_init_crypt()
243 static int lrw_encrypt(struct skcipher_request *req) in lrw_encrypt()
246 struct skcipher_request *subreq = &rctx->subreq; in lrw_encrypt()
254 static int lrw_decrypt(struct skcipher_request *re
[all...]
H A Dcts.c62 struct skcipher_request subreq;
65 static inline u8 *crypto_cts_reqctx_space(struct skcipher_request *req) in crypto_cts_reqctx_space()
90 struct skcipher_request *req = areq->data; in cts_cbc_crypt_done()
98 static int cts_cbc_encrypt(struct skcipher_request *req) in cts_cbc_encrypt()
102 struct skcipher_request *subreq = &rctx->subreq; in cts_cbc_encrypt()
130 struct skcipher_request *req = areq->data; in crypto_cts_encrypt_done()
143 static int crypto_cts_encrypt(struct skcipher_request *req) in crypto_cts_encrypt()
148 struct skcipher_request *subreq = &rctx->subreq; in crypto_cts_encrypt()
179 static int cts_cbc_decrypt(struct skcipher_request *req) in cts_cbc_decrypt()
183 struct skcipher_request *subre in cts_cbc_decrypt()
[all...]
/kernel/linux/linux-6.6/crypto/
H A Dxts.c38 struct skcipher_request subreq;
82 static int xts_xor_tweak(struct skcipher_request *req, bool second_pass, in xts_xor_tweak()
133 static int xts_xor_tweak_pre(struct skcipher_request *req, bool enc) in xts_xor_tweak_pre()
138 static int xts_xor_tweak_post(struct skcipher_request *req, bool enc) in xts_xor_tweak_post()
145 struct skcipher_request *req = data; in xts_cts_done()
159 static int xts_cts_final(struct skcipher_request *req, in xts_cts_final()
160 int (*crypt)(struct skcipher_request *req)) in xts_cts_final()
166 struct skcipher_request *subreq = &rctx->subreq; in xts_cts_final()
201 struct skcipher_request *req = data; in xts_encrypt_done()
221 struct skcipher_request *re in xts_decrypt_done()
[all...]
H A Dlrw.c54 struct skcipher_request subreq;
140 static int lrw_xor_tweak(struct skcipher_request *req, bool second_pass) in lrw_xor_tweak()
198 static int lrw_xor_tweak_pre(struct skcipher_request *req) in lrw_xor_tweak_pre()
203 static int lrw_xor_tweak_post(struct skcipher_request *req) in lrw_xor_tweak_post()
210 struct skcipher_request *req = data; in lrw_crypt_done()
222 static void lrw_init_crypt(struct skcipher_request *req) in lrw_init_crypt()
227 struct skcipher_request *subreq = &rctx->subreq; in lrw_init_crypt()
243 static int lrw_encrypt(struct skcipher_request *req) in lrw_encrypt()
246 struct skcipher_request *subreq = &rctx->subreq; in lrw_encrypt()
254 static int lrw_decrypt(struct skcipher_request *re
[all...]
H A Dcts.c62 struct skcipher_request subreq;
65 static inline u8 *crypto_cts_reqctx_space(struct skcipher_request *req) in crypto_cts_reqctx_space()
90 struct skcipher_request *req = data; in cts_cbc_crypt_done()
98 static int cts_cbc_encrypt(struct skcipher_request *req) in cts_cbc_encrypt()
102 struct skcipher_request *subreq = &rctx->subreq; in cts_cbc_encrypt()
130 struct skcipher_request *req = data; in crypto_cts_encrypt_done()
143 static int crypto_cts_encrypt(struct skcipher_request *req) in crypto_cts_encrypt()
148 struct skcipher_request *subreq = &rctx->subreq; in crypto_cts_encrypt()
179 static int cts_cbc_decrypt(struct skcipher_request *req) in cts_cbc_decrypt()
183 struct skcipher_request *subre in cts_cbc_decrypt()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/rockchip/
H A Drk3288_crypto_skcipher.c17 static int rk_cipher_need_fallback(struct skcipher_request *req) in rk_cipher_need_fallback()
55 static int rk_cipher_fallback(struct skcipher_request *areq) in rk_cipher_fallback()
75 struct skcipher_request *req) in rk_handle_req()
132 static int rk_aes_ecb_encrypt(struct skcipher_request *req) in rk_aes_ecb_encrypt()
143 static int rk_aes_ecb_decrypt(struct skcipher_request *req) in rk_aes_ecb_decrypt()
154 static int rk_aes_cbc_encrypt(struct skcipher_request *req) in rk_aes_cbc_encrypt()
165 static int rk_aes_cbc_decrypt(struct skcipher_request *req) in rk_aes_cbc_decrypt()
176 static int rk_des_ecb_encrypt(struct skcipher_request *req) in rk_des_ecb_encrypt()
187 static int rk_des_ecb_decrypt(struct skcipher_request *req) in rk_des_ecb_decrypt()
198 static int rk_des_cbc_encrypt(struct skcipher_request *re
[all...]
/kernel/linux/linux-6.6/drivers/crypto/rockchip/
H A Drk3288_crypto_skcipher.c23 static int rk_cipher_need_fallback(struct skcipher_request *req) in rk_cipher_need_fallback()
68 static int rk_cipher_fallback(struct skcipher_request *areq) in rk_cipher_fallback()
91 static int rk_cipher_handle_req(struct skcipher_request *req) in rk_cipher_handle_req()
155 static int rk_aes_ecb_encrypt(struct skcipher_request *req) in rk_aes_ecb_encrypt()
163 static int rk_aes_ecb_decrypt(struct skcipher_request *req) in rk_aes_ecb_decrypt()
171 static int rk_aes_cbc_encrypt(struct skcipher_request *req) in rk_aes_cbc_encrypt()
179 static int rk_aes_cbc_decrypt(struct skcipher_request *req) in rk_aes_cbc_decrypt()
187 static int rk_des_ecb_encrypt(struct skcipher_request *req) in rk_des_ecb_encrypt()
195 static int rk_des_ecb_decrypt(struct skcipher_request *req) in rk_des_ecb_decrypt()
203 static int rk_des_cbc_encrypt(struct skcipher_request *re
[all...]
/kernel/linux/linux-5.10/arch/s390/crypto/
H A Ddes_s390.c89 static int ecb_desall_crypt(struct skcipher_request *req, unsigned long fc) in ecb_desall_crypt()
108 static int cbc_desall_crypt(struct skcipher_request *req, unsigned long fc) in cbc_desall_crypt()
136 static int ecb_des_encrypt(struct skcipher_request *req) in ecb_des_encrypt()
141 static int ecb_des_decrypt(struct skcipher_request *req) in ecb_des_decrypt()
160 static int cbc_des_encrypt(struct skcipher_request *req) in cbc_des_encrypt()
165 static int cbc_des_decrypt(struct skcipher_request *req) in cbc_des_decrypt()
254 static int ecb_des3_encrypt(struct skcipher_request *req) in ecb_des3_encrypt()
259 static int ecb_des3_decrypt(struct skcipher_request *req) in ecb_des3_decrypt()
278 static int cbc_des3_encrypt(struct skcipher_request *req) in cbc_des3_encrypt()
283 static int cbc_des3_decrypt(struct skcipher_request *re
[all...]
/kernel/linux/linux-6.6/arch/s390/crypto/
H A Ddes_s390.c89 static int ecb_desall_crypt(struct skcipher_request *req, unsigned long fc) in ecb_desall_crypt()
108 static int cbc_desall_crypt(struct skcipher_request *req, unsigned long fc) in cbc_desall_crypt()
136 static int ecb_des_encrypt(struct skcipher_request *req) in ecb_des_encrypt()
141 static int ecb_des_decrypt(struct skcipher_request *req) in ecb_des_decrypt()
160 static int cbc_des_encrypt(struct skcipher_request *req) in cbc_des_encrypt()
165 static int cbc_des_decrypt(struct skcipher_request *req) in cbc_des_decrypt()
254 static int ecb_des3_encrypt(struct skcipher_request *req) in ecb_des3_encrypt()
259 static int ecb_des3_decrypt(struct skcipher_request *req) in ecb_des3_decrypt()
278 static int cbc_des3_encrypt(struct skcipher_request *req) in cbc_des3_encrypt()
283 static int cbc_des3_decrypt(struct skcipher_request *re
[all...]
/kernel/linux/linux-6.6/include/crypto/internal/
H A Dskcipher.h95 static inline void skcipher_request_complete(struct skcipher_request *req, int err) in skcipher_request_complete()
149 struct skcipher_request *req,
152 struct skcipher_request *req);
174 static inline void *skcipher_request_ctx(struct skcipher_request *req) in skcipher_request_ctx()
179 static inline void *skcipher_request_ctx_dma(struct skcipher_request *req) in skcipher_request_ctx_dma()
189 static inline u32 skcipher_request_flags(struct skcipher_request *req) in skcipher_request_flags()
/kernel/linux/linux-5.10/arch/x86/crypto/
H A Dserpent_avx2_glue.c135 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
140 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
145 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
150 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
155 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
160 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
170 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
/kernel/linux/linux-5.10/drivers/crypto/vmx/
H A Daes_cbc.c38 crypto_skcipher_set_reqsize(tfm, sizeof(struct skcipher_request) + in p8_aes_cbc_init()
71 static int p8_aes_cbc_crypt(struct skcipher_request *req, int enc) in p8_aes_cbc_crypt()
80 struct skcipher_request *subreq = skcipher_request_ctx(req); in p8_aes_cbc_crypt()
107 static int p8_aes_cbc_encrypt(struct skcipher_request *req) in p8_aes_cbc_encrypt()
112 static int p8_aes_cbc_decrypt(struct skcipher_request *req) in p8_aes_cbc_decrypt()
/kernel/linux/linux-5.10/arch/x86/include/asm/crypto/
H A Dglue_helper.h98 struct skcipher_request *req);
101 struct skcipher_request *req);
104 struct skcipher_request *req);
107 struct skcipher_request *req);
110 struct skcipher_request *req,
/kernel/linux/linux-6.6/drivers/crypto/vmx/
H A Daes_cbc.c38 crypto_skcipher_set_reqsize(tfm, sizeof(struct skcipher_request) + in p8_aes_cbc_init()
71 static int p8_aes_cbc_crypt(struct skcipher_request *req, int enc) in p8_aes_cbc_crypt()
80 struct skcipher_request *subreq = skcipher_request_ctx(req); in p8_aes_cbc_crypt()
107 static int p8_aes_cbc_encrypt(struct skcipher_request *req) in p8_aes_cbc_encrypt()
112 static int p8_aes_cbc_decrypt(struct skcipher_request *req) in p8_aes_cbc_decrypt()

Completed in 15 milliseconds

12345678910>>...13