/linux-4.4.14/arch/x86/include/asm/crypto/ |
D | glue_helper.h | 47 struct blkcipher_desc *desc, in glue_fpu_begin() 114 struct blkcipher_desc *desc, 119 struct blkcipher_desc *desc, 125 struct blkcipher_desc *desc, 131 struct blkcipher_desc *desc, 136 struct blkcipher_desc *desc,
|
/linux-4.4.14/arch/s390/crypto/ |
D | des_s390.c | 86 static int ecb_desall_crypt(struct blkcipher_desc *desc, long func, in ecb_desall_crypt() 109 static int cbc_desall_crypt(struct blkcipher_desc *desc, long func, in cbc_desall_crypt() 144 static int ecb_des_encrypt(struct blkcipher_desc *desc, in ecb_des_encrypt() 155 static int ecb_des_decrypt(struct blkcipher_desc *desc, in ecb_des_decrypt() 186 static int cbc_des_encrypt(struct blkcipher_desc *desc, in cbc_des_encrypt() 196 static int cbc_des_decrypt(struct blkcipher_desc *desc, in cbc_des_decrypt() 290 static int ecb_des3_encrypt(struct blkcipher_desc *desc, in ecb_des3_encrypt() 301 static int ecb_des3_decrypt(struct blkcipher_desc *desc, in ecb_des3_decrypt() 332 static int cbc_des3_encrypt(struct blkcipher_desc *desc, in cbc_des3_encrypt() 342 static int cbc_des3_decrypt(struct blkcipher_desc *desc, in cbc_des3_decrypt() [all …]
|
D | aes_s390.c | 252 static int fallback_blk_dec(struct blkcipher_desc *desc, in fallback_blk_dec() 269 static int fallback_blk_enc(struct blkcipher_desc *desc, in fallback_blk_enc() 316 static int ecb_aes_crypt(struct blkcipher_desc *desc, long func, void *param, in ecb_aes_crypt() 339 static int ecb_aes_encrypt(struct blkcipher_desc *desc, in ecb_aes_encrypt() 353 static int ecb_aes_decrypt(struct blkcipher_desc *desc, in ecb_aes_decrypt() 445 static int cbc_aes_crypt(struct blkcipher_desc *desc, long func, in cbc_aes_crypt() 480 static int cbc_aes_encrypt(struct blkcipher_desc *desc, in cbc_aes_encrypt() 494 static int cbc_aes_decrypt(struct blkcipher_desc *desc, in cbc_aes_decrypt() 551 static int xts_fallback_decrypt(struct blkcipher_desc *desc, in xts_fallback_decrypt() 568 static int xts_fallback_encrypt(struct blkcipher_desc *desc, in xts_fallback_encrypt() [all …]
|
/linux-4.4.14/arch/x86/crypto/ |
D | glue_helper.c | 36 struct blkcipher_desc *desc, in __glue_ecb_crypt_128bit() 82 struct blkcipher_desc *desc, struct scatterlist *dst, in glue_ecb_crypt_128bit() 93 struct blkcipher_desc *desc, in __glue_cbc_encrypt_128bit() 118 struct blkcipher_desc *desc, in glue_cbc_encrypt_128bit() 139 struct blkcipher_desc *desc, in __glue_cbc_decrypt_128bit() 192 struct blkcipher_desc *desc, in glue_cbc_decrypt_128bit() 217 struct blkcipher_desc *desc, in glue_ctr_crypt_final_128bit() 237 struct blkcipher_desc *desc, in __glue_ctr_crypt_128bit() 276 struct blkcipher_desc *desc, struct scatterlist *dst, in glue_ctr_crypt_128bit() 308 struct blkcipher_desc *desc, in __glue_xts_crypt_128bit() [all …]
|
D | twofish_glue_3way.c | 154 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 160 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 166 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 173 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 180 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() 231 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 248 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 299 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 317 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | cast5_avx_glue.c | 59 static int ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, in ecb_crypt() 113 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 122 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 131 static unsigned int __cbc_encrypt(struct blkcipher_desc *desc, in __cbc_encrypt() 155 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 172 static unsigned int __cbc_decrypt(struct blkcipher_desc *desc, in __cbc_decrypt() 227 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 248 static void ctr_crypt_final(struct blkcipher_desc *desc, in ctr_crypt_final() 265 static unsigned int __ctr_crypt(struct blkcipher_desc *desc, in __ctr_crypt() 311 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
|
D | blowfish_glue.c | 80 static int ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, in ecb_crypt() 125 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 134 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 143 static unsigned int __cbc_encrypt(struct blkcipher_desc *desc, in __cbc_encrypt() 167 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 184 static unsigned int __cbc_decrypt(struct blkcipher_desc *desc, in __cbc_decrypt() 248 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 280 static unsigned int __ctr_crypt(struct blkcipher_desc *desc, in __ctr_crypt() 336 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
|
D | des3_ede_glue.c | 86 static int ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, in ecb_crypt() 130 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 140 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 150 static unsigned int __cbc_encrypt(struct blkcipher_desc *desc, in __cbc_encrypt() 174 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 191 static unsigned int __cbc_decrypt(struct blkcipher_desc *desc, in __cbc_decrypt() 253 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 286 static unsigned int __ctr_crypt(struct blkcipher_desc *desc, in __ctr_crypt() 337 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt()
|
D | serpent_avx2_glue.c | 139 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 145 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 151 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 158 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 165 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() 235 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 261 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 287 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 297 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | twofish_avx_glue.c | 173 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 179 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 185 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 192 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 199 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() 265 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 291 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 317 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 327 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | fpu.c | 43 static int crypto_fpu_encrypt(struct blkcipher_desc *desc_in, in crypto_fpu_encrypt() 50 struct blkcipher_desc desc = { in crypto_fpu_encrypt() 62 static int crypto_fpu_decrypt(struct blkcipher_desc *desc_in, in crypto_fpu_decrypt() 69 struct blkcipher_desc desc = { in crypto_fpu_decrypt()
|
D | camellia_aesni_avx_glue.c | 157 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 163 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 169 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 176 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 183 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() 261 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 287 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 313 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 323 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | serpent_sse2_glue.c | 142 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 148 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 154 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 161 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 168 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() 244 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 270 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 332 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 359 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | cast6_avx_glue.c | 160 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 166 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 172 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 179 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 186 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() 261 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 287 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 350 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 360 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | serpent_avx_glue.c | 173 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 179 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 185 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 192 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 199 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() 271 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 297 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 356 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 366 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | camellia_aesni_avx2_glue.c | 153 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 159 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 165 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 172 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 179 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() 269 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 295 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 321 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 331 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | camellia_glue.c | 1376 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 1382 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 1388 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 1395 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 1402 static int ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_crypt() 1457 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 1474 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 1525 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 1543 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | aesni-intel_glue.c | 374 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt() 398 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt() 422 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt() 446 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt() 505 static int ctr_crypt(struct blkcipher_desc *desc, in ctr_crypt() 590 static int lrw_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_encrypt() 614 static int lrw_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in lrw_decrypt() 717 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 728 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt() 741 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() [all …]
|
D | salsa20_glue.c | 48 static int encrypt(struct blkcipher_desc *desc, in encrypt()
|
D | chacha20_glue.c | 66 static int chacha20_simd(struct blkcipher_desc *desc, struct scatterlist *dst, in chacha20_simd()
|
/linux-4.4.14/crypto/ |
D | cts.c | 74 struct blkcipher_desc *desc, in cts_cbc_encrypt() 82 struct blkcipher_desc lcldesc; in cts_cbc_encrypt() 125 static int crypto_cts_encrypt(struct blkcipher_desc *desc, in crypto_cts_encrypt() 133 struct blkcipher_desc lcldesc; in crypto_cts_encrypt() 160 struct blkcipher_desc *desc, in cts_cbc_decrypt() 168 struct blkcipher_desc lcldesc; in cts_cbc_decrypt() 220 static int crypto_cts_decrypt(struct blkcipher_desc *desc, in crypto_cts_decrypt() 228 struct blkcipher_desc lcldesc; in crypto_cts_decrypt()
|
D | pcbc.c | 45 static int crypto_pcbc_encrypt_segment(struct blkcipher_desc *desc, in crypto_pcbc_encrypt_segment() 70 static int crypto_pcbc_encrypt_inplace(struct blkcipher_desc *desc, in crypto_pcbc_encrypt_inplace() 97 static int crypto_pcbc_encrypt(struct blkcipher_desc *desc, in crypto_pcbc_encrypt() 123 static int crypto_pcbc_decrypt_segment(struct blkcipher_desc *desc, in crypto_pcbc_decrypt_segment() 150 static int crypto_pcbc_decrypt_inplace(struct blkcipher_desc *desc, in crypto_pcbc_decrypt_inplace() 177 static int crypto_pcbc_decrypt(struct blkcipher_desc *desc, in crypto_pcbc_decrypt()
|
D | cbc.c | 42 static int crypto_cbc_encrypt_segment(struct blkcipher_desc *desc, in crypto_cbc_encrypt_segment() 66 static int crypto_cbc_encrypt_inplace(struct blkcipher_desc *desc, in crypto_cbc_encrypt_inplace() 90 static int crypto_cbc_encrypt(struct blkcipher_desc *desc, in crypto_cbc_encrypt() 114 static int crypto_cbc_decrypt_segment(struct blkcipher_desc *desc, in crypto_cbc_decrypt_segment() 140 static int crypto_cbc_decrypt_inplace(struct blkcipher_desc *desc, in crypto_cbc_decrypt_inplace() 169 static int crypto_cbc_decrypt(struct blkcipher_desc *desc, in crypto_cbc_decrypt()
|
D | blkcipher.c | 40 static int blkcipher_walk_next(struct blkcipher_desc *desc, 42 static int blkcipher_walk_first(struct blkcipher_desc *desc, 104 int blkcipher_walk_done(struct blkcipher_desc *desc, in blkcipher_walk_done() 147 static inline int blkcipher_next_slow(struct blkcipher_desc *desc, in blkcipher_next_slow() 197 static inline int blkcipher_next_fast(struct blkcipher_desc *desc, in blkcipher_next_fast() 224 static int blkcipher_walk_next(struct blkcipher_desc *desc, in blkcipher_walk_next() 299 int blkcipher_walk_virt(struct blkcipher_desc *desc, in blkcipher_walk_virt() 311 int blkcipher_walk_phys(struct blkcipher_desc *desc, in blkcipher_walk_phys() 323 static int blkcipher_walk_first(struct blkcipher_desc *desc, in blkcipher_walk_first() 348 int blkcipher_walk_virt_block(struct blkcipher_desc *desc, in blkcipher_walk_virt_block() [all …]
|
D | ecb.c | 41 static int crypto_ecb_crypt(struct blkcipher_desc *desc, in crypto_ecb_crypt() 69 static int crypto_ecb_encrypt(struct blkcipher_desc *desc, in crypto_ecb_encrypt() 83 static int crypto_ecb_decrypt(struct blkcipher_desc *desc, in crypto_ecb_decrypt()
|
D | ablk_helper.c | 58 struct blkcipher_desc desc; in __ablk_encrypt() 102 struct blkcipher_desc desc; in ablk_decrypt()
|
D | xts.c | 93 static int crypt(struct blkcipher_desc *d, in crypt() 147 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt() 158 static int decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in decrypt() 169 int xts_crypt(struct blkcipher_desc *desc, struct scatterlist *sdst, in xts_crypt()
|
D | lrw.c | 138 static int crypt(struct blkcipher_desc *d, in crypt() 195 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt() 206 static int decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in decrypt() 217 int lrw_crypt(struct blkcipher_desc *desc, struct scatterlist *sdst, in lrw_crypt()
|
D | skcipher.c | 52 int (*crypt)(struct blkcipher_desc *, in skcipher_crypt_blkcipher() argument 59 struct blkcipher_desc desc = { in skcipher_crypt_blkcipher()
|
D | keywrap.c | 135 static int crypto_kw_decrypt(struct blkcipher_desc *desc, in crypto_kw_decrypt() 220 static int crypto_kw_encrypt(struct blkcipher_desc *desc, in crypto_kw_encrypt()
|
D | arc4.c | 95 static int ecb_arc4_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_arc4_crypt()
|
D | crypto_null.c | 77 static int skcipher_null_crypt(struct blkcipher_desc *desc, in skcipher_null_crypt()
|
D | echainiv.c | 115 struct blkcipher_desc desc = { in echainiv_encrypt()
|
D | salsa20_generic.c | 177 static int encrypt(struct blkcipher_desc *desc, in encrypt()
|
D | chacha20_generic.c | 143 int crypto_chacha20_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in crypto_chacha20_crypt()
|
D | seqiv.c | 168 struct blkcipher_desc desc = { in seqiv_aead_encrypt()
|
D | cryptd.c | 203 int (*crypt)(struct blkcipher_desc *desc, in cryptd_blkcipher_crypt() 209 struct blkcipher_desc desc; in cryptd_blkcipher_crypt()
|
D | ctr.c | 127 static int crypto_ctr_crypt(struct blkcipher_desc *desc, in crypto_ctr_crypt()
|
D | tcrypt.c | 94 static int test_cipher_jiffies(struct blkcipher_desc *desc, int enc, in test_cipher_jiffies() 117 static int test_cipher_cycles(struct blkcipher_desc *desc, int enc, in test_cipher_cycles() 465 struct blkcipher_desc desc; in test_cipher_speed()
|
D | authenc.c | 187 struct blkcipher_desc desc = { in crypto_authenc_copy_assoc()
|
D | authencesn.c | 185 struct blkcipher_desc desc = { in crypto_authenc_esn_copy()
|
D | gcm.c | 1087 struct blkcipher_desc desc = { in crypto_rfc4543_copy_src_to_dst()
|
/linux-4.4.14/include/crypto/ |
D | xts.h | 7 struct blkcipher_desc; 23 int xts_crypt(struct blkcipher_desc *desc, struct scatterlist *dst,
|
D | lrw.h | 8 struct blkcipher_desc; 39 int lrw_crypt(struct blkcipher_desc *desc, struct scatterlist *dst,
|
D | algapi.h | 192 int blkcipher_walk_done(struct blkcipher_desc *desc, 194 int blkcipher_walk_virt(struct blkcipher_desc *desc, 196 int blkcipher_walk_phys(struct blkcipher_desc *desc, 198 int blkcipher_walk_virt_block(struct blkcipher_desc *desc, 201 int blkcipher_aead_walk_virt_block(struct blkcipher_desc *desc,
|
D | chacha20.h | 22 int crypto_chacha20_crypt(struct blkcipher_desc *desc, struct scatterlist *dst,
|
/linux-4.4.14/arch/sparc/crypto/ |
D | des_glue.c | 93 static int __ecb_crypt(struct blkcipher_desc *desc, in __ecb_crypt() 124 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt() 131 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt() 141 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt() 172 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt() 261 static int __ecb3_crypt(struct blkcipher_desc *desc, in __ecb3_crypt() 295 static int ecb3_encrypt(struct blkcipher_desc *desc, in ecb3_encrypt() 302 static int ecb3_decrypt(struct blkcipher_desc *desc, in ecb3_decrypt() 313 static int cbc3_encrypt(struct blkcipher_desc *desc, in cbc3_encrypt() 349 static int cbc3_decrypt(struct blkcipher_desc *desc, in cbc3_decrypt()
|
D | camellia_glue.c | 85 static int __ecb_crypt(struct blkcipher_desc *desc, in __ecb_crypt() 126 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt() 133 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt() 148 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt() 187 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt()
|
D | aes_glue.c | 215 static int ecb_encrypt(struct blkcipher_desc *desc, in ecb_encrypt() 244 static int ecb_decrypt(struct blkcipher_desc *desc, in ecb_decrypt() 275 static int cbc_encrypt(struct blkcipher_desc *desc, in cbc_encrypt() 304 static int cbc_decrypt(struct blkcipher_desc *desc, in cbc_decrypt() 352 static int ctr_crypt(struct blkcipher_desc *desc, in ctr_crypt()
|
/linux-4.4.14/drivers/crypto/vmx/ |
D | aes_cbc.c | 98 static int p8_aes_cbc_encrypt(struct blkcipher_desc *desc, in p8_aes_cbc_encrypt() 106 struct blkcipher_desc fallback_desc = { in p8_aes_cbc_encrypt() 139 static int p8_aes_cbc_decrypt(struct blkcipher_desc *desc, in p8_aes_cbc_decrypt() 147 struct blkcipher_desc fallback_desc = { in p8_aes_cbc_decrypt()
|
D | aes_ctr.c | 113 static int p8_aes_ctr_crypt(struct blkcipher_desc *desc, in p8_aes_ctr_crypt() 122 struct blkcipher_desc fallback_desc = { in p8_aes_ctr_crypt()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-aes-ecb.c | 65 static int ecb_aes_nx_crypt(struct blkcipher_desc *desc, in ecb_aes_nx_crypt() 114 static int ecb_aes_nx_encrypt(struct blkcipher_desc *desc, in ecb_aes_nx_encrypt() 122 static int ecb_aes_nx_decrypt(struct blkcipher_desc *desc, in ecb_aes_nx_decrypt()
|
D | nx-aes-cbc.c | 65 static int cbc_aes_nx_crypt(struct blkcipher_desc *desc, in cbc_aes_nx_crypt() 114 static int cbc_aes_nx_encrypt(struct blkcipher_desc *desc, in cbc_aes_nx_encrypt() 122 static int cbc_aes_nx_decrypt(struct blkcipher_desc *desc, in cbc_aes_nx_decrypt()
|
D | nx-aes-ccm.c | 342 struct blkcipher_desc *desc, in ccm_nx_decrypt() 420 struct blkcipher_desc *desc, in ccm_nx_encrypt() 496 struct blkcipher_desc desc; in ccm4309_aes_nx_encrypt() 510 struct blkcipher_desc desc; in ccm_aes_nx_encrypt() 526 struct blkcipher_desc desc; in ccm4309_aes_nx_decrypt() 540 struct blkcipher_desc desc; in ccm_aes_nx_decrypt()
|
D | nx-aes-ctr.c | 84 static int ctr_aes_nx_crypt(struct blkcipher_desc *desc, in ctr_aes_nx_crypt() 128 static int ctr3686_aes_nx_crypt(struct blkcipher_desc *desc, in ctr3686_aes_nx_crypt()
|
D | nx-aes-gcm.c | 180 static int gmac(struct aead_request *req, struct blkcipher_desc *desc, in gmac() 254 static int gcm_empty(struct aead_request *req, struct blkcipher_desc *desc, in gcm_empty() 327 struct blkcipher_desc desc; in gcm_aes_nx_crypt()
|
D | nx.h | 168 int nx_build_sg_lists(struct nx_crypto_ctx *, struct blkcipher_desc *,
|
D | nx.c | 272 struct blkcipher_desc *desc, in nx_build_sg_lists()
|
/linux-4.4.14/arch/arm64/crypto/ |
D | aes-glue.c | 99 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 121 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 143 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 166 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 189 static int ctr_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_encrypt() 235 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 259 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | aes-ce-ccm-glue.c | 152 struct blkcipher_desc desc = { .info = req->iv }; in ccm_encrypt() 217 struct blkcipher_desc desc = { .info = req->iv }; in ccm_decrypt()
|
/linux-4.4.14/arch/powerpc/crypto/ |
D | aes-spe-glue.c | 179 static int ppc_ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_ecb_encrypt() 207 static int ppc_ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_ecb_decrypt() 235 static int ppc_cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_cbc_encrypt() 263 static int ppc_cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_cbc_decrypt() 291 static int ppc_ctr_crypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_ctr_crypt() 321 static int ppc_xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_xts_encrypt() 352 static int ppc_xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ppc_xts_decrypt()
|
/linux-4.4.14/arch/arm/crypto/ |
D | aes-ce-glue.c | 166 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() 189 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() 212 static int cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_encrypt() 236 static int cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in cbc_decrypt() 260 static int ctr_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ctr_encrypt() 303 static int xts_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_encrypt() 328 static int xts_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in xts_decrypt()
|
D | aesbs-glue.c | 104 static int aesbs_cbc_encrypt(struct blkcipher_desc *desc, in aesbs_cbc_encrypt() 145 static int aesbs_cbc_decrypt(struct blkcipher_desc *desc, in aesbs_cbc_decrypt() 203 static int aesbs_ctr_encrypt(struct blkcipher_desc *desc, in aesbs_ctr_encrypt() 252 static int aesbs_xts_encrypt(struct blkcipher_desc *desc, in aesbs_xts_encrypt() 276 static int aesbs_xts_decrypt(struct blkcipher_desc *desc, in aesbs_xts_decrypt()
|
/linux-4.4.14/include/linux/ |
D | crypto.h | 176 struct blkcipher_desc { struct 283 int (*encrypt)(struct blkcipher_desc *desc, 286 int (*decrypt)(struct blkcipher_desc *desc, 509 int (*encrypt)(struct blkcipher_desc *desc, struct scatterlist *dst, 511 int (*decrypt)(struct blkcipher_desc *desc, struct scatterlist *dst, 1281 static inline int crypto_blkcipher_encrypt(struct blkcipher_desc *desc, in crypto_blkcipher_encrypt() 1309 static inline int crypto_blkcipher_encrypt_iv(struct blkcipher_desc *desc, in crypto_blkcipher_encrypt_iv() 1334 static inline int crypto_blkcipher_decrypt(struct blkcipher_desc *desc, in crypto_blkcipher_decrypt() 1359 static inline int crypto_blkcipher_decrypt_iv(struct blkcipher_desc *desc, in crypto_blkcipher_decrypt_iv()
|
/linux-4.4.14/drivers/crypto/ |
D | geode-aes.c | 182 static int fallback_blk_dec(struct blkcipher_desc *desc, in fallback_blk_dec() 198 static int fallback_blk_enc(struct blkcipher_desc *desc, in fallback_blk_enc() 304 geode_cbc_decrypt(struct blkcipher_desc *desc, in geode_cbc_decrypt() 336 geode_cbc_encrypt(struct blkcipher_desc *desc, in geode_cbc_encrypt() 417 geode_ecb_decrypt(struct blkcipher_desc *desc, in geode_ecb_decrypt() 447 geode_ecb_encrypt(struct blkcipher_desc *desc, in geode_ecb_encrypt()
|
D | padlock-aes.c | 342 static int ecb_aes_encrypt(struct blkcipher_desc *desc, in ecb_aes_encrypt() 371 static int ecb_aes_decrypt(struct blkcipher_desc *desc, in ecb_aes_decrypt() 421 static int cbc_aes_encrypt(struct blkcipher_desc *desc, in cbc_aes_encrypt() 452 static int cbc_aes_decrypt(struct blkcipher_desc *desc, in cbc_aes_decrypt()
|
/linux-4.4.14/net/rxrpc/ |
D | rxkad.c | 116 struct blkcipher_desc desc; in rxkad_prime_packet_security() 159 struct blkcipher_desc desc; in rxkad_secure_packet_auth() 206 struct blkcipher_desc desc; in rxkad_secure_packet_encrypt() 259 struct blkcipher_desc desc; in rxkad_secure_packet() 333 struct blkcipher_desc desc; in rxkad_verify_packet_auth() 408 struct blkcipher_desc desc; in rxkad_verify_packet_encrypt() 490 struct blkcipher_desc desc; in rxkad_verify_packet() 721 struct blkcipher_desc desc; in rxkad_encrypt_response() 825 struct blkcipher_desc desc; in rxkad_decrypt_ticket() 969 struct blkcipher_desc desc; in rxkad_decrypt_response()
|
/linux-4.4.14/drivers/block/ |
D | cryptoloop.c | 106 typedef int (*encdec_cbc_t)(struct blkcipher_desc *desc, 118 struct blkcipher_desc desc = { in cryptoloop_transfer()
|
/linux-4.4.14/net/ceph/ |
D | crypto.c | 166 struct blkcipher_desc desc = { .tfm = tfm, .flags = 0 }; in ceph_aes_encrypt() 226 struct blkcipher_desc desc = { .tfm = tfm, .flags = 0 }; in ceph_aes_encrypt2() 288 struct blkcipher_desc desc = { .tfm = tfm }; in ceph_aes_decrypt() 353 struct blkcipher_desc desc = { .tfm = tfm }; in ceph_aes_decrypt2()
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_wep.c | 94 struct blkcipher_desc desc = {.tfm = wep->tx_tfm}; in prism2_wep_encrypt() 164 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt()
|
D | ieee80211_crypt_tkip.c | 315 struct blkcipher_desc desc = {.tfm = tkey->tx_tfm_arc4}; in ieee80211_tkip_encrypt() 393 struct blkcipher_desc desc = {.tfm = tkey->rx_tfm_arc4}; in ieee80211_tkip_decrypt()
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_crypt_wep.c | 102 struct blkcipher_desc desc = {.tfm = wep->tx_tfm}; in prism2_wep_encrypt() 176 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt()
|
D | rtllib_crypt_tkip.c | 304 struct blkcipher_desc desc = {.tfm = tkey->tx_tfm_arc4}; in rtllib_tkip_encrypt() 387 struct blkcipher_desc desc = {.tfm = tkey->rx_tfm_arc4}; in rtllib_tkip_decrypt()
|
/linux-4.4.14/net/wireless/ |
D | lib80211_crypt_wep.c | 136 struct blkcipher_desc desc = { .tfm = wep->tx_tfm }; in lib80211_wep_encrypt() 183 struct blkcipher_desc desc = { .tfm = wep->rx_tfm }; in lib80211_wep_decrypt()
|
D | lib80211_crypt_tkip.c | 356 struct blkcipher_desc desc = { .tfm = tkey->tx_tfm_arc4 }; in lib80211_tkip_encrypt() 406 struct blkcipher_desc desc = { .tfm = tkey->rx_tfm_arc4 }; in lib80211_tkip_decrypt()
|
/linux-4.4.14/drivers/net/ppp/ |
D | ppp_mppe.c | 164 struct blkcipher_desc desc = { .tfm = state->arc4 }; in mppe_rekey() 371 struct blkcipher_desc desc = { .tfm = state->arc4 }; in mppe_compress() 478 struct blkcipher_desc desc = { .tfm = state->arc4 }; in mppe_decompress()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 63 struct blkcipher_desc desc = { .tfm = tfm, .info = local_iv }; in krb5_encrypt() 97 struct blkcipher_desc desc = { .tfm = tfm, .info = local_iv }; in krb5_decrypt() 390 struct blkcipher_desc desc; 489 struct blkcipher_desc desc; 602 struct blkcipher_desc desc = { .tfm = cipher, .info = iv }; in gss_krb5_cts_crypt()
|
/linux-4.4.14/fs/cifs/ |
D | smbencrypt.c | 75 struct blkcipher_desc desc; in smbhash()
|
D | cifsencrypt.c | 794 struct blkcipher_desc desc; in calc_seckey()
|
/linux-4.4.14/security/keys/encrypted-keys/ |
D | encrypted.c | 404 static int init_blkcipher_desc(struct blkcipher_desc *desc, const u8 *key, in init_blkcipher_desc() 470 struct blkcipher_desc desc; in derived_key_encrypt() 568 struct blkcipher_desc desc; in derived_key_decrypt()
|
/linux-4.4.14/drivers/usb/wusbcore/ |
D | crypto.c | 205 struct blkcipher_desc desc; in wusb_ccm_mac()
|
/linux-4.4.14/fs/ecryptfs/ |
D | keystore.c | 604 struct blkcipher_desc desc; 891 struct blkcipher_desc desc; 1670 struct blkcipher_desc desc = { in decrypt_passphrase_encrypted_session_key() 2194 struct blkcipher_desc desc = { in write_tag_3_packet()
|
D | crypto.c | 2123 struct blkcipher_desc desc; in ecryptfs_set_f_namelen()
|
/linux-4.4.14/net/mac802154/ |
D | llsec.c | 623 struct blkcipher_desc req = { in llsec_do_encrypt_unauth() 833 struct blkcipher_desc req = { in llsec_do_decrypt_unauth()
|
/linux-4.4.14/net/bluetooth/ |
D | smp.c | 375 struct blkcipher_desc desc; in smp_e()
|