Home
last modified time | relevance | path

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

/third_party/openssl/crypto/rsa/
Drsa_ssl.c90 mask = ~constant_time_is_zero(flen); in RSA_padding_check_SSLv23()
96 good = constant_time_is_zero(em[0]); in RSA_padding_check_SSLv23()
105 unsigned int equals0 = constant_time_is_zero(em[i]); in RSA_padding_check_SSLv23()
Drsa_pk1.c190 mask = ~constant_time_is_zero(flen); in RSA_padding_check_PKCS1_type_2()
196 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_type_2()
202 unsigned int equals0 = constant_time_is_zero(em[i]); in RSA_padding_check_PKCS1_type_2()
Drsa_oaep.c177 mask = ~constant_time_is_zero(flen); in RSA_padding_check_PKCS1_OAEP_mgf1()
188 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_OAEP_mgf1()
206 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1()
214 unsigned int equals0 = constant_time_is_zero(db[i]); in RSA_padding_check_PKCS1_OAEP_mgf1()
/third_party/openssl/include/internal/
Dconstant_time.h55 static ossl_inline unsigned int constant_time_is_zero(unsigned int a);
164 static ossl_inline unsigned int constant_time_is_zero(unsigned int a) in constant_time_is_zero() function
176 return (unsigned char)constant_time_is_zero(a); in constant_time_is_zero_8()
187 return constant_time_is_zero(a ^ b); in constant_time_eq()
/third_party/openssl/test/
Dconstant_time_test.c117 if (a == 0 && !TEST_uint_eq(constant_time_is_zero(a), CONSTTIME_TRUE)) in test_is_zero()
119 if (a != 0 && !TEST_uint_eq(constant_time_is_zero(a), CONSTTIME_FALSE)) in test_is_zero()