Home
last modified time | relevance | path

Searched refs:const_time_eq (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/wpa/src/utils/
H A Dconst_time.h48 static inline unsigned int const_time_eq(unsigned int a, unsigned int b) in const_time_eq() function
57 return (u8) const_time_eq(a, b); in const_time_eq_u8()
H A Dutils_module_tests.c1099 if (const_time_eq(test->a, test->b) != test->expected) { in const_time_tests()
/freebsd/contrib/wpa/src/common/
H A Ddragonfly.c172 mask = const_time_eq(res, check); in dragonfly_is_quadratic_residue_blind()
H A Dsae.c420 is_eq = const_time_eq(pwd_seed_odd, x_y[prime_len - 1] & 0x01); in sae_derive_pwe_ecc()
687 m_is_zero = const_time_eq(crypto_bignum_is_zero(t1), 1); in sswu()
749 is_qr = const_time_eq(crypto_bignum_is_zero(t1) | in sswu()
779 is_eq = const_time_eq(bin1[prime_len - 1] & 0x01, in sswu()
/freebsd/contrib/wpa/src/eap_common/
H A Deap_pwd_common.c284 is_eq = const_time_eq(is_odd, x_y[primebytelen - 1] & 0x01); in compute_password_element()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c1671 mask = const_time_eq(BN_is_word(tmp, 1), 1); in crypto_bignum_legendre()
1673 mask = const_time_eq(BN_is_zero(tmp), 1); in crypto_bignum_legendre()