Home
last modified time | relevance | path

Searched refs:false_val (Results 1 – 2 of 2) sorted by relevance

/hostap-latest/src/utils/
Dconst_time.h101 unsigned int false_val) in const_time_select() argument
103 return (mask & true_val) | (~mask & false_val); in const_time_select()
115 int false_val) in const_time_select_int() argument
118 (unsigned int) false_val); in const_time_select_int()
129 static inline u8 const_time_select_u8(u8 mask, u8 true_val, u8 false_val) in const_time_select_u8() argument
131 return (u8) const_time_select(mask, true_val, false_val); in const_time_select_u8()
142 static inline s8 const_time_select_s8(u8 mask, s8 true_val, s8 false_val) in const_time_select_s8() argument
145 (unsigned int) false_val); in const_time_select_s8()
162 const u8 *false_val, size_t len, in const_time_select_bin() argument
168 dst[i] = const_time_select_u8(mask, true_val[i], false_val[i]); in const_time_select_bin()
Dutils_module_tests.c981 unsigned int false_val; in const_time_tests() member
998 int false_val; in const_time_tests() member
1013 u8 false_val; in const_time_tests() member
1028 s8 false_val; in const_time_tests() member
1041 u8 *false_val; in const_time_tests() member
1131 test->false_val) != test->expected) { in const_time_tests()
1134 test->mask, test->true_val, test->false_val); in const_time_tests()
1144 test->false_val) != test->expected) { in const_time_tests()
1147 test->mask, test->true_val, test->false_val); in const_time_tests()
1157 test->false_val) != test->expected) { in const_time_tests()
[all …]