Home
last modified time | relevance | path

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

/openssl/crypto/rsa/
H A Drsa_pk1.c204 mask = ~constant_time_is_zero(flen); in RSA_padding_check_PKCS1_type_2()
210 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_type_2()
216 unsigned int equals0 = constant_time_is_zero(em[i]); in RSA_padding_check_PKCS1_type_2()
469 good = constant_time_is_zero(from[0]); in ossl_rsa_padding_check_PKCS1_type_2()
475 unsigned int equals0 = constant_time_is_zero(from[i]); in ossl_rsa_padding_check_PKCS1_type_2()
576 good = constant_time_is_zero(from[0]); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
H A Drsa_oaep.c242 mask = ~constant_time_is_zero(flen); in RSA_padding_check_PKCS1_OAEP_mgf1()
253 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_OAEP_mgf1()
271 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1()
279 unsigned int equals0 = constant_time_is_zero(db[i]); in RSA_padding_check_PKCS1_OAEP_mgf1()
/openssl/include/internal/
H A Dconstant_time.h56 static ossl_inline unsigned int constant_time_is_zero(unsigned int a);
206 static ossl_inline unsigned int constant_time_is_zero(unsigned int a) in constant_time_is_zero() function
218 return (unsigned char)constant_time_is_zero(a); in constant_time_is_zero_8()
234 return constant_time_is_zero(a ^ b); in constant_time_eq()
/openssl/test/
H A 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()
/openssl/crypto/des/
H A Dset_key.c126 res |= constant_time_is_zero((unsigned int)j); in DES_is_weak_key()

Completed in 20 milliseconds