| /Linux-v5.10/include/crypto/ |
| D | aes.h | 25 struct crypto_aes_ctx { struct 68 int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, 77 void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in); 85 void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in);
|
| /Linux-v5.10/crypto/ |
| D | aes_ti.c | 15 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aesti_set_key() 22 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aesti_encrypt() 38 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aesti_decrypt() 58 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
| D | aes_generic.c | 1139 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_aes_set_key() 1178 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_aes_encrypt() 1248 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_aes_decrypt() 1291 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
| /Linux-v5.10/arch/arm64/crypto/ |
| D | aes-ce-glue.c | 34 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 48 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_encrypt() 62 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_decrypt() 74 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey() 145 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey() 157 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
| D | aes-cipher-glue.c | 17 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm64_encrypt() 25 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm64_decrypt() 37 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
| D | aes-ce-ccm-glue.c | 20 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() 99 static void ccm_update_mac(struct crypto_aes_ctx *key, u8 mac[], u8 const in[], in ccm_update_mac() 137 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac() 175 struct crypto_aes_ctx *ctx, bool enc) in ccm_crypt_fallback() 225 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt() 282 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt() 347 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
| D | aes-glue.c | 111 struct crypto_aes_ctx key1; 112 struct crypto_aes_ctx __aligned(8) key2; 116 struct crypto_aes_ctx key1; 117 struct crypto_aes_ctx __aligned(8) key2; 122 struct crypto_aes_ctx key; 134 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in skcipher_aes_setkey() 176 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt() 196 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt() 217 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt_walk() 246 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt_walk() [all …]
|
| D | aes-ce-setkey.h | 5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
|
| D | aes-neonbs-glue.c | 68 struct crypto_aes_ctx fallback; 74 struct crypto_aes_ctx cts; 81 struct crypto_aes_ctx rk; in aesbs_setkey() 140 struct crypto_aes_ctx rk; in aesbs_cbc_setkey() 274 struct crypto_aes_ctx rk; in aesbs_xts_setkey()
|
| D | ghash-ce-glue.c | 45 struct crypto_aes_ctx aes_key; 217 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
|
| /Linux-v5.10/arch/x86/crypto/ |
| D | aesni-intel_glue.c | 46 #define CRYPTO_AES_CTX_SIZE (sizeof(struct crypto_aes_ctx) + AESNI_ALIGN_EXTRA) 55 struct crypto_aes_ctx aes_key_expanded AESNI_ALIGN_ATTR; 61 struct crypto_aes_ctx aes_key_expanded AESNI_ALIGN_ATTR; 65 u8 raw_tweak_ctx[sizeof(struct crypto_aes_ctx)] AESNI_ALIGN_ATTR; 66 u8 raw_crypt_ctx[sizeof(struct crypto_aes_ctx)] AESNI_ALIGN_ATTR; 84 asmlinkage int aesni_set_key(struct crypto_aes_ctx *ctx, const u8 *in_key, 88 asmlinkage void aesni_ecb_enc(struct crypto_aes_ctx *ctx, u8 *out, 90 asmlinkage void aesni_ecb_dec(struct crypto_aes_ctx *ctx, u8 *out, 92 asmlinkage void aesni_cbc_enc(struct crypto_aes_ctx *ctx, u8 *out, 94 asmlinkage void aesni_cbc_dec(struct crypto_aes_ctx *ctx, u8 *out, [all …]
|
| /Linux-v5.10/arch/arm/crypto/ |
| D | aes-ce-glue.c | 57 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 69 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() 146 struct crypto_aes_ctx key1; 147 struct crypto_aes_ctx __aligned(8) key2; 170 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt() 190 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt() 211 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt_walk() 241 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt_walk() 270 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cts_cbc_encrypt() [all …]
|
| D | aes-cipher-glue.c | 18 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm_encrypt() 26 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm_decrypt() 38 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
| D | aes-neonbs-glue.c | 62 struct crypto_aes_ctx fallback; 69 struct crypto_aes_ctx rk; in aesbs_setkey() 128 struct crypto_aes_ctx rk; in aesbs_cbc_setkey()
|
| /Linux-v5.10/lib/crypto/ |
| D | aes.c | 185 int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in aes_expandkey() 258 void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_encrypt() 309 void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_decrypt()
|
| /Linux-v5.10/drivers/crypto/ |
| D | omap-aes.h | 105 struct crypto_aes_ctx actx;
|
| D | padlock-aes.c | 112 struct crypto_aes_ctx gen_aes; in aes_set_key()
|
| /Linux-v5.10/drivers/crypto/ccp/ |
| D | ccp-crypto-aes-cmac.c | 264 struct crypto_aes_ctx aes; in ccp_aes_cmac_setkey()
|
| /Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| D | chtls_hw.c | 218 struct crypto_aes_ctx aes; in chtls_key_info()
|
| /Linux-v5.10/drivers/crypto/inside-secure/ |
| 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() 1417 struct crypto_aes_ctx aes; in safexcel_skcipher_aesctr_setkey() 2452 struct crypto_aes_ctx aes; in safexcel_skcipher_aesxts_setkey() 2566 struct crypto_aes_ctx aes; in safexcel_aead_gcm_setkey() 2679 struct crypto_aes_ctx aes; in safexcel_aead_ccm_setkey()
|
| D | safexcel_hash.c | 2016 struct crypto_aes_ctx aes; in safexcel_cbcmac_setkey() 2084 struct crypto_aes_ctx aes; in safexcel_xcbcmac_setkey() 2179 struct crypto_aes_ctx aes; in safexcel_cmac_setkey()
|
| /Linux-v5.10/drivers/crypto/amcc/ |
| D | crypto4xx_alg.c | 511 struct crypto_aes_ctx ctx; in crypto4xx_compute_gcm_hash_key_sw()
|
| /Linux-v5.10/drivers/crypto/marvell/cesa/ |
| D | cipher.c | 31 struct crypto_aes_ctx aes;
|
| /Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
| D | chcr_ipsec.c | 175 struct crypto_aes_ctx aes; in ch_ipsec_setkey()
|
| /Linux-v5.10/drivers/net/phy/mscc/ |
| D | mscc_macsec.c | 508 struct crypto_aes_ctx ctx; in vsc8584_macsec_derive_key()
|