| /linux/arch/riscv/crypto/ |
| H A D | aes-riscv64-glue.c | 24 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 D | aesni-intel_glue.c | 45 #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 D | aes-ce-glue.c | 55 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 D | aes-neonbs-glue.c | 63 struct crypto_aes_ctx rk; in aesbs_setkey()
|
| /linux/arch/arm64/crypto/ |
| H A D | aes-glue.c | 117 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 D | aes-ce-ccm-glue.c | 22 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 D | aes-neonbs-glue.c | 72 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 D | aes.h | 122 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 D | aes.h | 117 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey()
|
| /linux/lib/crypto/ |
| H A D | aes.c | 317 int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in aes_expandkey()
|
| /linux/drivers/crypto/inside-secure/eip93/ |
| H A D | eip93-cipher.c | 119 struct crypto_aes_ctx aes; in eip93_skcipher_setkey()
|
| H A D | eip93-aead.c | 95 struct crypto_aes_ctx aes; in eip93_aead_setkey()
|
| /linux/drivers/crypto/ |
| H A D | padlock-aes.c | 112 struct crypto_aes_ctx gen_aes; in aes_set_key()
|
| H A D | sa2ul.c | 468 struct crypto_aes_ctx ctx; in sa_aes_inv_key()
|
| /linux/drivers/crypto/inside-secure/ |
| H A D | safexcel_cipher.c | 377 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 D | safexcel_hash.c | 1908 struct crypto_aes_ctx aes; in safexcel_cbcmac_setkey()
|
| /linux/drivers/crypto/marvell/cesa/ |
| H A D | cipher.c | 31 struct crypto_aes_ctx aes;
|
| /linux/drivers/crypto/aspeed/ |
| H A D | aspeed-hace-crypto.c | 579 struct crypto_aes_ctx gen_aes_key; in aspeed_aes_setkey()
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | qat_algs.c | 391 struct crypto_aes_ctx aes_expanded; in qat_alg_xts_reverse_key()
|