Home
last modified time | relevance | path

Searched refs:skcipher_request (Results 1 – 25 of 85) sorted by relevance

1234

/Linux-v4.19/include/crypto/
Dskcipher.h29 struct skcipher_request { struct
58 int (*encrypt)(struct skcipher_request *req); argument
59 int (*decrypt)(struct skcipher_request *req);
128 int (*encrypt)(struct skcipher_request *req);
129 int (*decrypt)(struct skcipher_request *req);
143 char __##name##_desc[sizeof(struct skcipher_request) + \
145 struct skcipher_request *name = (void *)__##name##_desc
420 struct skcipher_request *req) in crypto_skcipher_reqtfm()
436 static inline int crypto_skcipher_encrypt(struct skcipher_request *req) in crypto_skcipher_encrypt()
457 static inline int crypto_skcipher_decrypt(struct skcipher_request *req) in crypto_skcipher_decrypt()
[all …]
/Linux-v4.19/drivers/crypto/sunxi-ss/
Dsun4i-ss.h190 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq);
191 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq);
192 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq);
193 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq);
195 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq);
196 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq);
197 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *areq);
198 int sun4i_ss_ecb_des_decrypt(struct skcipher_request *areq);
200 int sun4i_ss_cbc_des3_encrypt(struct skcipher_request *areq);
201 int sun4i_ss_cbc_des3_decrypt(struct skcipher_request *areq);
[all …]
Dsun4i-ss-cipher.c19 static int sun4i_ss_opti_poll(struct skcipher_request *areq) in sun4i_ss_opti_poll()
127 static int sun4i_ss_cipher_poll(struct skcipher_request *areq) in sun4i_ss_cipher_poll()
320 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_encrypt()
331 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_decrypt()
343 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_encrypt()
354 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_decrypt()
366 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_encrypt()
377 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_decrypt()
389 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_des_encrypt()
400 int sun4i_ss_ecb_des_decrypt(struct skcipher_request *areq) in sun4i_ss_ecb_des_decrypt()
[all …]
/Linux-v4.19/drivers/crypto/marvell/
Dcipher.c43 struct skcipher_request *req) in mv_cesa_skcipher_req_iter_init()
60 mv_cesa_skcipher_dma_cleanup(struct skcipher_request *req) in mv_cesa_skcipher_dma_cleanup()
76 static inline void mv_cesa_skcipher_cleanup(struct skcipher_request *req) in mv_cesa_skcipher_cleanup()
84 static void mv_cesa_skcipher_std_step(struct skcipher_request *req) in mv_cesa_skcipher_std_step()
117 static int mv_cesa_skcipher_std_process(struct skcipher_request *req, in mv_cesa_skcipher_std_process()
139 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_process()
151 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_step()
161 mv_cesa_skcipher_dma_prepare(struct skcipher_request *req) in mv_cesa_skcipher_dma_prepare()
170 mv_cesa_skcipher_std_prepare(struct skcipher_request *req) in mv_cesa_skcipher_std_prepare()
182 struct skcipher_request *skreq = skcipher_request_cast(req); in mv_cesa_skcipher_prepare()
[all …]
/Linux-v4.19/crypto/
Dlrw.c72 struct skcipher_request subreq;
149 static int post_crypt(struct skcipher_request *req) in post_crypt()
153 struct skcipher_request *subreq; in post_crypt()
200 static int pre_crypt(struct skcipher_request *req) in pre_crypt()
206 struct skcipher_request *subreq; in pre_crypt()
277 static int init_crypt(struct skcipher_request *req, crypto_completion_t done) in init_crypt()
281 struct skcipher_request *subreq; in init_crypt()
313 static void exit_crypt(struct skcipher_request *req) in exit_crypt()
323 static int do_encrypt(struct skcipher_request *req, int err) in do_encrypt()
326 struct skcipher_request *subreq; in do_encrypt()
[all …]
Dxts.c55 struct skcipher_request subreq;
99 static int post_crypt(struct skcipher_request *req) in post_crypt()
103 struct skcipher_request *subreq; in post_crypt()
150 static int pre_crypt(struct skcipher_request *req) in pre_crypt()
154 struct skcipher_request *subreq; in pre_crypt()
216 static int init_crypt(struct skcipher_request *req, crypto_completion_t done) in init_crypt()
220 struct skcipher_request *subreq; in init_crypt()
250 static void exit_crypt(struct skcipher_request *req) in exit_crypt()
260 static int do_encrypt(struct skcipher_request *req, int err) in do_encrypt()
263 struct skcipher_request *subreq; in do_encrypt()
[all …]
Dcts.c62 struct skcipher_request subreq;
65 static inline u8 *crypto_cts_reqctx_space(struct skcipher_request *req) in crypto_cts_reqctx_space()
94 struct skcipher_request *req = areq->data; in cts_cbc_crypt_done()
102 static int cts_cbc_encrypt(struct skcipher_request *req) in cts_cbc_encrypt()
106 struct skcipher_request *subreq = &rctx->subreq; in cts_cbc_encrypt()
134 struct skcipher_request *req = areq->data; in crypto_cts_encrypt_done()
147 static int crypto_cts_encrypt(struct skcipher_request *req) in crypto_cts_encrypt()
152 struct skcipher_request *subreq = &rctx->subreq; in crypto_cts_encrypt()
181 static int cts_cbc_decrypt(struct skcipher_request *req) in cts_cbc_decrypt()
185 struct skcipher_request *subreq = &rctx->subreq; in cts_cbc_decrypt()
[all …]
Dsimd.c59 static int simd_skcipher_encrypt(struct skcipher_request *req) in simd_skcipher_encrypt()
63 struct skcipher_request *subreq; in simd_skcipher_encrypt()
80 static int simd_skcipher_decrypt(struct skcipher_request *req) in simd_skcipher_decrypt()
84 struct skcipher_request *subreq; in simd_skcipher_decrypt()
127 reqsize = sizeof(struct skcipher_request); in simd_skcipher_init()
Dpcbc.c46 static int crypto_pcbc_encrypt_segment(struct skcipher_request *req, in crypto_pcbc_encrypt_segment()
68 static int crypto_pcbc_encrypt_inplace(struct skcipher_request *req, in crypto_pcbc_encrypt_inplace()
92 static int crypto_pcbc_encrypt(struct skcipher_request *req) in crypto_pcbc_encrypt()
116 static int crypto_pcbc_decrypt_segment(struct skcipher_request *req, in crypto_pcbc_decrypt_segment()
140 static int crypto_pcbc_decrypt_inplace(struct skcipher_request *req, in crypto_pcbc_decrypt_inplace()
164 static int crypto_pcbc_decrypt(struct skcipher_request *req) in crypto_pcbc_decrypt()
/Linux-v4.19/drivers/crypto/amcc/
Dcrypto4xx_core.h180 int crypto4xx_encrypt_ctr(struct skcipher_request *req);
181 int crypto4xx_decrypt_ctr(struct skcipher_request *req);
182 int crypto4xx_encrypt_iv(struct skcipher_request *req);
183 int crypto4xx_decrypt_iv(struct skcipher_request *req);
184 int crypto4xx_encrypt_noiv(struct skcipher_request *req);
185 int crypto4xx_decrypt_noiv(struct skcipher_request *req);
186 int crypto4xx_rfc3686_encrypt(struct skcipher_request *req);
187 int crypto4xx_rfc3686_decrypt(struct skcipher_request *req);
/Linux-v4.19/arch/x86/include/asm/crypto/
Dglue_helper.h103 struct skcipher_request *req);
106 struct skcipher_request *req);
109 struct skcipher_request *req);
112 struct skcipher_request *req);
115 struct skcipher_request *req,
/Linux-v4.19/arch/x86/crypto/
Dserpent_avx2_glue.c142 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
147 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
152 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
158 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
163 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
168 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
178 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
Dcamellia_aesni_avx2_glue.c157 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
162 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
167 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
173 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
178 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
183 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
193 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
Dserpent_avx_glue.c192 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
197 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
202 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
208 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
213 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
218 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
228 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
Dtwofish_avx_glue.c195 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
200 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
205 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
211 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
216 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
221 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
231 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
Dcast6_avx_glue.c160 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
165 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
170 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
176 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
181 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
212 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
222 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
Dcamellia_aesni_avx_glue.c161 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
166 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
171 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
177 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
182 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
209 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
219 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
Dserpent_sse2_glue.c143 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
148 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
153 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
159 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
164 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
Dtwofish_glue_3way.c158 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
163 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
168 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
174 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
179 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
Dcast5_avx_glue.c62 static int ecb_crypt(struct skcipher_request *req, bool enc) in ecb_crypt()
115 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
120 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
125 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
211 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
291 static int ctr_crypt(struct skcipher_request *req) in ctr_crypt()
/Linux-v4.19/include/crypto/internal/
Dskcipher.h93 static inline void skcipher_request_complete(struct skcipher_request *req, int err) in skcipher_request_complete()
145 struct skcipher_request *req,
149 struct skcipher_request *req);
174 static inline void *skcipher_request_ctx(struct skcipher_request *req) in skcipher_request_ctx()
179 static inline u32 skcipher_request_flags(struct skcipher_request *req) in skcipher_request_flags()
/Linux-v4.19/arch/arm64/crypto/
Dspeck-neon-glue.c44 __speck128_xts_crypt(struct skcipher_request *req, in __speck128_xts_crypt()
94 static int speck128_xts_encrypt(struct skcipher_request *req) in speck128_xts_encrypt()
100 static int speck128_xts_decrypt(struct skcipher_request *req) in speck128_xts_decrypt()
146 __speck64_xts_crypt(struct skcipher_request *req, speck64_crypt_one_t crypt_one, in __speck64_xts_crypt()
196 static int speck64_xts_encrypt(struct skcipher_request *req) in speck64_xts_encrypt()
202 static int speck64_xts_decrypt(struct skcipher_request *req) in speck64_xts_decrypt()
Daes-neonbs-glue.c93 static int __ecb_crypt(struct skcipher_request *req, in __ecb_crypt()
122 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
127 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
154 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
177 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
224 static int ctr_encrypt(struct skcipher_request *req) in ctr_encrypt()
286 static int ctr_encrypt_sync(struct skcipher_request *req) in ctr_encrypt_sync()
297 static int __xts_crypt(struct skcipher_request *req, in __xts_crypt()
329 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
334 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()
/Linux-v4.19/arch/arm/crypto/
Dspeck-neon-glue.c50 __speck128_xts_crypt(struct skcipher_request *req, in __speck128_xts_crypt()
100 static int speck128_xts_encrypt(struct skcipher_request *req) in speck128_xts_encrypt()
106 static int speck128_xts_decrypt(struct skcipher_request *req) in speck128_xts_decrypt()
152 __speck64_xts_crypt(struct skcipher_request *req, speck64_crypt_one_t crypt_one, in __speck64_xts_crypt()
202 static int speck64_xts_encrypt(struct skcipher_request *req) in speck64_xts_encrypt()
208 static int speck64_xts_decrypt(struct skcipher_request *req) in speck64_xts_decrypt()
Daes-neonbs-glue.c80 static int __ecb_crypt(struct skcipher_request *req, in __ecb_crypt()
109 static int ecb_encrypt(struct skcipher_request *req) in ecb_encrypt()
114 static int ecb_decrypt(struct skcipher_request *req) in ecb_decrypt()
146 static int cbc_encrypt(struct skcipher_request *req) in cbc_encrypt()
151 static int cbc_decrypt(struct skcipher_request *req) in cbc_decrypt()
195 static int ctr_encrypt(struct skcipher_request *req) in ctr_encrypt()
271 static int __xts_crypt(struct skcipher_request *req, in __xts_crypt()
302 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
307 static int xts_decrypt(struct skcipher_request *req) in xts_decrypt()

1234