/Linux-v4.19/arch/x86/crypto/ |
D | aes_glue.c | 10 asmlinkage void aes_enc_blk(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in); 11 asmlinkage void aes_dec_blk(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in); 13 void crypto_aes_encrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src) in crypto_aes_encrypt_x86() 19 void crypto_aes_decrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src) in crypto_aes_decrypt_x86() 41 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aesni-intel_glue.c | 52 #define CRYPTO_AES_CTX_SIZE (sizeof(struct crypto_aes_ctx) + AESNI_ALIGN_EXTRA) 61 struct crypto_aes_ctx aes_key_expanded AESNI_ALIGN_ATTR; 67 struct crypto_aes_ctx aes_key_expanded AESNI_ALIGN_ATTR; 71 u8 raw_tweak_ctx[sizeof(struct crypto_aes_ctx)] AESNI_ALIGN_ATTR; 72 u8 raw_crypt_ctx[sizeof(struct crypto_aes_ctx)] AESNI_ALIGN_ATTR; 90 asmlinkage int aesni_set_key(struct crypto_aes_ctx *ctx, const u8 *in_key, 92 asmlinkage void aesni_enc(struct crypto_aes_ctx *ctx, u8 *out, 94 asmlinkage void aesni_dec(struct crypto_aes_ctx *ctx, u8 *out, 96 asmlinkage void aesni_ecb_enc(struct crypto_aes_ctx *ctx, u8 *out, 98 asmlinkage void aesni_ecb_dec(struct crypto_aes_ctx *ctx, u8 *out, [all …]
|
/Linux-v4.19/arch/arm64/crypto/ |
D | aes-ce-glue.c | 39 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 53 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_encrypt() 67 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_decrypt() 79 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey() 150 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey() 168 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aes-cipher-glue.c | 23 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt() 31 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt() 43 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aes-glue.c | 91 struct crypto_aes_ctx key1; 92 struct crypto_aes_ctx __aligned(8) key2; 96 struct crypto_aes_ctx key; 135 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt() 155 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt() 175 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt() 195 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt() 215 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ctr_encrypt() 254 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ctr_encrypt_sync() 313 .cra_ctxsize = sizeof(struct crypto_aes_ctx), [all …]
|
D | aes-ce-ccm-glue.c | 22 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 53 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey() 109 static void ccm_update_mac(struct crypto_aes_ctx *key, u8 mac[], u8 const in[], in ccm_update_mac() 151 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac() 189 struct crypto_aes_ctx *ctx, bool enc) in ccm_crypt_fallback() 241 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt() 298 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt() 363 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aes-ce-setkey.h | 5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
|
D | aes-neonbs-glue.c | 65 struct crypto_aes_ctx fallback; 77 struct crypto_aes_ctx rk; in aesbs_setkey() 136 struct crypto_aes_ctx rk; in aesbs_cbc_setkey() 269 struct crypto_aes_ctx rk; in aesbs_xts_setkey()
|
D | aes-ctr-fallback.h | 17 static inline int aes_ctr_encrypt_fallback(struct crypto_aes_ctx *ctx, in aes_ctr_encrypt_fallback()
|
D | ghash-ce-glue.c | 51 struct crypto_aes_ctx aes_key; 243 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
|
/Linux-v4.19/arch/arm/crypto/ |
D | aes-ce-glue.c | 53 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 65 static int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey() 140 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ce_aes_setkey() 152 struct crypto_aes_ctx key1; 153 struct crypto_aes_ctx __aligned(8) key2; 180 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt() 200 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt() 220 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt() 241 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt() 262 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ctr_encrypt() [all …]
|
D | aes-cipher-glue.c | 24 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt() 32 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt() 44 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aes-neonbs-glue.c | 64 struct crypto_aes_ctx rk; in aesbs_setkey() 123 struct crypto_aes_ctx rk; in aesbs_cbc_setkey()
|
/Linux-v4.19/arch/x86/include/asm/crypto/ |
D | aes.h | 8 void crypto_aes_encrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, 10 void crypto_aes_decrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst,
|
/Linux-v4.19/include/crypto/ |
D | aes.h | 25 struct crypto_aes_ctx { struct 38 int crypto_aes_expand_key(struct crypto_aes_ctx *ctx, const u8 *in_key, argument
|
/Linux-v4.19/crypto/ |
D | aes_ti.c | 170 static int aesti_expand_key(struct crypto_aes_ctx *ctx, const u8 *in_key, in aesti_expand_key() 239 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aesti_set_key() 268 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aesti_encrypt() 307 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aesti_decrypt() 350 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aes_generic.c | 1217 int crypto_aes_expand_key(struct crypto_aes_ctx *ctx, const u8 *in_key, in crypto_aes_expand_key() 1290 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_aes_set_key() 1336 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt() 1406 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt() 1449 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
/Linux-v4.19/drivers/crypto/ |
D | padlock-aes.c | 110 struct crypto_aes_ctx gen_aes; in aes_set_key()
|
/Linux-v4.19/drivers/crypto/marvell/ |
D | cipher.c | 32 struct crypto_aes_ctx aes;
|
/Linux-v4.19/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 158 struct crypto_aes_ctx aes; in safexcel_skcipher_aes_setkey()
|