/arch/arm/crypto/ |
D | aes-neonbs-glue.c | 68 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_setkey() 92 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local 127 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_setkey() 151 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 166 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 192 static int cbc_init(struct crypto_skcipher *tfm) in cbc_init() 209 static void cbc_exit(struct crypto_skcipher *tfm) in cbc_exit() 216 static int aesbs_ctr_setkey_sync(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_ctr_setkey_sync() 237 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local 277 static void ctr_encrypt_one(struct crypto_skcipher *tfm, const u8 *src, u8 *dst) in ctr_encrypt_one() [all …]
|
D | aes-ce-glue.c | 137 static int ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in ce_aes_setkey() 150 static int xts_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in xts_set_key() 169 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local 189 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local 210 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt_walk() local 240 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt_walk() local 269 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local 327 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_decrypt() local 385 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local 421 static void ctr_encrypt_one(struct crypto_skcipher *tfm, const u8 *src, u8 *dst) in ctr_encrypt_one() [all …]
|
D | ghash-ce-glue.c | 156 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() 201 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() local 215 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() local 233 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() local 250 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() local 272 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_import() local 289 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 301 static int ghash_async_init_tfm(struct crypto_tfm *tfm) in ghash_async_init_tfm() 317 static void ghash_async_exit_tfm(struct crypto_tfm *tfm) in ghash_async_exit_tfm()
|
D | curve25519-glue.c | 49 static int curve25519_set_secret(struct crypto_kpp *tfm, const void *buf, in curve25519_set_secret() 66 struct crypto_kpp *tfm = crypto_kpp_reqtfm(req); in curve25519_compute_value() local 97 static unsigned int curve25519_max_size(struct crypto_kpp *tfm) in curve25519_max_size()
|
D | aes-cipher-glue.c | 16 static void aes_arm_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm_encrypt() 24 static void aes_arm_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm_decrypt()
|
/arch/sparc/crypto/ |
D | des_glue.c | 45 static int des_set_key(struct crypto_tfm *tfm, const u8 *key, in des_set_key() 65 static int des_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des_set_key_skcipher() 74 static void sparc_des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des_encrypt() 82 static void sparc_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des_decrypt() 97 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local 138 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __cbc_crypt() local 181 static int des3_ede_set_key(struct crypto_tfm *tfm, const u8 *key, in des3_ede_set_key() 214 static int des3_ede_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des3_ede_set_key_skcipher() 223 static void sparc_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des3_ede_encrypt() 231 static void sparc_des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in sparc_des3_ede_decrypt() [all …]
|
D | camellia_glue.c | 37 static int camellia_set_key(struct crypto_tfm *tfm, const u8 *_in_key, in camellia_set_key() 53 static int camellia_set_key_skcipher(struct crypto_skcipher *tfm, in camellia_set_key_skcipher() 62 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt() 71 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt() 90 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local 140 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 169 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
|
D | aes_glue.c | 168 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 199 static int aes_set_key_skcipher(struct crypto_skcipher *tfm, const u8 *in_key, in aes_set_key_skcipher() 205 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_aes_encrypt() 212 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_aes_decrypt() 221 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local 244 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local 270 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 336 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_crypt() local
|
/arch/powerpc/crypto/ |
D | aes-spe-glue.c | 92 static int ppc_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ppc_aes_setkey() 119 static int ppc_aes_setkey_skcipher(struct crypto_skcipher *tfm, in ppc_aes_setkey_skcipher() 125 static int ppc_xts_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in ppc_xts_setkey() 162 static void ppc_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in ppc_aes_encrypt() 171 static void ppc_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in ppc_aes_decrypt() 182 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_ecb_crypt() local 221 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_cbc_crypt() local 262 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_ctr_crypt() local 288 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_xts_crypt() local 322 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ppc_xts_encrypt() local [all …]
|
/arch/s390/crypto/ |
D | aes_s390.c | 72 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key, in setkey_fallback_cip() 84 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 105 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_encrypt() 116 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_decrypt() 128 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip() 145 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip() 175 static int setkey_fallback_skcipher(struct crypto_skcipher *tfm, const u8 *key, in setkey_fallback_skcipher() 201 static int ecb_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in ecb_aes_set_key() 224 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_crypt() local 254 static int fallback_init_skcipher(struct crypto_skcipher *tfm) in fallback_init_skcipher() [all …]
|
D | des_s390.c | 35 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() 49 static int des_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des_setkey_skcipher() 55 static void s390_des_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in s390_des_encrypt() 62 static void s390_des_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in s390_des_decrypt() 91 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_desall_crypt() local 110 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_desall_crypt() local 200 static int des3_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_setkey() 214 static int des3_setkey_skcipher(struct crypto_skcipher *tfm, const u8 *key, in des3_setkey_skcipher() 220 static void des3_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_encrypt() 227 static void des3_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_decrypt() [all …]
|
D | paes_s390.c | 153 static int ecb_paes_init(struct crypto_skcipher *tfm) in ecb_paes_init() 163 static void ecb_paes_exit(struct crypto_skcipher *tfm) in ecb_paes_exit() 188 static int ecb_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in ecb_paes_set_key() 204 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_paes_crypt() local 266 static int cbc_paes_init(struct crypto_skcipher *tfm) in cbc_paes_init() 276 static void cbc_paes_exit(struct crypto_skcipher *tfm) in cbc_paes_exit() 301 static int cbc_paes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in cbc_paes_set_key() 317 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_paes_crypt() local 384 static int xts_paes_init(struct crypto_skcipher *tfm) in xts_paes_init() 395 static void xts_paes_exit(struct crypto_skcipher *tfm) in xts_paes_exit() [all …]
|
/arch/arm64/crypto/ |
D | aes-glue.c | 131 static int skcipher_aes_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in skcipher_aes_setkey() 139 static int __maybe_unused xts_set_key(struct crypto_skcipher *tfm, in xts_set_key() 156 static int __maybe_unused essiv_cbc_set_key(struct crypto_skcipher *tfm, in essiv_cbc_set_key() 175 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local 195 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local 216 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt_walk() local 245 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt_walk() local 273 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_encrypt() local 330 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cts_cbc_decrypt() local 385 static int __maybe_unused essiv_cbc_init_tfm(struct crypto_skcipher *tfm) in essiv_cbc_init_tfm() [all …]
|
D | sm4-ce-glue.c | 20 static void sm4_ce_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in sm4_ce_encrypt() 33 static void sm4_ce_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in sm4_ce_decrypt()
|
D | aes-neonbs-glue.c | 72 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_setkey() 96 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local 131 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_setkey() 156 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 179 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 207 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local 246 static int aesbs_xts_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_xts_setkey() 275 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __xts_crypt() local
|
D | aes-cipher-glue.c | 15 static void aes_arm64_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm64_encrypt() 23 static void aes_arm64_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_arm64_decrypt()
|
D | aes-ce-glue.c | 46 static void aes_cipher_encrypt(struct crypto_tfm *tfm, u8 dst[], u8 const src[]) in aes_cipher_encrypt() 60 static void aes_cipher_decrypt(struct crypto_tfm *tfm, u8 dst[], u8 const src[]) in aes_cipher_decrypt() 142 int ce_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ce_aes_setkey()
|
/arch/x86/crypto/ |
D | aesni-intel_glue.c | 282 aesni_rfc4106_gcm_ctx *aesni_rfc4106_gcm_ctx_get(struct crypto_aead *tfm) in aesni_rfc4106_gcm_ctx_get() 292 generic_gcmaes_ctx *generic_gcmaes_ctx_get(struct crypto_aead *tfm) in generic_gcmaes_ctx_get() 312 static int aes_set_key_common(struct crypto_tfm *tfm, void *raw_ctx, in aes_set_key_common() 333 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 339 static void aesni_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_encrypt() 352 static void aesni_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aesni_decrypt() 365 static int aesni_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in aesni_skcipher_setkey() 374 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local 396 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local 418 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local [all …]
|
D | twofish_glue.c | 54 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_encrypt() 59 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_decrypt()
|
D | ghash-clmulni-intel_glue.c | 54 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() 162 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() local 176 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() local 194 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() local 234 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() local 253 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 265 static int ghash_async_init_tfm(struct crypto_tfm *tfm) in ghash_async_init_tfm() 283 static void ghash_async_exit_tfm(struct crypto_tfm *tfm) in ghash_async_exit_tfm()
|
D | des3_ede_glue.c | 66 static void des3_ede_x86_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_x86_encrypt() 71 static void des3_ede_x86_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_x86_decrypt() 122 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_encrypt() local 130 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_decrypt() local 161 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_encrypt() local 240 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local 323 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_crypt() local 344 static int des3_ede_x86_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_x86_setkey() 378 static int des3_ede_x86_setkey_skcipher(struct crypto_skcipher *tfm, in des3_ede_x86_setkey_skcipher()
|
D | camellia_aesni_avx_glue.c | 144 static int camellia_setkey(struct crypto_skcipher *tfm, const u8 *key, in camellia_setkey() 175 int xts_camellia_setkey(struct crypto_skcipher *tfm, const u8 *key, in xts_camellia_setkey() 197 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_encrypt() local 206 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_decrypt() local
|
D | serpent_avx2_glue.c | 33 static int serpent_setkey_skcipher(struct crypto_skcipher *tfm, in serpent_setkey_skcipher() 162 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_encrypt() local 172 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_decrypt() local
|
D | camellia_aesni_avx2_glue.c | 142 static int camellia_setkey(struct crypto_skcipher *tfm, const u8 *key, in camellia_setkey() 175 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_encrypt() local 184 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_decrypt() local
|
D | serpent_avx_glue.c | 73 static int serpent_setkey_skcipher(struct crypto_skcipher *tfm, in serpent_setkey_skcipher() 79 int xts_serpent_setkey(struct crypto_skcipher *tfm, const u8 *key, in xts_serpent_setkey() 204 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_encrypt() local 214 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_decrypt() local
|