Home
last modified time | relevance | path

Searched refs:u128 (Results 1 – 19 of 19) sorted by relevance

/linux-4.4.14/include/crypto/
Db128ops.h54 } 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.4.14/arch/x86/crypto/
Dglue_helper.c99 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 …]
Dtwofish_glue_3way.c51 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()
Dserpent_sse2_glue.c48 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()
Dcast6_avx_glue.c59 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc()
65 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec()
71 static void cast6_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_crypt_ctr()
79 u128_xor(dst, src, (u128 *)&ctrblk); in cast6_crypt_ctr()
Dserpent_avx_glue.c68 void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in __serpent_crypt_ctr()
76 u128_xor(dst, src, (u128 *)&ctrblk); in __serpent_crypt_ctr()
80 void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_enc()
87 void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_dec()
Dghash-clmulni-intel_glue.c28 void clmul_ghash_mul(char *dst, const u128 *shash);
31 const u128 *shash);
38 u128 shash;
Dcamellia_glue.c1282 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()
Dserpent_avx2_glue.c34 asmlinkage void serpent_cbc_dec_16way(void *ctx, u128 *dst, const u128 *src);
36 asmlinkage void serpent_ctr_16way(void *ctx, u128 *dst, const u128 *src,
Dtwofish_avx_glue.c70 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc()
76 static void twofish_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_dec()
Dcamellia_aesni_avx_glue.c53 void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_enc()
60 void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_dec()
Daesni-intel_glue.c671 static void aesni_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc()
676 static void aesni_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec()
681 static void aesni_xts_enc8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc8()
686 static void aesni_xts_dec8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec8()
/linux-4.4.14/arch/x86/include/asm/crypto/
Dcamellia.h92 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);
Dtwofish.h32 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,
Dserpent-avx.h34 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);
Dglue_helper.h14 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.4.14/drivers/crypto/vmx/
Dghash.c39 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.4.14/net/bluetooth/
Dsmp.c438 u128_xor((u128 *) res, (u128 *) r, (u128 *) p1); in smp_c1()
455 u128_xor((u128 *) res, (u128 *) res, (u128 *) p2); in smp_c1()
/linux-4.4.14/crypto/
Dgcm.c271 u128 lengths; in gcm_hash_len()