const_time_select() function
const_time_select - Constant time unsigned int selection @mask: 0 (false) or -1 (true) to identify which value to select @true_val: Value to select for the true case @false_val: Value to select for the false case Returns: true_val if mask == -1, false_val if mask == 0
Syntax
static inline unsigned int const_time_select(unsigned int mask,
unsigned int true_val,
unsigned int false_val);
const_time_select() is called by 3 functions:
![]()
const_time_select()
const_time_select():
![]()
const_time_select()