Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/utils/
H A Dconst_time.h39 static inline unsigned int const_time_is_zero(unsigned int val) in const_time_is_zero() function
50 return const_time_is_zero(a ^ b); in const_time_eq()
88 return const_time_is_zero(res); in const_time_eq_bin()
184 mask = const_time_is_zero((unsigned int) diff); in const_time_memcmp()
H A Dutils_module_tests.c1087 if (const_time_is_zero(test->val) != test->expected) { in const_time_tests()
/freebsd/contrib/wpa/src/common/
H A Ddragonfly.c155 mask = const_time_is_zero(crypto_bignum_is_odd(r)); in dragonfly_is_quadratic_residue_blind()
H A Dsae.c270 res = const_time_select_u8(const_time_is_zero(is_val), res, 0); in sae_test_pwd_seed_ffc()
272 res = const_time_select_u8(const_time_is_zero(is_val), res, 0); in sae_test_pwd_seed_ffc()