Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/crypto/
Daes_glue.c10 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),
Daesni-intel_glue.c52 #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/
Daes-ce-glue.c39 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),
Daes-cipher-glue.c23 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),
Daes-glue.c91 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 …]
Daes-ce-ccm-glue.c22 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),
Daes-ce-setkey.h5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
Daes-neonbs-glue.c65 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()
Daes-ctr-fallback.h17 static inline int aes_ctr_encrypt_fallback(struct crypto_aes_ctx *ctx, in aes_ctr_encrypt_fallback()
Dghash-ce-glue.c51 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/
Daes-ce-glue.c53 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 …]
Daes-cipher-glue.c24 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),
Daes-neonbs-glue.c64 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/
Daes.h8 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/
Daes.h25 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/
Daes_ti.c170 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),
Daes_generic.c1217 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/
Dpadlock-aes.c110 struct crypto_aes_ctx gen_aes; in aes_set_key()
/Linux-v4.19/drivers/crypto/marvell/
Dcipher.c32 struct crypto_aes_ctx aes;
/Linux-v4.19/drivers/crypto/inside-secure/
Dsafexcel_cipher.c158 struct crypto_aes_ctx aes; in safexcel_skcipher_aes_setkey()