Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/arch/x86/include/asm/crypto/
Dcamellia.h87 extern void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src);
88 extern void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src,
90 extern void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src,
93 extern void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv);
94 extern void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv);
Dtwofish.h22 extern void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src);
23 extern void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src,
25 extern void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src,
Dglue_helper.h15 typedef void (*common_glue_cbc_func_t)(void *ctx, u128 *dst, const u128 *src);
16 typedef void (*common_glue_ctr_func_t)(void *ctx, u128 *dst, const u128 *src,
18 typedef void (*common_glue_xts_func_t)(void *ctx, u128 *dst, const u128 *src,
119 extern void glue_xts_crypt_128bit_one(void *ctx, u128 *dst, const u128 *src,
Dserpent-avx.h33 extern void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src,
36 extern void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv);
37 extern void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv);
/Linux-v5.4/arch/x86/crypto/
Dglue_helper.c78 const u128 *src = (u128 *)walk.src.virt.addr; in glue_cbc_encrypt_req_128bit()
79 u128 *dst = (u128 *)walk.dst.virt.addr; in glue_cbc_encrypt_req_128bit()
80 u128 *iv = (u128 *)walk.iv; in glue_cbc_encrypt_req_128bit()
91 *(u128 *)walk.iv = *iv; in glue_cbc_encrypt_req_128bit()
111 const u128 *src = walk.src.virt.addr; in glue_cbc_decrypt_req_128bit()
112 u128 *dst = walk.dst.virt.addr; in glue_cbc_decrypt_req_128bit()
115 u128 last_iv; in glue_cbc_decrypt_req_128bit()
148 u128_xor(dst, dst, (u128 *)walk.iv); in glue_cbc_decrypt_req_128bit()
149 *(u128 *)walk.iv = last_iv; in glue_cbc_decrypt_req_128bit()
171 const u128 *src = walk.src.virt.addr; in glue_ctr_req_128bit()
[all …]
Dserpent_sse2_glue.c34 static void serpent_decrypt_cbc_xway(void *ctx, u128 *dst, const u128 *src) in serpent_decrypt_cbc_xway()
36 u128 ivs[SERPENT_PARALLEL_BLOCKS - 1]; in serpent_decrypt_cbc_xway()
48 static void serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_crypt_ctr()
56 u128_xor(dst, src, (u128 *)&ctrblk); in serpent_crypt_ctr()
59 static void serpent_crypt_ctr_xway(void *ctx, u128 *dst, const u128 *src, in serpent_crypt_ctr_xway()
Dtwofish_glue_3way.c40 void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src) in twofish_dec_blk_cbc_3way()
42 u128 ivs[2]; in twofish_dec_blk_cbc_3way()
54 void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_enc_blk_ctr()
65 u128_xor(dst, dst, (u128 *)&ctrblk); in twofish_enc_blk_ctr()
69 void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src, in twofish_enc_blk_ctr_3way()
Dcast6_avx_glue.c44 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc()
50 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec()
56 static void cast6_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_crypt_ctr()
64 u128_xor(dst, src, (u128 *)&ctrblk); in cast6_crypt_ctr()
Dserpent_avx_glue.c47 void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in __serpent_crypt_ctr()
55 u128_xor(dst, src, (u128 *)&ctrblk); in __serpent_crypt_ctr()
59 void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_enc()
66 void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_dec()
Dserpent_avx2_glue.c26 asmlinkage void serpent_cbc_dec_16way(void *ctx, u128 *dst, const u128 *src);
28 asmlinkage void serpent_ctr_16way(void *ctx, u128 *dst, const u128 *src,
Dtwofish_avx_glue.c52 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc()
58 static void twofish_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_dec()
Dcamellia_aesni_avx_glue.c45 void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_enc()
52 void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_dec()
Dcamellia_glue.c1270 void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src) in camellia_decrypt_cbc_2way()
1272 u128 iv = *src; in camellia_decrypt_cbc_2way()
1280 void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr()
1294 void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_crypt_ctr_2way()
Dghash-clmulni-intel_glue.c26 void clmul_ghash_mul(char *dst, const u128 *shash);
29 const u128 *shash);
36 u128 shash;
Daesni-intel_glue.c558 static void aesni_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc()
563 static void aesni_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec()
568 static void aesni_xts_enc8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc8()
573 static void aesni_xts_dec8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec8()
/Linux-v5.4/drivers/crypto/vmx/
Dghash.c27 void gcm_init_p8(u128 htable[16], const u64 Xi[2]);
28 void gcm_gmult_p8(u64 Xi[2], const u128 htable[16]);
29 void gcm_ghash_p8(u64 Xi[2], const u128 htable[16],
34 u128 htable[16];
/Linux-v5.4/net/bluetooth/
Dsmp.c432 u128_xor((u128 *) res, (u128 *) r, (u128 *) p1); in smp_c1()
449 u128_xor((u128 *) res, (u128 *) res, (u128 *) p2); in smp_c1()
/Linux-v5.4/arch/arm64/boot/dts/xilinx/
Dzynqmp-zcu106-revA.dts418 temp@4c {/* lm96163 - u128 */
/Linux-v5.4/arch/arm64/crypto/
Dghash-ce-glue.c405 u128 lengths; in gcm_final()