Searched refs:constant_time_lt (Results 1 – 5 of 5) sorted by relevance
/openbsd/lib/libcrypto/ |
H A D | constant_time.h | 80 static inline unsigned int constant_time_lt(unsigned int a, unsigned int b); 134 static inline unsigned int constant_time_lt(unsigned int a, unsigned int b) in constant_time_lt() function 141 return (unsigned char)(constant_time_lt(a, b)); in constant_time_lt_8() 146 return ~constant_time_lt(a, b); in constant_time_ge()
|
/openbsd/lib/libssl/ |
H A D | s3_cbc.c | 81 constant_time_lt(unsigned int a, unsigned int b) in constant_time_lt() function 242 j &= constant_time_lt(j, md_size); in ssl3_cbc_copy_mac() 252 rotate_offset &= constant_time_lt(rotate_offset, md_size); in ssl3_cbc_copy_mac() 257 rotate_offset &= constant_time_lt(rotate_offset, md_size); in ssl3_cbc_copy_mac() 262 rotate_offset &= constant_time_lt(rotate_offset, md_size); in ssl3_cbc_copy_mac()
|
/openbsd/lib/libcrypto/rsa/ |
H A D | rsa_oaep.c | 295 tlen = constant_time_select_int(constant_time_lt(dblen - mdlen - 1, tlen), in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/openbsd/lib/libcrypto/mlkem/ |
H A D | mlkem1024.c | 720 quotient += 1 & constant_time_lt(kHalfPrime, remainder); in compress() 721 quotient += 1 & constant_time_lt(kPrime + kHalfPrime, remainder); in compress()
|
H A D | mlkem768.c | 719 quotient += 1 & constant_time_lt(kHalfPrime, remainder); in compress() 720 quotient += 1 & constant_time_lt(kPrime + kHalfPrime, remainder); in compress()
|