Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/crypto/
Daes.h25 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/
Daes_ti.c15 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),
Daes_generic.c1139 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/
Daes-ce-glue.c34 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),
Daes-cipher-glue.c17 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),
Daes-ce-ccm-glue.c20 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),
Daes-glue.c111 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 …]
Daes-ce-setkey.h5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
Daes-neonbs-glue.c68 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()
Dghash-ce-glue.c45 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/
Daesni-intel_glue.c46 #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/
Daes-ce-glue.c57 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 …]
Daes-cipher-glue.c18 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),
Daes-neonbs-glue.c62 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/
Daes.c185 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/
Domap-aes.h105 struct crypto_aes_ctx actx;
Dpadlock-aes.c112 struct crypto_aes_ctx gen_aes; in aes_set_key()
/Linux-v5.10/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c264 struct crypto_aes_ctx aes; in ccp_aes_cmac_setkey()
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c218 struct crypto_aes_ctx aes; in chtls_key_info()
/Linux-v5.10/drivers/crypto/inside-secure/
Dsafexcel_cipher.c377 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()
Dsafexcel_hash.c2016 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/
Dcrypto4xx_alg.c511 struct crypto_aes_ctx ctx; in crypto4xx_compute_gcm_hash_key_sw()
/Linux-v5.10/drivers/crypto/marvell/cesa/
Dcipher.c31 struct crypto_aes_ctx aes;
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c175 struct crypto_aes_ctx aes; in ch_ipsec_setkey()
/Linux-v5.10/drivers/net/phy/mscc/
Dmscc_macsec.c508 struct crypto_aes_ctx ctx; in vsc8584_macsec_derive_key()

12