Searched refs:constant_time_eq (Results 1 – 4 of 4) sorted by relevance
/openssl/crypto/rsa/ |
H A D | rsa_pk1.c | 211 good &= constant_time_eq(em[1], 2); in RSA_padding_check_PKCS1_type_2() 255 mask = ~constant_time_eq(msg_index & (num - RSA_PKCS1_PADDING_SIZE - mlen), 0); in RSA_padding_check_PKCS1_type_2() 470 good &= constant_time_eq(from[1], 2); in ossl_rsa_padding_check_PKCS1_type_2() 577 good &= constant_time_eq(from[1], 2); in ossl_rsa_padding_check_PKCS1_type_2_TLS() 594 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH], in ossl_rsa_padding_check_PKCS1_type_2_TLS() 597 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH + 1], in ossl_rsa_padding_check_PKCS1_type_2_TLS() 614 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH], in ossl_rsa_padding_check_PKCS1_type_2_TLS() 617 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH + 1], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
|
H A D | rsa_oaep.c | 278 unsigned int equals1 = constant_time_eq(db[i], 1); in RSA_padding_check_PKCS1_OAEP_mgf1() 314 mask = ~constant_time_eq(msg_index & (dblen - mdlen - 1 - mlen), 0); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/openssl/include/internal/ |
H A D | constant_time.h | 63 static ossl_inline unsigned int constant_time_eq(unsigned int a, 231 static ossl_inline unsigned int constant_time_eq(unsigned int a, in constant_time_eq() function 245 return (unsigned char)constant_time_eq(a, b); in constant_time_eq_8() 255 return constant_time_eq((unsigned)(a), (unsigned)(b)); in constant_time_eq_int()
|
/openssl/test/ |
H A 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()
|
Completed in 11 milliseconds