Home
last modified time | relevance | path

Searched refs:constant_time_lt (Results 1 – 5 of 5) sorted by relevance

/openbsd/lib/libcrypto/
H A Dconstant_time.h80 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 Ds3_cbc.c81 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 Drsa_oaep.c295 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 Dmlkem1024.c720 quotient += 1 & constant_time_lt(kHalfPrime, remainder); in compress()
721 quotient += 1 & constant_time_lt(kPrime + kHalfPrime, remainder); in compress()
H A Dmlkem768.c719 quotient += 1 & constant_time_lt(kHalfPrime, remainder); in compress()
720 quotient += 1 & constant_time_lt(kPrime + kHalfPrime, remainder); in compress()