Home
last modified time | relevance | path

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

/Linux-v5.10/lib/crypto/
Dcurve25519-hacl64.c17 typedef __uint128_t u128; typedef
53 static __always_inline void fproduct_copy_from_wide_(u64 *output, u128 *input) in fproduct_copy_from_wide_()
56 u128 xi = input[0]; in fproduct_copy_from_wide_()
60 u128 xi = input[1]; in fproduct_copy_from_wide_()
64 u128 xi = input[2]; in fproduct_copy_from_wide_()
68 u128 xi = input[3]; in fproduct_copy_from_wide_()
72 u128 xi = input[4]; in fproduct_copy_from_wide_()
78 fproduct_sum_scalar_multiplication_(u128 *output, u64 *input, u64 s) in fproduct_sum_scalar_multiplication_()
80 output[0] += (u128)input[0] * s; in fproduct_sum_scalar_multiplication_()
81 output[1] += (u128)input[1] * s; in fproduct_sum_scalar_multiplication_()
[all …]
Dpoly1305-donna64.c13 typedef __uint128_t u128; typedef
43 u128 d0, d1, d2, d; in poly1305_core_blocks()
73 d0 = (u128)h0 * r0; in poly1305_core_blocks()
74 d = (u128)h1 * s2; in poly1305_core_blocks()
76 d = (u128)h2 * s1; in poly1305_core_blocks()
78 d1 = (u128)h0 * r1; in poly1305_core_blocks()
79 d = (u128)h1 * r0; in poly1305_core_blocks()
81 d = (u128)h2 * s2; in poly1305_core_blocks()
83 d2 = (u128)h0 * r2; in poly1305_core_blocks()
84 d = (u128)h1 * r1; in poly1305_core_blocks()
[all …]
/Linux-v5.10/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.10/arch/x86/crypto/
Dserpent_sse2_glue.c36 u128 ivs[SERPENT_PARALLEL_BLOCKS - 1]; in serpent_decrypt_cbc_xway()
37 u128 *dst = (u128 *)d; in serpent_decrypt_cbc_xway()
38 const u128 *src = (const u128 *)s; in serpent_decrypt_cbc_xway()
53 u128 *dst = (u128 *)d; in serpent_crypt_ctr()
54 const u128 *src = (const u128 *)s; in serpent_crypt_ctr()
60 u128_xor(dst, src, (u128 *)&ctrblk); in serpent_crypt_ctr()
67 u128 *dst = (u128 *)d; in serpent_crypt_ctr_xway()
68 const u128 *src = (const u128 *)s; in serpent_crypt_ctr_xway()
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()
149 u128_xor(dst, dst, (u128 *)walk.iv); in glue_cbc_decrypt_req_128bit()
150 *(u128 *)walk.iv = last_iv; in glue_cbc_decrypt_req_128bit()
172 const u128 *src = walk.src.virt.addr; in glue_ctr_req_128bit()
[all …]
Dtwofish_glue_3way.c41 u128 ivs[2]; in twofish_dec_blk_cbc_3way()
42 u128 *dst = (u128 *)d; in twofish_dec_blk_cbc_3way()
43 const u128 *src = (const u128 *)s; in twofish_dec_blk_cbc_3way()
58 u128 *dst = (u128 *)d; in twofish_enc_blk_ctr()
59 const u128 *src = (const u128 *)s; in twofish_enc_blk_ctr()
68 u128_xor(dst, dst, (u128 *)&ctrblk); in twofish_enc_blk_ctr()
75 u128 *dst = (u128 *)d; in twofish_enc_blk_ctr_3way()
76 const u128 *src = (const u128 *)s; in twofish_enc_blk_ctr_3way()
Dcamellia_glue.c1267 u128 *dst = (u128 *)d; in camellia_decrypt_cbc_2way()
1268 const u128 *src = (const u128 *)s; in camellia_decrypt_cbc_2way()
1269 u128 iv = *src; in camellia_decrypt_cbc_2way()
1280 u128 *dst = (u128 *)d; in camellia_crypt_ctr()
1281 const u128 *src = (const u128 *)s; in camellia_crypt_ctr()
1296 u128 *dst = (u128 *)d; in camellia_crypt_ctr_2way()
1297 const u128 *src = (const u128 *)s; in camellia_crypt_ctr_2way()
Dcast6_avx_glue.c54 u128 *dst = (u128 *)d; in cast6_crypt_ctr()
55 const u128 *src = (const u128 *)s; in cast6_crypt_ctr()
61 u128_xor(dst, src, (u128 *)&ctrblk); in cast6_crypt_ctr()
Dserpent_avx_glue.c50 u128 *dst = (u128 *)d; in __serpent_crypt_ctr()
51 const u128 *src = (const u128 *)s; in __serpent_crypt_ctr()
57 u128_xor(dst, src, (u128 *)&ctrblk); in __serpent_crypt_ctr()
Dghash-clmulni-intel_glue.c26 void clmul_ghash_mul(char *dst, const u128 *shash);
29 const u128 *shash);
36 u128 shash;
/Linux-v5.10/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.10/net/bluetooth/
Dsmp.c428 u128_xor((u128 *) res, (u128 *) r, (u128 *) p1); in smp_c1()
445 u128_xor((u128 *) res, (u128 *) res, (u128 *) p2); in smp_c1()
/Linux-v5.10/arch/arm64/boot/dts/xilinx/
Dzynqmp-zcu106-revA.dts529 temp@4c {/* lm96163 - u128 */