| /linux/arch/riscv/crypto/ |
| H A D | aes-riscv64-glue.c | 26 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/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); 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,
|
| H A D | df_sp80090a.h | 21 int crypto_drbg_ctr_df(struct crypto_aes_ctx *aes,
|
| H A D | gcm.h | 69 struct crypto_aes_ctx aes_ctx;
|
| /linux/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 | df_sp80090a.c | 17 static void drbg_kcapi_symsetkey(struct crypto_aes_ctx *aesctx, 20 static void drbg_kcapi_symsetkey(struct crypto_aes_ctx *aesctx, in drbg_kcapi_symsetkey() 26 static void drbg_kcapi_sym(struct crypto_aes_ctx *aesctx, in drbg_kcapi_sym() 37 static void drbg_ctr_bcc(struct crypto_aes_ctx *aesctx, in drbg_ctr_bcc() 113 int crypto_drbg_ctr_df(struct crypto_aes_ctx *aesctx, in crypto_drbg_ctr_df()
|
| H A D | drbg.c | 1508 struct crypto_aes_ctx *aesctx = (struct crypto_aes_ctx *)drbg->priv_data; in drbg_fini_sym_kernel() 1529 struct crypto_aes_ctx *aesctx; in drbg_init_sym_kernel()
|
| /linux/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() 61 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_decrypt() 72 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey() 144 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey() 156 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
| 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-glue.c | 119 struct crypto_aes_ctx key1; 120 struct crypto_aes_ctx __aligned(8) key2; 124 struct crypto_aes_ctx key1; 125 struct crypto_aes_ctx __aligned(8) key2; 129 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() 201 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in ecb_decrypt() 221 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_encrypt_walk() 249 struct crypto_aes_ctx *ctx = crypto_skcipher_ctx(tfm); in cbc_decrypt_walk() [all …]
|
| H A D | aes-ce-ccm-glue.c | 24 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 51 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey() 136 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac() 170 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt() 234 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt() 305 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
| H A D | aes-ce-setkey.h | 5 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
|
| H A D | aes-neonbs-glue.c | 72 struct crypto_aes_ctx cts; 79 struct crypto_aes_ctx rk; in aesbs_setkey() 136 struct crypto_aes_ctx rk; in aesbs_cbc_ctr_setkey() 254 struct crypto_aes_ctx rk; in aesbs_xts_setkey()
|
| H A D | ghash-ce-glue.c | 43 struct crypto_aes_ctx aes_key; 189 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds()
|
| /linux/arch/x86/crypto/ |
| H A D | aesni-intel_glue.c | 45 #define CRYPTO_AES_CTX_SIZE (sizeof(struct crypto_aes_ctx) + AESNI_ALIGN_EXTRA) 49 struct crypto_aes_ctx tweak_ctx AESNI_ALIGN_ATTR; 50 struct crypto_aes_ctx crypt_ctx AESNI_ALIGN_ATTR; 60 asmlinkage void aesni_set_key(struct crypto_aes_ctx *ctx, const u8 *in_key, 64 asmlinkage void aesni_ecb_enc(struct crypto_aes_ctx *ctx, u8 *out, 66 asmlinkage void aesni_ecb_dec(struct crypto_aes_ctx *ctx, u8 *out, 68 asmlinkage void aesni_cbc_enc(struct crypto_aes_ctx *ctx, u8 *out, 70 asmlinkage void aesni_cbc_dec(struct crypto_aes_ctx *ctx, u8 *out, 72 asmlinkage void aesni_cts_cbc_enc(struct crypto_aes_ctx *ctx, u8 *out, 74 asmlinkage void aesni_cts_cbc_dec(struct crypto_aes_ctx *ctx, u8 *out, [all …]
|
| /linux/arch/arm/crypto/ |
| H A D | aes-cipher-glue.c | 19 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),
|
| /linux/lib/crypto/ |
| H A D | aescfb.c | 14 static void aescfb_encrypt_block(const struct crypto_aes_ctx *ctx, void *dst, in aescfb_encrypt_block() 41 void aescfb_encrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src, in aescfb_encrypt() 70 void aescfb_decrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src, in aescfb_decrypt() 217 struct crypto_aes_ctx ctx; in libaescfb_init()
|
| H A D | aes.c | 186 int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in aes_expandkey() 259 void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_encrypt() 310 void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_decrypt()
|
| H A D | aesgcm.c | 15 static void aesgcm_encrypt_block(const struct crypto_aes_ctx *ctx, void *dst, in aesgcm_encrypt_block()
|
| /linux/drivers/crypto/xilinx/ |
| H A D | xilinx-trng.c | 63 struct crypto_aes_ctx *aesctx;
|
| /linux/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() 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/drivers/crypto/ccp/ |
| H A D | ccp-crypto-aes-cmac.c | 264 struct crypto_aes_ctx aes; in ccp_aes_cmac_setkey()
|
| /linux/drivers/crypto/ |
| H A D | padlock-aes.c | 112 struct crypto_aes_ctx gen_aes; in aes_set_key()
|
| /linux/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_security.c | 640 struct crypto_aes_ctx ctx; in aes128k128d() 1409 struct crypto_aes_ctx ctx; in omac1_aes_128_vector()
|
| /linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
| H A D | chcr_ipsec.c | 173 struct crypto_aes_ctx aes; in ch_ipsec_setkey()
|