Home
last modified time | relevance | path

Searched refs:lo (Results 1 – 5 of 5) sorted by relevance

/mbedtls-3.5.0/3rdparty/everest/library/kremlib/
DFStar_UInt128_extracted.c111 static uint64_t FStar_UInt128_add_u64_shift_left(uint64_t hi, uint64_t lo, uint32_t s) in FStar_UInt128_add_u64_shift_left() argument
113 return (hi << s) + (lo >> (FStar_UInt128_u32_64 - s)); in FStar_UInt128_add_u64_shift_left()
116 static uint64_t FStar_UInt128_add_u64_shift_left_respec(uint64_t hi, uint64_t lo, uint32_t s) in FStar_UInt128_add_u64_shift_left_respec() argument
118 return FStar_UInt128_add_u64_shift_left(hi, lo, s); in FStar_UInt128_add_u64_shift_left_respec()
155 static uint64_t FStar_UInt128_add_u64_shift_right(uint64_t hi, uint64_t lo, uint32_t s) in FStar_UInt128_add_u64_shift_right() argument
157 return (lo >> s) + (hi << (FStar_UInt128_u32_64 - s)); in FStar_UInt128_add_u64_shift_right()
160 static uint64_t FStar_UInt128_add_u64_shift_right_respec(uint64_t hi, uint64_t lo, uint32_t s) in FStar_UInt128_add_u64_shift_right_respec() argument
162 return FStar_UInt128_add_u64_shift_right(hi, lo, s); in FStar_UInt128_add_u64_shift_right_respec()
336 static uint64_t FStar_UInt128_u32_combine(uint64_t hi, uint64_t lo) in FStar_UInt128_u32_combine() argument
338 return lo + (hi << FStar_UInt128_u32_32); in FStar_UInt128_u32_combine()
[all …]
/mbedtls-3.5.0/library/
Dgcm.c70 uint64_t hi, lo; in gcm_gen_table() local
82 lo = MBEDTLS_GET_UINT32_BE(h, 4); in gcm_gen_table()
83 vh = (uint64_t) hi << 32 | lo; in gcm_gen_table()
86 lo = MBEDTLS_GET_UINT32_BE(h, 12); in gcm_gen_table()
87 vl = (uint64_t) hi << 32 | lo; in gcm_gen_table()
193 unsigned char lo, hi, rem; in gcm_mult() local
226 lo = x[15] & 0xf; in gcm_mult()
228 zh = ctx->HH[lo]; in gcm_mult()
229 zl = ctx->HL[lo]; in gcm_mult()
232 lo = x[i] & 0xf; in gcm_mult()
[all …]
Daesce.c288 uint64x1_t lo = vcreate_u64(vgetq_lane_u64(tmp, 0)); in vget_low_p64() local
289 return (poly64_t) (lo); in vget_low_p64()
Dpoly1305.c51 const uint32_t lo = (uint32_t) al * bl; in mul64() local
55 return lo + (me << 16) + ((uint64_t) hi << 32); in mul64()
/mbedtls-3.5.0/programs/test/
Dbenchmark.c264 unsigned long lo, hi; in mbedtls_timing_hardclock() local
265 asm volatile ("rdtsc" : "=a" (lo), "=d" (hi)); in mbedtls_timing_hardclock()
266 return lo; in mbedtls_timing_hardclock()
278 unsigned long lo, hi; in mbedtls_timing_hardclock() local
279 asm volatile ("rdtsc" : "=a" (lo), "=d" (hi)); in mbedtls_timing_hardclock()
280 return lo | (hi << 32); in mbedtls_timing_hardclock()