Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pk1.c202 mask = ~constant_time_is_zero(flen); in RSA_padding_check_PKCS1_type_2()
208 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_type_2()
214 unsigned int equals0 = constant_time_is_zero(em[i]); in RSA_padding_check_PKCS1_type_2()
326 good = constant_time_is_zero(from[0]); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
H A Drsa_oaep.c224 mask = ~constant_time_is_zero(flen); in RSA_padding_check_PKCS1_OAEP_mgf1()
235 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_OAEP_mgf1()
253 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1()
261 unsigned int equals0 = constant_time_is_zero(db[i]); in RSA_padding_check_PKCS1_OAEP_mgf1()
/freebsd/crypto/openssl/include/internal/
H A Dconstant_time.h56 static ossl_inline unsigned int constant_time_is_zero(unsigned int a);
165 static ossl_inline unsigned int constant_time_is_zero(unsigned int a) in constant_time_is_zero() function
177 return (unsigned char)constant_time_is_zero(a); in constant_time_is_zero_8()
193 return constant_time_is_zero(a ^ b); in constant_time_eq()
/freebsd/crypto/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()
/freebsd/crypto/openssl/crypto/des/
H A Dset_key.c126 res |= constant_time_is_zero((unsigned int)j); in DES_is_weak_key()
/freebsd/crypto/openssl/crypto/crmf/
H A Dcrmf_lib.c664 | constant_time_is_zero(retval)); in OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert()