Searched refs:crypto_aes_ctx (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/arch/x86/crypto/ |
D | aes_glue.c | 10 asmlinkage void aes_enc_blk(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in); 11 asmlinkage void aes_dec_blk(struct crypto_aes_ctx *ctx, u8 *out, const u8 *in); 13 void crypto_aes_encrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src) in crypto_aes_encrypt_x86() 19 void crypto_aes_decrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src) in crypto_aes_decrypt_x86() 41 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aesni-intel_glue.c | 53 struct crypto_aes_ctx aes_key_expanded; 75 u8 raw_aes_ctx[sizeof(struct crypto_aes_ctx) + AESNI_ALIGN - 1]; 79 u8 raw_tweak_ctx[sizeof(struct crypto_aes_ctx) + AESNI_ALIGN - 1]; 80 u8 raw_crypt_ctx[sizeof(struct crypto_aes_ctx) + AESNI_ALIGN - 1]; 83 asmlinkage int aesni_set_key(struct crypto_aes_ctx *ctx, const u8 *in_key, 85 asmlinkage void aesni_enc(struct crypto_aes_ctx *ctx, u8 *out, 87 asmlinkage void aesni_dec(struct crypto_aes_ctx *ctx, u8 *out, 89 asmlinkage void aesni_ecb_enc(struct crypto_aes_ctx *ctx, u8 *out, 91 asmlinkage void aesni_ecb_dec(struct crypto_aes_ctx *ctx, u8 *out, 93 asmlinkage void aesni_cbc_enc(struct crypto_aes_ctx *ctx, u8 *out, [all …]
|
/linux-4.1.27/arch/arm64/crypto/ |
D | aes-ce-cipher.c | 27 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 41 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_encrypt() 86 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_decrypt() 149 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey() 225 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey() 243 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aes-glue.c | 78 struct crypto_aes_ctx key1; 79 struct crypto_aes_ctx __aligned(8) key2; 102 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() 124 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() 146 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() 169 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() 192 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_encrypt() 290 .cra_ctxsize = sizeof(struct crypto_aes_ctx), 309 .cra_ctxsize = sizeof(struct crypto_aes_ctx), 328 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aes-ce-ccm-glue.c | 21 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() 109 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac() 151 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt() 206 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt() 267 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
D | aes-ce-setkey.h | 4 int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
|
/linux-4.1.27/arch/arm/crypto/ |
D | aes-ce-glue.c | 51 static int num_rounds(struct crypto_aes_ctx *ctx) in num_rounds() 63 static int ce_aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key, in ce_aes_expandkey() 133 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey() 145 struct crypto_aes_ctx key1; 146 struct crypto_aes_ctx __aligned(8) key2; 169 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_encrypt() 192 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_decrypt() 215 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_encrypt() 239 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_decrypt() 263 struct crypto_aes_ctx *ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_encrypt() [all …]
|
/linux-4.1.27/arch/x86/include/asm/crypto/ |
D | aes.h | 7 void crypto_aes_encrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, 9 void crypto_aes_decrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst,
|
/linux-4.1.27/include/crypto/ |
D | aes.h | 24 struct crypto_aes_ctx { struct 37 int crypto_aes_expand_key(struct crypto_aes_ctx *ctx, const u8 *in_key, argument
|
/linux-4.1.27/crypto/ |
D | aes_generic.c | 1216 int crypto_aes_expand_key(struct crypto_aes_ctx *ctx, const u8 *in_key, in crypto_aes_expand_key() 1285 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_aes_set_key() 1331 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt() 1403 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt() 1448 .cra_ctxsize = sizeof(struct crypto_aes_ctx),
|
/linux-4.1.27/drivers/crypto/ |
D | padlock-aes.c | 110 struct crypto_aes_ctx gen_aes; in aes_set_key()
|
D | mv_cesa.c | 171 struct crypto_aes_ctx gen_aes_key; in compute_aes_dec_key()
|