Home
last modified time | relevance | path

Searched refs:blkcipher_desc (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/arch/s390/crypto/
Ddes_s390.c82 static int ecb_desall_crypt(struct blkcipher_desc *desc, unsigned long fc, in ecb_desall_crypt()
100 static int cbc_desall_crypt(struct blkcipher_desc *desc, unsigned long fc, in cbc_desall_crypt()
125 static int ecb_des_encrypt(struct blkcipher_desc *desc, in ecb_des_encrypt()
135 static int ecb_des_decrypt(struct blkcipher_desc *desc, in ecb_des_decrypt()
165 static int cbc_des_encrypt(struct blkcipher_desc *desc, in cbc_des_encrypt()
175 static int cbc_des_decrypt(struct blkcipher_desc *desc, in cbc_des_decrypt()
269 static int ecb_des3_encrypt(struct blkcipher_desc *desc, in ecb_des3_encrypt()
279 static int ecb_des3_decrypt(struct blkcipher_desc *desc, in ecb_des3_decrypt()
310 static int cbc_des3_encrypt(struct blkcipher_desc *desc, in cbc_des3_encrypt()
320 static int cbc_des3_decrypt(struct blkcipher_desc *desc, in cbc_des3_decrypt()
[all …]
Dpaes_s390.c160 static int ecb_paes_crypt(struct blkcipher_desc *desc, in ecb_paes_crypt()
184 static int ecb_paes_encrypt(struct blkcipher_desc *desc, in ecb_paes_encrypt()
194 static int ecb_paes_decrypt(struct blkcipher_desc *desc, in ecb_paes_decrypt()
279 static int cbc_paes_crypt(struct blkcipher_desc *desc, unsigned long modifier, in cbc_paes_crypt()
310 static int cbc_paes_encrypt(struct blkcipher_desc *desc, in cbc_paes_encrypt()
320 static int cbc_paes_decrypt(struct blkcipher_desc *desc, in cbc_paes_decrypt()
433 static int xts_paes_crypt(struct blkcipher_desc *desc, unsigned long modifier, in xts_paes_crypt()
479 static int xts_paes_encrypt(struct blkcipher_desc *desc, in xts_paes_encrypt()
489 static int xts_paes_decrypt(struct blkcipher_desc *desc, in xts_paes_decrypt()
591 static int ctr_paes_crypt(struct blkcipher_desc *desc, unsigned long modifier, in ctr_paes_crypt()
[all …]
Daes_s390.c201 static int fallback_blk_dec(struct blkcipher_desc *desc, in fallback_blk_dec()
220 static int fallback_blk_enc(struct blkcipher_desc *desc, in fallback_blk_enc()
258 static int ecb_aes_crypt(struct blkcipher_desc *desc, unsigned long modifier, in ecb_aes_crypt()
277 static int ecb_aes_encrypt(struct blkcipher_desc *desc, in ecb_aes_encrypt()
291 static int ecb_aes_decrypt(struct blkcipher_desc *desc, in ecb_aes_decrypt()
373 static int cbc_aes_crypt(struct blkcipher_desc *desc, unsigned long modifier, in cbc_aes_crypt()
398 static int cbc_aes_encrypt(struct blkcipher_desc *desc, in cbc_aes_encrypt()
412 static int cbc_aes_decrypt(struct blkcipher_desc *desc, in cbc_aes_decrypt()
470 static int xts_fallback_decrypt(struct blkcipher_desc *desc, in xts_fallback_decrypt()
489 static int xts_fallback_encrypt(struct blkcipher_desc *desc, in xts_fallback_encrypt()
[all …]
/Linux-v5.4/crypto/
Dblkcipher.c34 static int blkcipher_walk_next(struct blkcipher_desc *desc,
36 static int blkcipher_walk_first(struct blkcipher_desc *desc,
95 int blkcipher_walk_done(struct blkcipher_desc *desc, in blkcipher_walk_done()
139 static inline int blkcipher_next_slow(struct blkcipher_desc *desc, in blkcipher_next_slow()
189 static inline int blkcipher_next_fast(struct blkcipher_desc *desc, in blkcipher_next_fast()
216 static int blkcipher_walk_next(struct blkcipher_desc *desc, in blkcipher_walk_next()
292 int blkcipher_walk_virt(struct blkcipher_desc *desc, in blkcipher_walk_virt()
304 int blkcipher_walk_phys(struct blkcipher_desc *desc, in blkcipher_walk_phys()
316 static int blkcipher_walk_first(struct blkcipher_desc *desc, in blkcipher_walk_first()
341 int blkcipher_walk_virt_block(struct blkcipher_desc *desc, in blkcipher_walk_virt_block()
[all …]
Dskcipher.c621 int (*crypt)(struct blkcipher_desc *, in skcipher_crypt_blkcipher() argument
628 struct blkcipher_desc desc = { in skcipher_crypt_blkcipher()
/Linux-v5.4/arch/sparc/crypto/
Ddes_glue.c90 static int __ecb_crypt(struct blkcipher_desc *desc, in __ecb_crypt()
121 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt()
128 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt()
138 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt()
169 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt()
254 static int __ecb3_crypt(struct blkcipher_desc *desc, in __ecb3_crypt()
288 static int ecb3_encrypt(struct blkcipher_desc *desc, in ecb3_encrypt()
295 static int ecb3_decrypt(struct blkcipher_desc *desc, in ecb3_decrypt()
306 static int cbc3_encrypt(struct blkcipher_desc *desc, in cbc3_encrypt()
342 static int cbc3_decrypt(struct blkcipher_desc *desc, in cbc3_decrypt()
Dcamellia_glue.c86 static int __ecb_crypt(struct blkcipher_desc *desc, in __ecb_crypt()
127 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt()
134 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt()
149 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt()
188 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt()
Daes_glue.c216 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt()
245 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt()
276 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt()
305 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt()
352 static int ctr_crypt(struct blkcipher_desc *desc, in ctr_crypt()
/Linux-v5.4/drivers/crypto/nx/
Dnx-aes-cbc.c53 static int cbc_aes_nx_crypt(struct blkcipher_desc *desc, in cbc_aes_nx_crypt()
102 static int cbc_aes_nx_encrypt(struct blkcipher_desc *desc, in cbc_aes_nx_encrypt()
110 static int cbc_aes_nx_decrypt(struct blkcipher_desc *desc, in cbc_aes_nx_decrypt()
Dnx-aes-ecb.c53 static int ecb_aes_nx_crypt(struct blkcipher_desc *desc, in ecb_aes_nx_crypt()
102 static int ecb_aes_nx_encrypt(struct blkcipher_desc *desc, in ecb_aes_nx_encrypt()
110 static int ecb_aes_nx_decrypt(struct blkcipher_desc *desc, in ecb_aes_nx_decrypt()
Dnx-aes-ccm.c330 struct blkcipher_desc *desc, in ccm_nx_decrypt()
408 struct blkcipher_desc *desc, in ccm_nx_encrypt()
484 struct blkcipher_desc desc; in ccm4309_aes_nx_encrypt()
498 struct blkcipher_desc desc; in ccm_aes_nx_encrypt()
514 struct blkcipher_desc desc; in ccm4309_aes_nx_decrypt()
528 struct blkcipher_desc desc; in ccm_aes_nx_decrypt()
Dnx-aes-ctr.c72 static int ctr_aes_nx_crypt(struct blkcipher_desc *desc, in ctr_aes_nx_crypt()
116 static int ctr3686_aes_nx_crypt(struct blkcipher_desc *desc, in ctr3686_aes_nx_crypt()
Dnx-aes-gcm.c169 static int gmac(struct aead_request *req, struct blkcipher_desc *desc, in gmac()
243 static int gcm_empty(struct aead_request *req, struct blkcipher_desc *desc, in gcm_empty()
316 struct blkcipher_desc desc; in gcm_aes_nx_crypt()
Dnx.h158 int nx_build_sg_lists(struct nx_crypto_ctx *, struct blkcipher_desc *,
Dnx.c259 struct blkcipher_desc *desc, in nx_build_sg_lists()
/Linux-v5.4/arch/powerpc/crypto/
Daes-spe-glue.c181 static int ppc_ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_ecb_encrypt()
209 static int ppc_ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_ecb_decrypt()
237 static int ppc_cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_cbc_encrypt()
265 static int ppc_cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_cbc_decrypt()
293 static int ppc_ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_ctr_crypt()
323 static int ppc_xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_xts_encrypt()
354 static int ppc_xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_xts_decrypt()
/Linux-v5.4/include/crypto/
Dalgapi.h236 int blkcipher_walk_done(struct blkcipher_desc *desc,
238 int blkcipher_walk_virt(struct blkcipher_desc *desc,
240 int blkcipher_walk_phys(struct blkcipher_desc *desc,
242 int blkcipher_walk_virt_block(struct blkcipher_desc *desc,
245 int blkcipher_aead_walk_virt_block(struct blkcipher_desc *desc,
/Linux-v5.4/include/linux/
Dcrypto.h179 struct blkcipher_desc { struct
257 int (*encrypt)(struct blkcipher_desc *desc,
260 int (*decrypt)(struct blkcipher_desc *desc,
734 int (*encrypt)(struct blkcipher_desc *desc, struct scatterlist *dst,
736 int (*decrypt)(struct blkcipher_desc *desc, struct scatterlist *dst,
1484 static inline int crypto_blkcipher_encrypt(struct blkcipher_desc *desc, in crypto_blkcipher_encrypt()
1512 static inline int crypto_blkcipher_encrypt_iv(struct blkcipher_desc *desc, in crypto_blkcipher_encrypt_iv()
1537 static inline int crypto_blkcipher_decrypt(struct blkcipher_desc *desc, in crypto_blkcipher_decrypt()
1562 static inline int crypto_blkcipher_decrypt_iv(struct blkcipher_desc *desc, in crypto_blkcipher_decrypt_iv()
/Linux-v5.4/drivers/crypto/
Dgeode-aes.c180 static int fallback_blk_dec(struct blkcipher_desc *desc, in fallback_blk_dec()
196 static int fallback_blk_enc(struct blkcipher_desc *desc, in fallback_blk_enc()
302 geode_cbc_decrypt(struct blkcipher_desc *desc, in geode_cbc_decrypt()
334 geode_cbc_encrypt(struct blkcipher_desc *desc, in geode_cbc_encrypt()
415 geode_ecb_decrypt(struct blkcipher_desc *desc, in geode_ecb_decrypt()
445 geode_ecb_encrypt(struct blkcipher_desc *desc, in geode_ecb_encrypt()
Dpadlock-aes.c341 static int ecb_aes_encrypt(struct blkcipher_desc *desc, in ecb_aes_encrypt()
367 static int ecb_aes_decrypt(struct blkcipher_desc *desc, in ecb_aes_decrypt()
414 static int cbc_aes_encrypt(struct blkcipher_desc *desc, in cbc_aes_encrypt()
442 static int cbc_aes_decrypt(struct blkcipher_desc *desc, in cbc_aes_decrypt()