Searched refs:false_val (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/wpa/src/utils/ |
H A D | const_time.h | 101 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()
|
H A D | utils_module_tests.c | 981 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 …]
|
/freebsd/crypto/openssh/ |
H A D | ssh-pkcs11.c | 1351 CK_BBOOL true_val = CK_TRUE, false_val = CK_FALSE; in pkcs11_rsa_generate_private_key() local 1367 FILL_ATTR(tpub, npub, CKA_ENCRYPT, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key() 1369 FILL_ATTR(tpub, npub, CKA_VERIFY_RECOVER, &false_val, in pkcs11_rsa_generate_private_key() 1370 sizeof(false_val)); in pkcs11_rsa_generate_private_key() 1371 FILL_ATTR(tpub, npub, CKA_WRAP, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key() 1372 FILL_ATTR(tpub, npub, CKA_DERIVE, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key() 1382 FILL_ATTR(tpriv, npriv, CKA_DECRYPT, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key() 1384 FILL_ATTR(tpriv, npriv, CKA_SIGN_RECOVER, &false_val, in pkcs11_rsa_generate_private_key() 1385 sizeof(false_val)); in pkcs11_rsa_generate_private_key() 1386 FILL_ATTR(tpriv, npriv, CKA_UNWRAP, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key() [all …]
|