Searched refs:const_time_eq (Results 1 – 5 of 5) sorted by relevance
48 static inline unsigned int const_time_eq(unsigned int a, unsigned int b) in const_time_eq() function57 return (u8) const_time_eq(a, b); in const_time_eq_u8()
1099 if (const_time_eq(test->a, test->b) != test->expected) { in const_time_tests()
172 mask = const_time_eq(res, check); in dragonfly_is_quadratic_residue_blind()
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()789 is_eq = const_time_eq(bin1[prime_len - 1] & 0x01, in sswu()
1607 mask = const_time_eq(BN_is_word(tmp, 1), 1); in crypto_bignum_legendre()1609 mask = const_time_eq(BN_is_zero(tmp), 1); in crypto_bignum_legendre()