Searched refs:true_val (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/wpa/src/utils/ |
H A D | const_time.h | 100 unsigned int true_val, in const_time_select() argument 103 return (mask & true_val) | (~mask & false_val); in const_time_select() 114 static inline int const_time_select_int(unsigned int mask, int true_val, in const_time_select_int() argument 117 return (int) const_time_select(mask, (unsigned int) true_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 144 return (s8) const_time_select(mask, (unsigned int) true_val, in const_time_select_s8() 161 static inline void const_time_select_bin(u8 mask, const u8 *true_val, 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()
|
H A D | utils_module_tests.c | 980 unsigned int true_val; in const_time_tests() member 997 int true_val; in const_time_tests() member 1012 u8 true_val; in const_time_tests() member 1027 s8 true_val; in const_time_tests() member 1040 u8 *true_val; in const_time_tests() member 1130 if (const_time_select(test->mask, test->true_val, in const_time_tests() 1134 test->mask, test->true_val, test->false_val); in const_time_tests() 1143 if (const_time_select_int(test->mask, test->true_val, in const_time_tests() 1147 test->mask, test->true_val, test->false_val); in const_time_tests() 1156 if (const_time_select_u8(test->mask, test->true_val, in const_time_tests() [all …]
|
/freebsd/crypto/openssh/ |
H A D | ssh-pkcs11.c | 353 CK_BBOOL true_val; in pkcs11_get_key() local 385 true_val = CK_TRUE; in pkcs11_get_key() 387 key_filter[2].pValue = &true_val; in pkcs11_get_key() 388 key_filter[2].ulValueLen = sizeof(true_val); in pkcs11_get_key() 1351 CK_BBOOL true_val = CK_TRUE, false_val = CK_FALSE; in pkcs11_rsa_generate_private_key() local 1365 FILL_ATTR(tpub, npub, CKA_TOKEN, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key() 1368 FILL_ATTR(tpub, npub, CKA_VERIFY, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key() 1378 FILL_ATTR(tpriv, npriv, CKA_TOKEN, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key() 1380 FILL_ATTR(tpriv, npriv, CKA_PRIVATE, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key() 1381 FILL_ATTR(tpriv, npriv, CKA_SENSITIVE, &true_val, sizeof(true_val)); in pkcs11_rsa_generate_private_key() [all …]
|