Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/riscv/crypto/
Daes-riscv64-glue.c26 asmlinkage void aes_encrypt_zvkned(const struct crypto_aes_ctx *key,
29 asmlinkage void aes_decrypt_zvkned(const struct crypto_aes_ctx *key,
33 asmlinkage void aes_ecb_encrypt_zvkned(const struct crypto_aes_ctx *key,
35 asmlinkage void aes_ecb_decrypt_zvkned(const struct crypto_aes_ctx *key,
38 asmlinkage void aes_cbc_encrypt_zvkned(const struct crypto_aes_ctx *key,
41 asmlinkage void aes_cbc_decrypt_zvkned(const struct crypto_aes_ctx *key,
45 asmlinkage void aes_cbc_cts_crypt_zvkned(const struct crypto_aes_ctx *key,
49 asmlinkage void aes_ctr32_crypt_zvkned_zvkb(const struct crypto_aes_ctx *key,
54 const struct crypto_aes_ctx *key,
59 const struct crypto_aes_ctx *key,
[all …]
/linux-6.12.1/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);
90 void aescfb_encrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src,
92 void aescfb_decrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src,
Dgcm.h69 struct crypto_aes_ctx aes_ctx;
/linux-6.12.1/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-6.12.1/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-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;
128 struct crypto_aes_ctx key;
140 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in skcipher_aes_setkey()
182 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_encrypt()
202 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt()
223 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt_walk()
252 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt_walk()
[all …]
Daes-ce-ccm-glue.c23 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
50 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey()
138 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac()
182 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt()
248 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt()
321 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
Daes-ce-setkey.h5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
Daes-neonbs-glue.c72 struct crypto_aes_ctx cts;
79 struct crypto_aes_ctx rk; in aesbs_setkey()
138 struct crypto_aes_ctx rk; in aesbs_cbc_ctr_setkey()
256 struct crypto_aes_ctx rk; in aesbs_xts_setkey()
Dghash-ce-glue.c47 struct crypto_aes_ctx aes_key;
220 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
/linux-6.12.1/arch/x86/crypto/
Daesni-intel_glue.c46 #define CRYPTO_AES_CTX_SIZE (sizeof(struct crypto_aes_ctx) + AESNI_ALIGN_EXTRA)
50 struct crypto_aes_ctx tweak_ctx AESNI_ALIGN_ATTR;
51 struct crypto_aes_ctx crypt_ctx AESNI_ALIGN_ATTR;
61 asmlinkage void aesni_set_key(struct crypto_aes_ctx *ctx, const u8 *in_key,
65 asmlinkage void aesni_ecb_enc(struct crypto_aes_ctx *ctx, u8 *out,
67 asmlinkage void aesni_ecb_dec(struct crypto_aes_ctx *ctx, u8 *out,
69 asmlinkage void aesni_cbc_enc(struct crypto_aes_ctx *ctx, u8 *out,
71 asmlinkage void aesni_cbc_dec(struct crypto_aes_ctx *ctx, u8 *out,
73 asmlinkage void aesni_cts_cbc_enc(struct crypto_aes_ctx *ctx, u8 *out,
75 asmlinkage void aesni_cts_cbc_dec(struct crypto_aes_ctx *ctx, u8 *out,
[all …]
/linux-6.12.1/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.c19 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm_encrypt()
27 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_arm_decrypt()
39 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
Daes-neonbs-glue.c53 struct crypto_aes_ctx fallback;
58 struct crypto_aes_ctx fallback;
59 struct crypto_aes_ctx tweak_key;
64 struct crypto_aes_ctx fallback;
71 struct crypto_aes_ctx rk; in aesbs_setkey()
/linux-6.12.1/lib/crypto/
Daescfb.c15 static void aescfb_encrypt_block(const struct crypto_aes_ctx *ctx, void *dst, in aescfb_encrypt_block()
42 void aescfb_encrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src, in aescfb_encrypt()
71 void aescfb_decrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src, in aescfb_decrypt()
218 struct crypto_aes_ctx ctx; in libaescfb_init()
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()
Daesgcm.c16 static void aesgcm_encrypt_block(const struct crypto_aes_ctx *ctx, void *dst, in aesgcm_encrypt_block()
/linux-6.12.1/drivers/crypto/
Domap-aes.h103 struct crypto_aes_ctx actx;
Dpadlock-aes.c112 struct crypto_aes_ctx gen_aes; in aes_set_key()
/linux-6.12.1/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()
1361 struct crypto_aes_ctx aes; in safexcel_skcipher_aesctr_setkey()
2396 struct crypto_aes_ctx aes; in safexcel_skcipher_aesxts_setkey()
2510 struct crypto_aes_ctx aes; in safexcel_aead_gcm_setkey()
2612 struct crypto_aes_ctx aes; in safexcel_aead_ccm_setkey()
/linux-6.12.1/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c264 struct crypto_aes_ctx aes; in ccp_aes_cmac_setkey()
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c259 struct crypto_aes_ctx aes; in chtls_key_info()
/linux-6.12.1/drivers/staging/rtl8723bs/core/
Drtw_security.c678 struct crypto_aes_ctx ctx; in aes128k128d()
1475 struct crypto_aes_ctx ctx; in omac1_aes_128_vector()

12