/linux-4.4.14/arch/s390/crypto/ |
D | des_s390.c | 112 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_desall_crypt() 148 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des_encrypt() 159 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des_decrypt() 294 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des3_encrypt() 305 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_des3_decrypt() 457 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_des_encrypt() 468 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_des_decrypt() 500 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_des3_encrypt() 511 struct s390_des_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_des3_decrypt()
|
D | aes_s390.c | 258 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_dec() 275 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_enc() 343 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in ecb_aes_encrypt() 357 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in ecb_aes_decrypt() 448 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in cbc_aes_crypt() 484 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in cbc_aes_encrypt() 498 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(desc->tfm); in cbc_aes_decrypt() 555 struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm); in xts_fallback_decrypt() 572 struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm); in xts_fallback_encrypt() 667 struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm); in xts_aes_encrypt() [all …]
|
/linux-4.4.14/arch/arm64/crypto/ |
D | aes-glue.c | 102 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() 124 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() 146 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() 169 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() 192 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_encrypt() 238 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 262 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
/linux-4.4.14/arch/powerpc/crypto/ |
D | aes-spe-glue.c | 182 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ecb_encrypt() 210 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ecb_decrypt() 238 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_cbc_encrypt() 266 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_cbc_decrypt() 294 struct ppc_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_ctr_crypt() 324 struct ppc_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_xts_encrypt() 355 struct ppc_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ppc_xts_decrypt()
|
/linux-4.4.14/arch/x86/crypto/ |
D | des3_ede_glue.c | 133 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() 143 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() 153 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_encrypt() 194 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_decrypt() 289 struct des3_ede_x86_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ctr_crypt() 352 ctr_crypt_final(crypto_blkcipher_ctx(desc->tfm), &walk); in ctr_crypt()
|
D | blowfish_glue.c | 84 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_crypt() 146 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_encrypt() 187 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_decrypt() 283 struct bf_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ctr_crypt() 351 ctr_crypt_final(crypto_blkcipher_ctx(desc->tfm), &walk); in ctr_crypt()
|
D | glue_helper.c | 39 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_ecb_crypt_128bit() 96 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_cbc_encrypt_128bit() 142 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_cbc_decrypt_128bit() 220 void *ctx = crypto_blkcipher_ctx(desc->tfm); in glue_ctr_crypt_final_128bit() 241 void *ctx = crypto_blkcipher_ctx(desc->tfm); in __glue_ctr_crypt_128bit()
|
D | cast5_avx_glue.c | 63 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_crypt() 134 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_encrypt() 175 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __cbc_decrypt() 251 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_crypt_final() 268 struct cast5_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ctr_crypt()
|
D | twofish_glue_3way.c | 234 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 251 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 302 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 320 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
D | fpu.c | 48 struct crypto_fpu_ctx *ctx = crypto_blkcipher_ctx(desc_in->tfm); in crypto_fpu_encrypt() 67 struct crypto_fpu_ctx *ctx = crypto_blkcipher_ctx(desc_in->tfm); in crypto_fpu_decrypt()
|
D | aesni-intel_glue.c | 378 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ecb_encrypt() 402 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ecb_decrypt() 426 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in cbc_encrypt() 450 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in cbc_decrypt() 509 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ctr_crypt() 593 struct aesni_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 617 struct aesni_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 720 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 731 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt() 744 struct aesni_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() [all …]
|
D | serpent_avx2_glue.c | 238 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 264 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 290 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 300 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
D | twofish_avx_glue.c | 268 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 294 struct twofish_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 320 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 330 struct twofish_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
D | camellia_aesni_avx_glue.c | 264 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 290 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 316 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 326 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
D | serpent_sse2_glue.c | 247 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 273 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 335 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 362 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
D | cast6_avx_glue.c | 264 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 290 struct cast6_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 353 struct cast6_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 363 struct cast6_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
D | serpent_avx_glue.c | 274 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 300 struct serpent_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 359 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 369 struct serpent_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
D | camellia_aesni_avx2_glue.c | 272 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 298 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 324 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 334 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
D | salsa20_glue.c | 54 struct salsa20_ctx *ctx = crypto_blkcipher_ctx(tfm); in encrypt()
|
D | chacha20_glue.c | 81 crypto_chacha20_init(state, crypto_blkcipher_ctx(desc->tfm), walk.iv); in chacha20_simd()
|
D | camellia_glue.c | 1460 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_encrypt() 1477 struct camellia_lrw_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in lrw_decrypt() 1528 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 1546 struct camellia_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
/linux-4.4.14/arch/arm/crypto/ |
D | aes-ce-glue.c | 169 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() 192 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() 215 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() 239 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() 263 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_encrypt() 306 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_encrypt() 331 struct crypto_aes_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in xts_decrypt()
|
D | aesbs-glue.c | 108 struct aesbs_cbc_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_cbc_encrypt() 149 struct aesbs_cbc_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_cbc_decrypt() 207 struct aesbs_ctr_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_ctr_encrypt() 256 struct aesbs_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_xts_encrypt() 280 struct aesbs_xts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in aesbs_xts_decrypt()
|
/linux-4.4.14/drivers/crypto/ |
D | geode-aes.c | 188 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_dec() 204 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in fallback_blk_enc() 308 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in geode_cbc_decrypt() 340 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in geode_cbc_encrypt() 421 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in geode_ecb_decrypt() 451 struct geode_aes_op *op = crypto_blkcipher_ctx(desc->tfm); in geode_ecb_encrypt()
|
D | padlock-aes.c | 101 return aes_ctx_common(crypto_blkcipher_ctx(tfm)); in blk_aes_ctx()
|
/linux-4.4.14/arch/sparc/crypto/ |
D | des_glue.c | 97 struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ecb_crypt() 145 struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() 176 struct des_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() 265 struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ecb3_crypt() 317 struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc3_encrypt() 353 struct des3_ede_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc3_decrypt()
|
D | aes_glue.c | 219 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() 248 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() 279 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() 308 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() 356 struct crypto_sparc64_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_crypt()
|
D | camellia_glue.c | 89 struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in __ecb_crypt() 152 struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() 191 struct camellia_sparc64_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-aes-ctr.c | 89 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_aes_nx_crypt() 133 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in ctr3686_aes_nx_crypt()
|
D | nx-aes-ecb.c | 71 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_aes_nx_crypt()
|
D | nx-aes-cbc.c | 71 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_aes_nx_crypt()
|
/linux-4.4.14/crypto/ |
D | ecb.c | 75 struct crypto_ecb_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ecb_encrypt() 89 struct crypto_ecb_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ecb_decrypt()
|
D | keywrap.c | 140 struct crypto_kw_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_kw_decrypt() 225 struct crypto_kw_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_kw_encrypt()
|
D | pcbc.c | 103 struct crypto_pcbc_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_pcbc_encrypt() 183 struct crypto_pcbc_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_pcbc_decrypt()
|
D | cbc.c | 96 struct crypto_cbc_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_cbc_encrypt() 175 struct crypto_cbc_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_cbc_decrypt()
|
D | xts.c | 150 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in encrypt() 161 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in decrypt()
|
D | cts.c | 129 struct crypto_cts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in crypto_cts_encrypt() 224 struct crypto_cts_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in crypto_cts_decrypt()
|
D | lrw.c | 198 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in encrypt() 209 struct priv *ctx = crypto_blkcipher_ctx(desc->tfm); in decrypt()
|
D | arc4.c | 98 struct arc4_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_arc4_crypt()
|
D | salsa20_generic.c | 183 struct salsa20_ctx *ctx = crypto_blkcipher_ctx(tfm); in encrypt()
|
D | chacha20_generic.c | 153 crypto_chacha20_init(state, crypto_blkcipher_ctx(desc->tfm), walk.iv); in crypto_chacha20_crypt()
|
D | ctr.c | 133 struct crypto_ctr_ctx *ctx = crypto_blkcipher_ctx(tfm); in crypto_ctr_crypt()
|
/linux-4.4.14/include/crypto/ |
D | algapi.h | 254 static inline void *crypto_blkcipher_ctx(struct crypto_blkcipher *tfm) in crypto_blkcipher_ctx() function
|