Home
last modified time | relevance | path

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

/freebsd/contrib/wireguard-tools/
H A Dcurve25519-hacl64.h13 typedef __uint128_t u128; typedef
49 static __always_inline void fproduct_copy_from_wide_(u64 *output, u128 *input) in fproduct_copy_from_wide_()
52 u128 xi = input[0]; in fproduct_copy_from_wide_()
56 u128 xi = input[1]; in fproduct_copy_from_wide_()
60 u128 xi = input[2]; in fproduct_copy_from_wide_()
64 u128 xi = input[3]; in fproduct_copy_from_wide_()
68 u128 xi = input[4]; in fproduct_copy_from_wide_()
74 fproduct_sum_scalar_multiplication_(u128 *output, u64 *input, u64 s) in fproduct_sum_scalar_multiplication_()
76 output[0] += (u128)input[0] * s; in fproduct_sum_scalar_multiplication_()
77 output[1] += (u128)input[1] * s; in fproduct_sum_scalar_multiplication_()
[all …]
/freebsd/crypto/openssl/crypto/poly1305/
H A Dpoly1305_base2_44.c21 typedef uint128_t u128; typedef
88 u128 d0, d1, d2; in poly1305_blocks()
114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1); in poly1305_blocks()
115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks()
116 d2 = ((u128)h0 * r2) + ((u128)h1 * r1) + ((u128)h2 * r0); in poly1305_blocks()
140 u128 t; in poly1305_emit()
148 h0 = (u64)(t = (u128)h0 + (h1 << 44)); h1 >>= 20; in poly1305_emit()
149 h1 = (u64)(t = (u128)h1 + (h2 << 24) + (t >> 64)); h2 >>= 40; in poly1305_emit()
153 g0 = (u64)(t = (u128)h0 + 5); in poly1305_emit()
154 g1 = (u64)(t = (u128)h1 + (t >> 64)); in poly1305_emit()
[all …]
H A Dpoly1305.c100 typedef uint128_t u128; typedef
154 u128 d0, d1; in poly1305_blocks()
167 h0 = (u64)(d0 = (u128)h0 + U8TOU64(inp + 0)); in poly1305_blocks()
168 h1 = (u64)(d1 = (u128)h1 + (d0 >> 64) + U8TOU64(inp + 8)); in poly1305_blocks()
176 d0 = ((u128)h0 * r0) + in poly1305_blocks()
177 ((u128)h1 * s1); in poly1305_blocks()
178 d1 = ((u128)h0 * r1) + in poly1305_blocks()
179 ((u128)h1 * r0) + in poly1305_blocks()
219 u128 t; in poly1305_emit()
227 g0 = (u64)(t = (u128)h0 + 5); in poly1305_emit()
[all …]
/freebsd/crypto/openssl/crypto/modes/
H A Dgcm128.c80 static void gcm_init_8bit(u128 Htable[256], u64 H[2]) in gcm_init_8bit()
83 u128 V; in gcm_init_8bit()
96 u128 *Hi = Htable + i, H0 = *Hi; in gcm_init_8bit()
104 static void gcm_gmult_8bit(u64 Xi[2], const u128 Htable[256]) in gcm_gmult_8bit()
106 u128 Z = { 0, 0 }; in gcm_gmult_8bit()
221 static void gcm_init_4bit(u128 Htable[16], u64 H[2]) in gcm_init_4bit()
223 u128 V; in gcm_init_4bit()
240 u128 *Hi = Htable + i; in gcm_init_4bit()
300 static void gcm_gmult_4bit(u64 Xi[2], const u128 Htable[16]) in gcm_gmult_4bit()
302 u128 Z; in gcm_gmult_4bit()
[all …]
/freebsd/crypto/openssl/include/crypto/
H A Dmodes.h101 } u128; typedef
125 u128 Htable[256];
127 u128 Htable[16];
128 void (*gmult) (u64 Xi[2], const u128 Htable[16]);
129 void (*ghash) (u64 Xi[2], const u128 Htable[16], const u8 *inp,
H A Daes_platform.h126 void gcm_ghash_v8(u64 Xi[2],const u128 Htable[16],const u8 *inp, size_t len);
226 void gcm_ghash_avx(u64 Xi[2], const u128 Htable[16], const u8 *in, size_t len);
/freebsd/crypto/openssl/crypto/ec/
H A Dcurve25519.c398 typedef uint128_t u128; typedef
402 u128 h0, h1, h2, h3, h4; in fe51_mul()
406 h0 = (u128)f_i * (g0 = g[0]); in fe51_mul()
407 h1 = (u128)f_i * (g1 = g[1]); in fe51_mul()
408 h2 = (u128)f_i * (g2 = g[2]); in fe51_mul()
409 h3 = (u128)f_i * (g3 = g[3]); in fe51_mul()
410 h4 = (u128)f_i * (g4 = g[4]); in fe51_mul()
413 h0 += (u128)f_i * (g4 *= 19); in fe51_mul()
414 h1 += (u128)f_i * g0; in fe51_mul()
415 h2 += (u128)f_i * g1; in fe51_mul()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_value.h22 __extension__ typedef unsigned __int128 u128; typedef
33 typedef u128 UIntMax;
H A Dubsan_value.cpp97 return *reinterpret_cast<u128*>(Val); in getUIntValue()
/freebsd/contrib/netbsd-tests/lib/libbluetooth/
H A Dt_sdp_get.c169 uuid_t u128 = { in ATF_TC_BODY() local
195 ATF_CHECK(uuid_equal(&value, &u128, NULL)); in ATF_TC_BODY()
H A Dt_sdp_put.c132 const uuid_t u128 = { in ATF_TC_BODY() local
143 ATF_REQUIRE(sdp_put_uuid(&test, &u128)); in ATF_TC_BODY()
/freebsd/sys/contrib/device-tree/src/arm64/xilinx/
H A Dzynqmp-zcu106-revA.dts622 temp@4c {/* lm96163 - u128 */