Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pk1.c209 good &= constant_time_eq(em[1], 2); in RSA_padding_check_PKCS1_type_2()
253 mask = ~constant_time_eq(msg_index & (num - RSA_PKCS1_PADDING_SIZE - mlen), 0); in RSA_padding_check_PKCS1_type_2()
327 good &= constant_time_eq(from[1], 2); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
344 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
347 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH + 1], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
364 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
367 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH + 1], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
H A Drsa_oaep.c260 unsigned int equals1 = constant_time_eq(db[i], 1); in RSA_padding_check_PKCS1_OAEP_mgf1()
296 mask = ~constant_time_eq(msg_index & (dblen - mdlen - 1 - mlen), 0); in RSA_padding_check_PKCS1_OAEP_mgf1()
/freebsd/crypto/openssl/include/internal/
H A Dconstant_time.h63 static ossl_inline unsigned int constant_time_eq(unsigned int a,
190 static ossl_inline unsigned int constant_time_eq(unsigned int a, in constant_time_eq() function
204 return (unsigned char)constant_time_eq(a, b); in constant_time_eq_8()
214 return constant_time_eq((unsigned)(a), (unsigned)(b)); in constant_time_eq_int()
/freebsd/crypto/openssl/test/
H A 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()