Searched refs:constant_time_lt (Results 1 - 3 of 3) sorted by relevance
/openbsd-current/lib/libcrypto/ |
H A D | constant_time.h | 65 * 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 D | s3_cbc.c | 79 /* 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 D | rsa_oaep.c | 295 tlen = constant_time_select_int(constant_time_lt(dblen - mdlen - 1, tlen),
|
Completed in 192 milliseconds