Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/
Dinternal.h257 static inline unsigned int constant_time_is_zero(unsigned int a) { in constant_time_is_zero() function
276 return (uint8_t)(constant_time_is_zero(a)); in constant_time_is_zero_8()
281 return constant_time_is_zero(a ^ b); in constant_time_eq()
Dconstant_time_test.c95 unsigned int c = constant_time_is_zero(a); in test_is_zero()
/external/boringssl/src/crypto/rsa/
Dpadding.c217 unsigned equals0 = constant_time_is_zero(from[i]); in RSA_padding_check_PKCS1_type_2()
450 bad = ~constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1()
451 bad |= ~constant_time_is_zero(from[0]); in RSA_padding_check_PKCS1_OAEP_mgf1()