Home
last modified time | relevance | path

Searched refs:skcipher_walk (Results 1 – 25 of 47) sorted by relevance

12

/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dskcipher.h35 struct skcipher_walk { struct
132 int skcipher_walk_done(struct skcipher_walk *walk, int err);
133 int skcipher_walk_virt(struct skcipher_walk *walk,
136 void skcipher_walk_atomise(struct skcipher_walk *walk);
137 int skcipher_walk_async(struct skcipher_walk *walk,
139 int skcipher_walk_aead_encrypt(struct skcipher_walk *walk,
141 int skcipher_walk_aead_decrypt(struct skcipher_walk *walk,
143 void skcipher_walk_complete(struct skcipher_walk *walk, int err);
145 static inline void skcipher_walk_abort(struct skcipher_walk *walk) in skcipher_walk_abort()
/OK3568_Linux_fs/kernel/crypto/
H A Dskcipher.c43 static int skcipher_walk_next(struct skcipher_walk *walk);
59 static inline void skcipher_map_src(struct skcipher_walk *walk) in skcipher_map_src()
64 static inline void skcipher_map_dst(struct skcipher_walk *walk) in skcipher_map_dst()
69 static inline void skcipher_unmap_src(struct skcipher_walk *walk) in skcipher_unmap_src()
74 static inline void skcipher_unmap_dst(struct skcipher_walk *walk) in skcipher_unmap_dst()
79 static inline gfp_t skcipher_walk_gfp(struct skcipher_walk *walk) in skcipher_walk_gfp()
94 static int skcipher_done_slow(struct skcipher_walk *walk, unsigned int bsize) in skcipher_done_slow()
105 int skcipher_walk_done(struct skcipher_walk *walk, int err) in skcipher_walk_done()
182 void skcipher_walk_complete(struct skcipher_walk *walk, int err) in skcipher_walk_complete()
218 static void skcipher_queue_write(struct skcipher_walk *walk, in skcipher_queue_write()
[all …]
H A Dcfb.c43 static void crypto_cfb_final(struct skcipher_walk *walk, in crypto_cfb_final()
58 static int crypto_cfb_encrypt_segment(struct skcipher_walk *walk, in crypto_cfb_encrypt_segment()
81 static int crypto_cfb_encrypt_inplace(struct skcipher_walk *walk, in crypto_cfb_encrypt_inplace()
106 struct skcipher_walk walk; in crypto_cfb_encrypt()
128 static int crypto_cfb_decrypt_segment(struct skcipher_walk *walk, in crypto_cfb_decrypt_segment()
151 static int crypto_cfb_decrypt_inplace(struct skcipher_walk *walk, in crypto_cfb_decrypt_inplace()
170 static int crypto_cfb_decrypt_blocks(struct skcipher_walk *walk, in crypto_cfb_decrypt_blocks()
182 struct skcipher_walk walk; in crypto_cfb_decrypt()
H A Dpcbc.c21 struct skcipher_walk *walk, in crypto_pcbc_encrypt_segment()
43 struct skcipher_walk *walk, in crypto_pcbc_encrypt_inplace()
68 struct skcipher_walk walk; in crypto_pcbc_encrypt()
88 struct skcipher_walk *walk, in crypto_pcbc_decrypt_segment()
110 struct skcipher_walk *walk, in crypto_pcbc_decrypt_inplace()
135 struct skcipher_walk walk; in crypto_pcbc_decrypt()
H A Dcbc.c17 static int crypto_cbc_encrypt_segment(struct skcipher_walk *walk, in crypto_cbc_encrypt_segment()
45 static int crypto_cbc_encrypt_inplace(struct skcipher_walk *walk, in crypto_cbc_encrypt_inplace()
76 struct skcipher_walk walk; in crypto_cbc_encrypt()
92 static int crypto_cbc_decrypt_segment(struct skcipher_walk *walk, in crypto_cbc_decrypt_segment()
122 static int crypto_cbc_decrypt_inplace(struct skcipher_walk *walk, in crypto_cbc_decrypt_inplace()
158 struct skcipher_walk walk; in crypto_cbc_decrypt()
H A Dctr.c28 static void crypto_ctr_crypt_final(struct skcipher_walk *walk, in crypto_ctr_crypt_final()
46 static int crypto_ctr_crypt_segment(struct skcipher_walk *walk, in crypto_ctr_crypt_segment()
72 static int crypto_ctr_crypt_inplace(struct skcipher_walk *walk, in crypto_ctr_crypt_inplace()
104 struct skcipher_walk walk; in crypto_ctr_crypt()
H A Daegis128-core.c328 struct skcipher_walk *walk, in crypto_aegis128_process_crypt()
399 struct skcipher_walk walk; in crypto_aegis128_encrypt()
431 struct skcipher_walk walk; in crypto_aegis128_decrypt()
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dcast5_avx_glue.c35 static inline bool cast5_fpu_begin(bool fpu_enabled, struct skcipher_walk *walk, in cast5_fpu_begin()
52 struct skcipher_walk walk; in ecb_crypt()
115 struct skcipher_walk walk; in cbc_encrypt()
143 struct skcipher_walk *walk) in __cbc_decrypt()
201 struct skcipher_walk walk; in cbc_decrypt()
217 static void ctr_crypt_final(struct skcipher_walk *walk, struct cast5_ctx *ctx) in ctr_crypt_final()
231 static unsigned int __ctr_crypt(struct skcipher_walk *walk, in __ctr_crypt()
281 struct skcipher_walk walk; in ctr_crypt()
H A Dblowfish_glue.c78 struct skcipher_walk walk; in ecb_crypt()
129 struct skcipher_walk *walk) in __cbc_encrypt()
155 struct skcipher_walk walk; in cbc_encrypt()
170 struct skcipher_walk *walk) in __cbc_decrypt()
236 struct skcipher_walk walk; in cbc_decrypt()
250 static void ctr_crypt_final(struct bf_ctx *ctx, struct skcipher_walk *walk) in ctr_crypt_final()
264 static unsigned int __ctr_crypt(struct bf_ctx *ctx, struct skcipher_walk *walk) in __ctr_crypt()
322 struct skcipher_walk walk; in ctr_crypt()
H A Ddes3_ede_glue.c79 struct skcipher_walk walk; in ecb_crypt()
137 struct skcipher_walk *walk) in __cbc_encrypt()
163 struct skcipher_walk walk; in cbc_encrypt()
178 struct skcipher_walk *walk) in __cbc_decrypt()
242 struct skcipher_walk walk; in cbc_decrypt()
257 struct skcipher_walk *walk) in ctr_crypt_final()
272 struct skcipher_walk *walk) in __ctr_crypt()
325 struct skcipher_walk walk; in ctr_crypt()
H A Dglue_helper.c26 struct skcipher_walk walk; in glue_ecb_req_128bit()
71 struct skcipher_walk walk; in glue_cbc_encrypt_req_128bit()
103 struct skcipher_walk walk; in glue_cbc_decrypt_req_128bit()
164 struct skcipher_walk walk; in glue_ctr_req_128bit()
231 struct skcipher_walk *walk) in __glue_xts_req_128bit()
273 struct skcipher_walk walk; in glue_xts_req_128bit()
H A Daegis128-aesni-glue.c60 int (*skcipher_walk_init)(struct skcipher_walk *walk,
118 struct aegis_state *state, struct skcipher_walk *walk, in crypto_aegis128_aesni_process_crypt()
172 struct skcipher_walk walk; in crypto_aegis128_aesni_crypt()
H A Daesni-intel_glue.c376 struct skcipher_walk walk; in ecb_encrypt()
398 struct skcipher_walk walk; in ecb_decrypt()
420 struct skcipher_walk walk; in cbc_encrypt()
442 struct skcipher_walk walk; in cbc_decrypt()
462 struct skcipher_walk *walk) in ctr_crypt_final()
497 struct skcipher_walk walk; in ctr_crypt()
/OK3568_Linux_fs/kernel/arch/arm/crypto/
H A Daes-ce-glue.c171 struct skcipher_walk walk; in ecb_encrypt()
191 struct skcipher_walk walk; in ecb_decrypt()
208 struct skcipher_walk *walk) in cbc_encrypt_walk()
228 struct skcipher_walk walk; in cbc_encrypt()
238 struct skcipher_walk *walk) in cbc_decrypt_walk()
258 struct skcipher_walk walk; in cbc_decrypt()
275 struct skcipher_walk walk; in cts_cbc_encrypt()
333 struct skcipher_walk walk; in cts_cbc_decrypt()
387 struct skcipher_walk walk; in ctr_encrypt()
453 struct skcipher_walk walk; in xts_encrypt()
[all …]
H A Daes-neonbs-glue.c94 struct skcipher_walk walk; in __ecb_crypt()
168 struct skcipher_walk walk; in cbc_decrypt()
239 struct skcipher_walk walk; in ctr_encrypt()
353 struct skcipher_walk walk; in __xts_crypt()
/OK3568_Linux_fs/kernel/arch/arm64/crypto/
H A Daes-glue.c178 struct skcipher_walk walk; in ecb_encrypt()
198 struct skcipher_walk walk; in ecb_decrypt()
214 struct skcipher_walk *walk) in cbc_encrypt_walk()
233 struct skcipher_walk walk; in cbc_encrypt()
243 struct skcipher_walk *walk) in cbc_decrypt_walk()
262 struct skcipher_walk walk; in cbc_decrypt()
280 struct skcipher_walk walk; in cts_cbc_encrypt()
337 struct skcipher_walk walk; in cts_cbc_decrypt()
406 struct skcipher_walk walk; in essiv_cbc_encrypt()
428 struct skcipher_walk walk; in essiv_cbc_decrypt()
[all …]
H A Daes-neonbs-glue.c98 struct skcipher_walk walk; in __ecb_crypt()
158 struct skcipher_walk walk; in cbc_encrypt()
181 struct skcipher_walk walk; in cbc_decrypt()
209 struct skcipher_walk walk; in ctr_encrypt()
281 struct skcipher_walk walk; in __xts_crypt()
H A Daes-ce-ccm-glue.c174 static int ccm_crypt_fallback(struct skcipher_walk *walk, u8 mac[], u8 iv0[], in ccm_crypt_fallback()
226 struct skcipher_walk walk; in ccm_encrypt()
284 struct skcipher_walk walk; in ccm_decrypt()
/OK3568_Linux_fs/kernel/arch/sparc/crypto/
H A Daes_glue.c223 struct skcipher_walk walk; in ecb_encrypt()
247 struct skcipher_walk walk; in ecb_decrypt()
272 struct skcipher_walk walk; in cbc_encrypt()
297 struct skcipher_walk walk; in cbc_decrypt()
320 struct skcipher_walk *walk) in ctr_crypt_final()
338 struct skcipher_walk walk; in ctr_crypt()
H A Dcamellia_glue.c92 struct skcipher_walk walk; in __ecb_crypt()
142 struct skcipher_walk walk; in cbc_encrypt()
171 struct skcipher_walk walk; in cbc_decrypt()
H A Ddes_glue.c99 struct skcipher_walk walk; in __ecb_crypt()
140 struct skcipher_walk walk; in __cbc_crypt()
248 struct skcipher_walk walk; in __ecb3_crypt()
294 struct skcipher_walk walk; in __cbc3_crypt()
/OK3568_Linux_fs/kernel/drivers/crypto/vmx/
H A Daes_ctr.c70 struct skcipher_walk *walk) in p8_aes_ctr_final()
94 struct skcipher_walk walk; in p8_aes_ctr_crypt()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dpadlock-aes.c348 struct skcipher_walk walk; in ecb_aes_encrypt()
373 struct skcipher_walk walk; in ecb_aes_decrypt()
413 struct skcipher_walk walk; in cbc_aes_encrypt()
440 struct skcipher_walk walk; in cbc_aes_decrypt()
/OK3568_Linux_fs/kernel/arch/powerpc/crypto/
H A Daes-spe-glue.c184 struct skcipher_walk walk; in ppc_ecb_crypt()
223 struct skcipher_walk walk; in ppc_cbc_crypt()
264 struct skcipher_walk walk; in ppc_ctr_crypt()
290 struct skcipher_walk walk; in ppc_xts_crypt()
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Ddes_s390.c93 struct skcipher_walk walk; in ecb_desall_crypt()
112 struct skcipher_walk walk; in cbc_desall_crypt()
323 struct skcipher_walk walk; in ctr_desall_crypt()

12