Home
last modified time | relevance | path

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

/third_party/openssl/crypto/rsa/
Drsa_ssl.c97 good &= constant_time_eq(em[1], 2); in RSA_padding_check_SSLv23()
112 threes_in_row &= found_zero_byte | constant_time_eq(em[i], 3); in RSA_padding_check_SSLv23()
162 mask = ~constant_time_eq(msg_index & (num - RSA_PKCS1_PADDING_SIZE - mlen), 0); in RSA_padding_check_SSLv23()
Drsa_pk1.c197 good &= constant_time_eq(em[1], 2); in RSA_padding_check_PKCS1_type_2()
241 mask = ~constant_time_eq(msg_index & (num - RSA_PKCS1_PADDING_SIZE - mlen), 0); in RSA_padding_check_PKCS1_type_2()
Drsa_oaep.c213 unsigned int equals1 = constant_time_eq(db[i], 1); in RSA_padding_check_PKCS1_OAEP_mgf1()
249 mask = ~constant_time_eq(msg_index & (dblen - mdlen - 1 - mlen), 0); in RSA_padding_check_PKCS1_OAEP_mgf1()
/third_party/openssl/include/internal/
Dconstant_time.h62 static ossl_inline unsigned int constant_time_eq(unsigned int a,
184 static ossl_inline unsigned int constant_time_eq(unsigned int a, in constant_time_eq() function
198 return (unsigned char)constant_time_eq(a, b); in constant_time_eq_8()
208 return constant_time_eq((unsigned)(a), (unsigned)(b)); in constant_time_eq_int()
/third_party/openssl/test/
Dconstant_time_test.c271 || !test_binary_op(&constant_time_eq, "constant_time_eq", in test_binops()
273 || !test_binary_op(&constant_time_eq, "constant_time_eq", in test_binops()