Home
last modified time | relevance | path

Searched refs:constant_time_is_zero (Results 1 – 2 of 2) sorted by relevance

/dflybsd-src/crypto/libressl/crypto/
H A Dconstant_time_locl.h96 static inline unsigned int constant_time_is_zero(unsigned int a);
154 static inline unsigned int constant_time_is_zero(unsigned int a) in constant_time_is_zero() function
161 return (unsigned char)(constant_time_is_zero(a)); in constant_time_is_zero_8()
166 return constant_time_is_zero(a ^ b); in constant_time_eq()
/dflybsd-src/crypto/libressl/crypto/rsa/
H A Drsa_oaep.c222 mask = ~constant_time_is_zero(flen); in RSA_padding_check_PKCS1_OAEP_mgf1()
233 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_OAEP_mgf1()
251 good &= constant_time_is_zero(timingsafe_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1()
259 unsigned int equals0 = constant_time_is_zero(db[i]); in RSA_padding_check_PKCS1_OAEP_mgf1()