Searched refs:constant_time_eq (Results 1 – 5 of 5) sorted by relevance
/third_party/openssl/crypto/rsa/ |
D | rsa_ssl.c | 97 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()
|
D | rsa_pk1.c | 197 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()
|
D | rsa_oaep.c | 213 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/ |
D | constant_time.h | 62 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/ |
D | constant_time_test.c | 271 || !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()
|