Home
last modified time | relevance | path

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

/freebsd/crypto/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()
/freebsd/crypto/openssl/include/internal/
H A Dconstant_time.h59 static ossl_inline unsigned int constant_time_is_zero(unsigned int a);
214 static ossl_inline unsigned int constant_time_is_zero(unsigned int a) in constant_time_is_zero() function
226 return (unsigned char)constant_time_is_zero(a); in constant_time_is_zero_8()
242 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.c819 | constant_time_is_zero(retval)); in OSSL_CRMF_ENCRYPTEDVALUE_decrypt()
/freebsd/crypto/openssl/crypto/ml_kem/
H A Dml_kem.c68 # define constish_time_non_zero(b) (~constant_time_is_zero(b));