Searched refs:constant_time_lt (Results 1 - 3 of 3) sorted by relevance

/openbsd-current/lib/libcrypto/
H A Dconstant_time.h65 * unsigned int lt = constant_time_lt(a, b);
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) function
141 return (unsigned char)(constant_time_lt(a, b));
146 return ~constant_time_lt(a, b);
/openbsd-current/lib/libssl/
H A Ds3_cbc.c79 /* constant_time_lt returns 0xff if a<b and 0x00 otherwise. */
81 constant_time_lt(unsigned int a, unsigned int b) function
242 j &= constant_time_lt(j, md_size);
252 rotate_offset &= constant_time_lt(rotate_offset, md_size);
257 rotate_offset &= constant_time_lt(rotate_offset, md_size);
262 rotate_offset &= constant_time_lt(rotate_offset, md_size);
/openbsd-current/lib/libcrypto/rsa/
H A Drsa_oaep.c295 tlen = constant_time_select_int(constant_time_lt(dblen - mdlen - 1, tlen),

Completed in 101 milliseconds