Home
last modified time | relevance | path

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

/mbedtls-development/3rdparty/everest/library/kremlib/
A 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()
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()
384 static uint64_t FStar_UInt128_u32_combine_(uint64_t hi, uint64_t lo) in FStar_UInt128_u32_combine_() argument
[all …]
/mbedtls-development/library/
A Dgcm.c81 uint64_t hi, lo; in gcm_gen_table() local
92 lo = MBEDTLS_GET_UINT32_BE( h, 4 ); in gcm_gen_table()
93 vh = (uint64_t) hi << 32 | lo; in gcm_gen_table()
97 vl = (uint64_t) hi << 32 | lo; in gcm_gen_table()
196 unsigned char lo, hi, rem; in gcm_mult() local
213 lo = x[15] & 0xf; in gcm_mult()
215 zh = ctx->HH[lo]; in gcm_mult()
216 zl = ctx->HL[lo]; in gcm_mult()
220 lo = x[i] & 0xf; in gcm_mult()
229 zh ^= ctx->HH[lo]; in gcm_mult()
[all …]
A Dpoly1305.c69 const uint32_t lo = (uint32_t) al * bl; in mul64() local
73 return( lo + ( me << 16 ) + ( (uint64_t) hi << 32 ) ); in mul64()
/mbedtls-development/programs/test/
A Dbenchmark.c263 unsigned long lo, hi; in mbedtls_timing_hardclock() local
264 asm volatile( "rdtsc" : "=a" (lo), "=d" (hi) ); in mbedtls_timing_hardclock()
265 return( lo ); in mbedtls_timing_hardclock()
277 unsigned long lo, hi; in mbedtls_timing_hardclock() local
278 asm volatile( "rdtsc" : "=a" (lo), "=d" (hi) ); in mbedtls_timing_hardclock()
279 return( lo | ( hi << 32 ) ); in mbedtls_timing_hardclock()

Completed in 9 milliseconds