| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/include/crypto/ |
| H 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);
|
| /OK3568_Linux_fs/kernel/include/trace/hooks/ |
| H A D | fips140.h | 12 struct crypto_aes_ctx; 33 TP_PROTO(struct crypto_aes_ctx *ctx, 40 TP_PROTO(const struct crypto_aes_ctx *ctx, 47 TP_PROTO(const struct crypto_aes_ctx *ctx,
|
| /OK3568_Linux_fs/kernel/arch/arm64/crypto/ |
| H 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),
|
| H A 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),
|
| H A 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 …]
|
| H 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),
|
| H A D | aes-neonbs-glue.c | 69 struct crypto_aes_ctx cts; 76 struct crypto_aes_ctx rk; in aesbs_setkey() 135 struct crypto_aes_ctx rk; in aesbs_cbc_setkey() 250 struct crypto_aes_ctx rk; in aesbs_xts_setkey()
|
| H A D | aes-ce-setkey.h | 5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/arm/crypto/ |
| H A 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 …]
|
| H 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),
|
| H 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()
|
| /OK3568_Linux_fs/kernel/crypto/ |
| H 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),
|
| H 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),
|
| H A D | fips140-module.c | 447 static void fips140_aes_expandkey(void *p, struct crypto_aes_ctx *ctx, in fips140_aes_expandkey() 454 static void fips140_aes_encrypt(void *priv, const struct crypto_aes_ctx *ctx, in fips140_aes_encrypt() 461 static void fips140_aes_decrypt(void *priv, const struct crypto_aes_ctx *ctx, in fips140_aes_decrypt()
|
| H A D | fips140-selftests.c | 201 struct crypto_aes_ctx ctx; in fips_test_aes_library()
|
| /OK3568_Linux_fs/kernel/lib/crypto/ |
| H A D | aes.c | 186 int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in aes_expandkey() 266 void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_encrypt() 324 void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_decrypt()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | omap-aes.h | 105 struct crypto_aes_ctx actx;
|
| H A D | padlock-aes.c | 112 struct crypto_aes_ctx gen_aes; in aes_set_key()
|
| /OK3568_Linux_fs/kernel/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() 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()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ccp/ |
| H A D | ccp-crypto-aes-cmac.c | 264 struct crypto_aes_ctx aes; in ccp_aes_cmac_setkey()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| H A D | chtls_hw.c | 259 struct crypto_aes_ctx aes; in chtls_key_info()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/marvell/cesa/ |
| H A D | cipher.c | 31 struct crypto_aes_ctx aes;
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
| H A D | chcr_ipsec.c | 175 struct crypto_aes_ctx aes; in ch_ipsec_setkey()
|