Searched refs:constant_time_select_int (Results 1 – 2 of 2) sorted by relevance
/openbsd/lib/libcrypto/rsa/ |
H A D | rsa_oaep.c | 264 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 D | constant_time.h | 127 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
|