Home
last modified time | relevance | path

Searched refs:constant_time_select_int (Results 1 – 2 of 2) sorted by relevance

/openbsd/lib/libcrypto/rsa/
H A Drsa_oaep.c264 one_index = constant_time_select_int(~found_one_byte & equals1, in RSA_padding_check_PKCS1_OAEP_mgf1()
295 tlen = constant_time_select_int(constant_time_lt(dblen - mdlen - 1, tlen), in RSA_padding_check_PKCS1_OAEP_mgf1()
297 msg_index = constant_time_select_int(good, msg_index, dblen - tlen); in RSA_padding_check_PKCS1_OAEP_mgf1()
319 return constant_time_select_int(good, mlen, -1); in RSA_padding_check_PKCS1_OAEP_mgf1()
/openbsd/lib/libcrypto/
H A Dconstant_time.h127 static inline int constant_time_select_int(unsigned int mask, int a, int b);
198 static inline int constant_time_select_int(unsigned int mask, int a, int b) in constant_time_select_int() function