Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/utils/
H A 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()
H A 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()
1157 test->false_val) != test->expected) { in const_time_tests()
1170 test->false_val) != test->expected) { in const_time_tests()
[all …]
/freebsd/crypto/openssh/
H A Dssh-pkcs11.c1351 FILL_ATTR(tpub, npub, CKA_ENCRYPT, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key()
1355 FILL_ATTR(tpub, npub, CKA_WRAP, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key()
1356 FILL_ATTR(tpub, npub, CKA_DERIVE, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key()
1370 FILL_ATTR(tpriv, npriv, CKA_UNWRAP, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key()
1371 FILL_ATTR(tpriv, npriv, CKA_DERIVE, &false_val, sizeof(false_val)); in pkcs11_rsa_generate_private_key()
1470 FILL_ATTR(tpub, npub, CKA_ENCRYPT, &false_val, sizeof(false_val)); in pkcs11_ecdsa_generate_private_key()
1474 FILL_ATTR(tpub, npub, CKA_WRAP, &false_val, sizeof(false_val)); in pkcs11_ecdsa_generate_private_key()
1475 FILL_ATTR(tpub, npub, CKA_DERIVE, &false_val, sizeof(false_val)); in pkcs11_ecdsa_generate_private_key()
1483 FILL_ATTR(tpriv, npriv, CKA_DECRYPT, &false_val, sizeof(false_val)); in pkcs11_ecdsa_generate_private_key()
1487 FILL_ATTR(tpriv, npriv, CKA_UNWRAP, &false_val, sizeof(false_val)); in pkcs11_ecdsa_generate_private_key()
[all …]