Home
last modified time | relevance | path

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

/linux/arch/riscv/crypto/
H A Daes-riscv64-glue.c24 asmlinkage void aes_ecb_encrypt_zvkned(const struct crypto_aes_ctx *key,
26 asmlinkage void aes_ecb_decrypt_zvkned(const struct crypto_aes_ctx *key,
29 asmlinkage void aes_cbc_encrypt_zvkned(const struct crypto_aes_ctx *key,
32 asmlinkage void aes_cbc_decrypt_zvkned(const struct crypto_aes_ctx *key,
36 asmlinkage void aes_cbc_cts_crypt_zvkned(const struct crypto_aes_ctx *key,
40 asmlinkage void aes_ctr32_crypt_zvkned_zvkb(const struct crypto_aes_ctx *key,
45 const struct crypto_aes_ctx *key,
50 const struct crypto_aes_ctx *key,
54 static int riscv64_aes_setkey(struct crypto_aes_ctx *ctx, in riscv64_aes_setkey()
83 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in riscv64_aes_setkey_skcipher()
[all …]
/linux/arch/x86/crypto/
H A Daesni-intel_glue.c45 #define CRYPTO_AES_CTX_SIZE (sizeof(struct crypto_aes_ctx) + AESNI_ALIGN_EXTRA)
49 struct crypto_aes_ctx tweak_ctx AESNI_ALIGN_ATTR;
50 struct crypto_aes_ctx crypt_ctx AESNI_ALIGN_ATTR;
60 asmlinkage void aesni_set_key(struct crypto_aes_ctx *ctx, const u8 *in_key,
63 asmlinkage void aesni_ecb_enc(struct crypto_aes_ctx *ctx, u8 *out,
65 asmlinkage void aesni_ecb_dec(struct crypto_aes_ctx *ctx, u8 *out,
67 asmlinkage void aesni_cbc_enc(struct crypto_aes_ctx *ctx, u8 *out,
69 asmlinkage void aesni_cbc_dec(struct crypto_aes_ctx *ctx, u8 *out,
71 asmlinkage void aesni_cts_cbc_enc(struct crypto_aes_ctx *ctx, u8 *out,
73 asmlinkage void aesni_cts_cbc_dec(struct crypto_aes_ctx *ctx, u8 *out,
[all …]
/linux/arch/arm/crypto/
H A Daes-ce-glue.c55 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
67 static int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey()
138 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ce_aes_setkey()
144 struct crypto_aes_ctx key1;
145 struct crypto_aes_ctx __aligned(8) key2;
168 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt()
188 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt()
209 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt_walk()
239 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt_walk()
268 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cts_cbc_encrypt()
[all …]
H A Daes-neonbs-glue.c63 struct crypto_aes_ctx rk; in aesbs_setkey()
/linux/arch/arm64/crypto/
H A Daes-glue.c117 struct crypto_aes_ctx key1;
118 struct crypto_aes_ctx __aligned(8) key2;
122 struct crypto_aes_ctx key1;
123 struct crypto_aes_ctx __aligned(8) key2;
127 struct crypto_aes_ctx key;
138 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in skcipher_aes_setkey()
180 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt()
199 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt()
219 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt_walk()
247 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt_walk()
[all …]
H A Daes-ce-ccm-glue.c22 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
49 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey()
134 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac()
168 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt()
232 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt()
303 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
H A Daes-neonbs-glue.c72 struct crypto_aes_ctx cts;
79 struct crypto_aes_ctx *rk; in aesbs_setkey()
141 struct crypto_aes_ctx *rk; in aesbs_cbc_ctr_setkey()
263 struct crypto_aes_ctx rk; in aesbs_xts_setkey()
/linux/include/crypto/
H A Daes.h122 struct crypto_aes_ctx { struct
159 int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
168 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
/linux/lib/crypto/arm64/
H A Daes.h117 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey()
/linux/lib/crypto/
H A Daes.c317 int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in aes_expandkey()
/linux/drivers/crypto/inside-secure/eip93/
H A Deip93-cipher.c119 struct crypto_aes_ctx aes; in eip93_skcipher_setkey()
H A Deip93-aead.c95 struct crypto_aes_ctx aes; in eip93_aead_setkey()
/linux/drivers/crypto/
H A Dpadlock-aes.c112 struct crypto_aes_ctx gen_aes; in aes_set_key()
H A Dsa2ul.c468 struct crypto_aes_ctx ctx; in sa_aes_inv_key()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c377 struct crypto_aes_ctx aes; in safexcel_skcipher_aes_setkey()
409 struct crypto_aes_ctx aes; in safexcel_aead_setkey()
1361 struct crypto_aes_ctx aes; in safexcel_skcipher_aesctr_setkey()
2396 struct crypto_aes_ctx aes; in safexcel_skcipher_aesxts_setkey()
2610 struct crypto_aes_ctx aes; in safexcel_aead_ccm_setkey()
H A Dsafexcel_hash.c1908 struct crypto_aes_ctx aes; in safexcel_cbcmac_setkey()
/linux/drivers/crypto/marvell/cesa/
H A Dcipher.c31 struct crypto_aes_ctx aes;
/linux/drivers/crypto/aspeed/
H A Daspeed-hace-crypto.c579 struct crypto_aes_ctx gen_aes_key; in aspeed_aes_setkey()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c391 struct crypto_aes_ctx aes_expanded; in qat_alg_xts_reverse_key()