/linux-4.1.27/include/crypto/ |
D | b128ops.h | 54 } u128; typedef 64 static inline void u128_xor(u128 *r, const u128 *p, const u128 *q) in u128_xor() 72 u128_xor((u128 *)r, (u128 *)p, (u128 *)q); in be128_xor() 77 u128_xor((u128 *)r, (u128 *)p, (u128 *)q); in le128_xor()
|
/linux-4.1.27/arch/x86/crypto/ |
D | glue_helper.c | 99 u128 *src = (u128 *)walk->src.virt.addr; in __glue_cbc_encrypt_128bit() 100 u128 *dst = (u128 *)walk->dst.virt.addr; in __glue_cbc_encrypt_128bit() 101 u128 *iv = (u128 *)walk->iv; in __glue_cbc_encrypt_128bit() 113 *(u128 *)walk->iv = *iv; in __glue_cbc_encrypt_128bit() 145 u128 *src = (u128 *)walk->src.virt.addr; in __glue_cbc_decrypt_128bit() 146 u128 *dst = (u128 *)walk->dst.virt.addr; in __glue_cbc_decrypt_128bit() 147 u128 last_iv; in __glue_cbc_decrypt_128bit() 185 u128_xor(dst, dst, (u128 *)walk->iv); in __glue_cbc_decrypt_128bit() 186 *(u128 *)walk->iv = last_iv; in __glue_cbc_decrypt_128bit() 225 u128 tmp; in glue_ctr_crypt_final_128bit() [all …]
|
D | twofish_glue_3way.c | 51 void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src) in twofish_dec_blk_cbc_3way() 53 u128 ivs[2]; in twofish_dec_blk_cbc_3way() 65 void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_enc_blk_ctr() 76 u128_xor(dst, dst, (u128 *)&ctrblk); in twofish_enc_blk_ctr() 80 void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src, in twofish_enc_blk_ctr_3way()
|
D | serpent_sse2_glue.c | 48 static void serpent_decrypt_cbc_xway(void *ctx, u128 *dst, const u128 *src) in serpent_decrypt_cbc_xway() 50 u128 ivs[SERPENT_PARALLEL_BLOCKS - 1]; in serpent_decrypt_cbc_xway() 62 static void serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_crypt_ctr() 70 u128_xor(dst, src, (u128 *)&ctrblk); in serpent_crypt_ctr() 73 static void serpent_crypt_ctr_xway(void *ctx, u128 *dst, const u128 *src, in serpent_crypt_ctr_xway()
|
D | cast6_avx_glue.c | 60 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc() 66 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec() 72 static void cast6_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_crypt_ctr() 80 u128_xor(dst, src, (u128 *)&ctrblk); in cast6_crypt_ctr()
|
D | serpent_avx_glue.c | 69 void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in __serpent_crypt_ctr() 77 u128_xor(dst, src, (u128 *)&ctrblk); in __serpent_crypt_ctr() 81 void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_enc() 88 void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_dec()
|
D | ghash-clmulni-intel_glue.c | 28 void clmul_ghash_mul(char *dst, const u128 *shash); 31 const u128 *shash); 38 u128 shash;
|
D | camellia_glue.c | 1282 void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src) in camellia_decrypt_cbc_2way() 1284 u128 iv = *src; in camellia_decrypt_cbc_2way() 1292 void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr() 1306 void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr_2way()
|
D | twofish_avx_glue.c | 72 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc() 78 static void twofish_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_dec()
|
D | serpent_avx2_glue.c | 35 asmlinkage void serpent_cbc_dec_16way(void *ctx, u128 *dst, const u128 *src); 37 asmlinkage void serpent_ctr_16way(void *ctx, u128 *dst, const u128 *src,
|
D | camellia_aesni_avx_glue.c | 54 void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_enc() 61 void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_dec()
|
D | aesni-intel_glue.c | 670 static void aesni_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc() 675 static void aesni_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec() 680 static void aesni_xts_enc8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc8() 685 static void aesni_xts_dec8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec8()
|
/linux-4.1.27/arch/x86/include/asm/crypto/ |
D | camellia.h | 92 extern void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src); 93 extern void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src, 95 extern void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src, 98 extern void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv); 99 extern void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv);
|
D | twofish.h | 32 extern void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src); 33 extern void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, 35 extern void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src,
|
D | serpent-avx.h | 34 extern void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, 37 extern void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv); 38 extern void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv);
|
D | glue_helper.h | 14 typedef void (*common_glue_cbc_func_t)(void *ctx, u128 *dst, const u128 *src); 15 typedef void (*common_glue_ctr_func_t)(void *ctx, u128 *dst, const u128 *src, 17 typedef void (*common_glue_xts_func_t)(void *ctx, u128 *dst, const u128 *src, 142 extern void glue_xts_crypt_128bit_one(void *ctx, u128 *dst, const u128 *src,
|
/linux-4.1.27/drivers/crypto/vmx/ |
D | ghash.c | 39 void gcm_init_p8(u128 htable[16], const u64 Xi[2]); 40 void gcm_gmult_p8(u64 Xi[2], const u128 htable[16]); 41 void gcm_ghash_p8(u64 Xi[2], const u128 htable[16], 45 u128 htable[16];
|
/linux-4.1.27/net/bluetooth/ |
D | smp.c | 427 u128_xor((u128 *) res, (u128 *) r, (u128 *) p1); in smp_c1() 437 u128_xor((u128 *) res, (u128 *) res, (u128 *) p2); in smp_c1()
|
/linux-4.1.27/crypto/ |
D | gcm.c | 264 u128 lengths; in gcm_hash_len()
|