/linux-6.3-rc2/include/crypto/ |
A 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);
|
A D | gcm.h | 69 struct crypto_aes_ctx aes_ctx;
|
/linux-6.3-rc2/crypto/ |
A 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),
|
A 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-6.3-rc2/arch/arm64/crypto/ |
A 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),
|
A 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),
|
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; 128 struct crypto_aes_ctx key; 140 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in skcipher_aes_setkey() 693 .cra_ctxsize = sizeof(struct crypto_aes_ctx), 707 .cra_ctxsize = sizeof(struct crypto_aes_ctx), 722 .cra_ctxsize = sizeof(struct crypto_aes_ctx), 738 .cra_ctxsize = sizeof(struct crypto_aes_ctx), [all …]
|
A D | aes-ce-ccm-glue.c | 18 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 47 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey() 100 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac() 149 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt() 202 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt() 265 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
A D | aes-ce-setkey.h | 5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
|
A D | aes-neonbs-glue.c | 71 struct crypto_aes_ctx cts; 78 struct crypto_aes_ctx rk; in aesbs_setkey() 137 struct crypto_aes_ctx rk; in aesbs_cbc_ctr_setkey() 244 struct crypto_aes_ctx rk; in aesbs_xts_setkey()
|
A D | ghash-ce-glue.c | 47 struct crypto_aes_ctx aes_key; 220 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
|
/linux-6.3-rc2/arch/x86/crypto/ |
A D | aesni-intel_glue.c | 54 struct crypto_aes_ctx aes_key_expanded AESNI_ALIGN_ATTR; 60 struct crypto_aes_ctx aes_key_expanded AESNI_ALIGN_ATTR; 64 u8 raw_tweak_ctx[sizeof(struct crypto_aes_ctx)] AESNI_ALIGN_ATTR; 65 u8 raw_crypt_ctx[sizeof(struct crypto_aes_ctx)] AESNI_ALIGN_ATTR; 87 asmlinkage void aesni_ecb_enc(struct crypto_aes_ctx *ctx, u8 *out, 222 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) in aes_ctx() 229 return (struct crypto_aes_ctx *)ALIGN(addr, align); in aes_ctx() 235 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common() 261 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_encrypt() 274 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_decrypt() [all …]
|
/linux-6.3-rc2/arch/arm/crypto/ |
A D | aes-ce-glue.c | 57 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 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() 594 .base.cra_ctxsize = sizeof(struct crypto_aes_ctx), 608 .base.cra_ctxsize = sizeof(struct crypto_aes_ctx), 623 .base.cra_ctxsize = sizeof(struct crypto_aes_ctx), 639 .base.cra_ctxsize = sizeof(struct crypto_aes_ctx), [all …]
|
A 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),
|
A D | aes-neonbs-glue.c | 65 struct crypto_aes_ctx fallback; 72 struct crypto_aes_ctx rk; in aesbs_setkey() 131 struct crypto_aes_ctx rk; in aesbs_cbc_setkey()
|
/linux-6.3-rc2/lib/crypto/ |
A 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()
|
A D | aesgcm.c | 16 static void aesgcm_encrypt_block(const struct crypto_aes_ctx *ctx, void *dst, in aesgcm_encrypt_block()
|
/linux-6.3-rc2/drivers/crypto/ |
A D | omap-aes.h | 105 struct crypto_aes_ctx actx;
|
A D | padlock-aes.c | 112 struct crypto_aes_ctx gen_aes; in aes_set_key()
|
/linux-6.3-rc2/drivers/crypto/ccp/ |
A D | ccp-crypto-aes-cmac.c | 264 struct crypto_aes_ctx aes; in ccp_aes_cmac_setkey()
|
/linux-6.3-rc2/drivers/crypto/inside-secure/ |
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() 1434 struct crypto_aes_ctx aes; in safexcel_skcipher_aesctr_setkey() 2469 struct crypto_aes_ctx aes; in safexcel_skcipher_aesxts_setkey() 2583 struct crypto_aes_ctx aes; in safexcel_aead_gcm_setkey() 2685 struct crypto_aes_ctx aes; in safexcel_aead_ccm_setkey()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A D | chtls_hw.c | 259 struct crypto_aes_ctx aes; in chtls_key_info()
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/ |
A D | rtw_security.c | 679 struct crypto_aes_ctx ctx; in aes128k128d() 1476 struct crypto_aes_ctx ctx; in omac1_aes_128_vector()
|
/linux-6.3-rc2/drivers/crypto/amcc/ |
A D | crypto4xx_alg.c | 511 struct crypto_aes_ctx ctx; in crypto4xx_compute_gcm_hash_key_sw()
|
/linux-6.3-rc2/drivers/crypto/marvell/cesa/ |
A D | cipher.c | 31 struct crypto_aes_ctx aes;
|