/dports/www/firefox-esr/firefox-91.8.0/security/nss/gtests/pk11_gtest/ |
H A D | pk11_keygen.cc | 37 SECKEYPublicKey* pub_tmp; 39 PK11_GenerateKeyPair(slot.get(), mech_, params->get(), &pub_tmp, PR_FALSE, 43 ASSERT_NE(nullptr, pub_tmp); 46 pub_key->reset(pub_tmp);
|
H A D | pk11_aeskeywrappad_unittest.cc | 36 SECKEYPublicKey* pub_tmp; in TEST_F() local 40 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in TEST_F() 42 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 43 pub_key.reset(pub_tmp); in TEST_F() 91 SECKEYPublicKey* pub_tmp; in TEST_F() local 95 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 97 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 98 pub_key.reset(pub_tmp); in TEST_F()
|
H A D | pk11_hpke_unittest.cc | 166 SECKEYPublicKey *pub_tmp; in GenerateKeyPair() local 170 &pub_tmp, PR_FALSE, PR_TRUE, nullptr); in GenerateKeyPair() 171 if (!pub_tmp || !priv_tmp) { in GenerateKeyPair() 176 pub_key.reset(pub_tmp); in GenerateKeyPair() 651 SECKEYPublicKey *pub_tmp; in TEST_F() local 655 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 657 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 658 pub_key.reset(pub_tmp); in TEST_F() 677 &ecParams, &pub_tmp, PR_FALSE, PR_FALSE, in TEST_F() 680 ASSERT_NE(nullptr, pub_tmp); in TEST_F() [all …]
|
/dports/security/ca_root_nss/nss-3.71/nss/gtests/pk11_gtest/ |
H A D | pk11_keygen.cc | 37 SECKEYPublicKey* pub_tmp; in GenerateKey() local 39 PK11_GenerateKeyPair(slot.get(), mech_, params->get(), &pub_tmp, PR_FALSE, in GenerateKey() 43 ASSERT_NE(nullptr, pub_tmp); in GenerateKey() 46 pub_key->reset(pub_tmp); in GenerateKey()
|
H A D | pk11_aeskeywrappad_unittest.cc | 36 SECKEYPublicKey* pub_tmp; in TEST_F() local 40 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in TEST_F() 42 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 43 pub_key.reset(pub_tmp); in TEST_F() 91 SECKEYPublicKey* pub_tmp; in TEST_F() local 95 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 97 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 98 pub_key.reset(pub_tmp); in TEST_F()
|
H A D | pk11_hpke_unittest.cc | 169 SECKEYPublicKey *pub_tmp; in GenerateKeyPair() local 173 &pub_tmp, PR_FALSE, PR_TRUE, nullptr); in GenerateKeyPair() 174 if (!pub_tmp || !priv_tmp) { in GenerateKeyPair() 179 pub_key.reset(pub_tmp); in GenerateKeyPair() 968 SECKEYPublicKey *pub_tmp; in TEST_F() local 972 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 974 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 975 pub_key.reset(pub_tmp); in TEST_F() 994 &ecParams, &pub_tmp, PR_FALSE, PR_FALSE, in TEST_F() 997 ASSERT_NE(nullptr, pub_tmp); in TEST_F() [all …]
|
/dports/www/firefox/firefox-99.0/security/nss/gtests/pk11_gtest/ |
H A D | pk11_keygen.cc | 37 SECKEYPublicKey* pub_tmp; in GenerateKey() local 39 PK11_GenerateKeyPair(slot.get(), mech_, params->get(), &pub_tmp, PR_FALSE, in GenerateKey() 43 ASSERT_NE(nullptr, pub_tmp); in GenerateKey() 46 pub_key->reset(pub_tmp); in GenerateKey()
|
H A D | pk11_aeskeywrappad_unittest.cc | 36 SECKEYPublicKey* pub_tmp; in TEST_F() local 40 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in TEST_F() 42 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 43 pub_key.reset(pub_tmp); in TEST_F() 91 SECKEYPublicKey* pub_tmp; in TEST_F() local 95 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 97 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 98 pub_key.reset(pub_tmp); in TEST_F()
|
H A D | pk11_hpke_unittest.cc | 170 SECKEYPublicKey *pub_tmp; in GenerateKeyPair() local 174 &pub_tmp, PR_FALSE, PR_TRUE, nullptr); in GenerateKeyPair() 175 if (!pub_tmp || !priv_tmp) { in GenerateKeyPair() 180 pub_key.reset(pub_tmp); in GenerateKeyPair() 819 SECKEYPublicKey *pub_tmp; in TEST_F() local 823 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 825 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 826 pub_key.reset(pub_tmp); in TEST_F() 845 &ecParams, &pub_tmp, PR_FALSE, PR_FALSE, in TEST_F() 848 ASSERT_NE(nullptr, pub_tmp); in TEST_F() [all …]
|
/dports/security/nss/nss-3.76.1/nss/gtests/pk11_gtest/ |
H A D | pk11_keygen.cc | 37 SECKEYPublicKey* pub_tmp; in GenerateKey() local 39 PK11_GenerateKeyPair(slot.get(), mech_, params->get(), &pub_tmp, PR_FALSE, in GenerateKey() 43 ASSERT_NE(nullptr, pub_tmp); in GenerateKey() 46 pub_key->reset(pub_tmp); in GenerateKey()
|
H A D | pk11_aeskeywrappad_unittest.cc | 36 SECKEYPublicKey* pub_tmp; in TEST_F() local 40 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in TEST_F() 42 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 43 pub_key.reset(pub_tmp); in TEST_F() 91 SECKEYPublicKey* pub_tmp; in TEST_F() local 95 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 97 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 98 pub_key.reset(pub_tmp); in TEST_F()
|
H A D | pk11_hpke_unittest.cc | 170 SECKEYPublicKey *pub_tmp; in GenerateKeyPair() local 174 &pub_tmp, PR_FALSE, PR_TRUE, nullptr); in GenerateKeyPair() 175 if (!pub_tmp || !priv_tmp) { in GenerateKeyPair() 180 pub_key.reset(pub_tmp); in GenerateKeyPair() 819 SECKEYPublicKey *pub_tmp; in TEST_F() local 823 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 825 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 826 pub_key.reset(pub_tmp); in TEST_F() 845 &ecParams, &pub_tmp, PR_FALSE, PR_FALSE, in TEST_F() 848 ASSERT_NE(nullptr, pub_tmp); in TEST_F() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/gtests/pk11_gtest/ |
H A D | pk11_keygen.cc | 37 SECKEYPublicKey* pub_tmp; in GenerateKey() local 39 PK11_GenerateKeyPair(slot.get(), mech_, params->get(), &pub_tmp, PR_FALSE, in GenerateKey() 43 ASSERT_NE(nullptr, pub_tmp); in GenerateKey() 46 pub_key->reset(pub_tmp); in GenerateKey()
|
H A D | pk11_aeskeywrappad_unittest.cc | 36 SECKEYPublicKey* pub_tmp; in TEST_F() local 40 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in TEST_F() 42 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 43 pub_key.reset(pub_tmp); in TEST_F() 91 SECKEYPublicKey* pub_tmp; in TEST_F() local 95 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 97 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 98 pub_key.reset(pub_tmp); in TEST_F()
|
H A D | pk11_hpke_unittest.cc | 166 SECKEYPublicKey *pub_tmp; in GenerateKeyPair() local 170 &pub_tmp, PR_FALSE, PR_TRUE, nullptr); in GenerateKeyPair() 171 if (!pub_tmp || !priv_tmp) { in GenerateKeyPair() 176 pub_key.reset(pub_tmp); in GenerateKeyPair() 651 SECKEYPublicKey *pub_tmp; in TEST_F() local 655 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 657 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 658 pub_key.reset(pub_tmp); in TEST_F() 677 &ecParams, &pub_tmp, PR_FALSE, PR_FALSE, in TEST_F() 680 ASSERT_NE(nullptr, pub_tmp); in TEST_F() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/gtests/pk11_gtest/ |
H A D | pk11_keygen.cc | 36 SECKEYPublicKey* pub_tmp; in GenerateKey() local 38 slot.get(), mech_, params->get(), &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in GenerateKey() 41 ASSERT_NE(nullptr, pub_tmp); in GenerateKey() 44 pub_key->reset(pub_tmp); in GenerateKey()
|
H A D | pk11_aeskeywrappad_unittest.cc | 36 SECKEYPublicKey* pub_tmp; in TEST_F() local 40 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in TEST_F() 42 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 43 pub_key.reset(pub_tmp); in TEST_F() 83 SECKEYPublicKey* pub_tmp; in TEST_F() local 87 &pub_tmp, PR_FALSE, PR_FALSE, nullptr)); in TEST_F() 89 ASSERT_NE(nullptr, pub_tmp); in TEST_F() 90 pub_key.reset(pub_tmp); in TEST_F()
|
/dports/www/firefox-esr/firefox-91.8.0/security/nss/gtests/softoken_gtest/ |
H A D | softoken_gtest.cc | 602 SECKEYPublicKey *pub_tmp = nullptr; in test_dh_value() local 605 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in test_dh_value() 606 if ((genFailOK) && ((priv_key.get() == nullptr) || (pub_tmp == nullptr))) { in test_dh_value() 611 EXPECT_NE(nullptr, pub_tmp); in test_dh_value() 612 if ((priv_key.get() == nullptr) || (pub_tmp == nullptr)) return SECFailure; in test_dh_value() 613 ScopedSECKEYPublicKey pub_key(pub_tmp); in test_dh_value()
|
/dports/www/firefox/firefox-99.0/security/nss/gtests/softoken_gtest/ |
H A D | softoken_gtest.cc | 602 SECKEYPublicKey *pub_tmp = nullptr; in test_dh_value() local 605 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in test_dh_value() 606 if ((genFailOK) && ((priv_key.get() == nullptr) || (pub_tmp == nullptr))) { in test_dh_value() 611 EXPECT_NE(nullptr, pub_tmp); in test_dh_value() 612 if ((priv_key.get() == nullptr) || (pub_tmp == nullptr)) return SECFailure; in test_dh_value() 613 ScopedSECKEYPublicKey pub_key(pub_tmp); in test_dh_value()
|
/dports/security/ca_root_nss/nss-3.71/nss/gtests/softoken_gtest/ |
H A D | softoken_gtest.cc | 602 SECKEYPublicKey *pub_tmp = nullptr; in test_dh_value() local 605 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in test_dh_value() 606 if ((genFailOK) && ((priv_key.get() == nullptr) || (pub_tmp == nullptr))) { in test_dh_value() 611 EXPECT_NE(nullptr, pub_tmp); in test_dh_value() 612 if ((priv_key.get() == nullptr) || (pub_tmp == nullptr)) return SECFailure; in test_dh_value() 613 ScopedSECKEYPublicKey pub_key(pub_tmp); in test_dh_value()
|
/dports/security/nss/nss-3.76.1/nss/gtests/softoken_gtest/ |
H A D | softoken_gtest.cc | 602 SECKEYPublicKey *pub_tmp = nullptr; in test_dh_value() local 605 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in test_dh_value() 606 if ((genFailOK) && ((priv_key.get() == nullptr) || (pub_tmp == nullptr))) { in test_dh_value() 611 EXPECT_NE(nullptr, pub_tmp); in test_dh_value() 612 if ((priv_key.get() == nullptr) || (pub_tmp == nullptr)) return SECFailure; in test_dh_value() 613 ScopedSECKEYPublicKey pub_key(pub_tmp); in test_dh_value()
|
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/gtests/softoken_gtest/ |
H A D | softoken_gtest.cc | 602 SECKEYPublicKey *pub_tmp = nullptr; in test_dh_value() local 605 &pub_tmp, PR_FALSE, PR_TRUE, nullptr)); in test_dh_value() 606 if ((genFailOK) && ((priv_key.get() == nullptr) || (pub_tmp == nullptr))) { in test_dh_value() 611 EXPECT_NE(nullptr, pub_tmp); in test_dh_value() 612 if ((priv_key.get() == nullptr) || (pub_tmp == nullptr)) return SECFailure; in test_dh_value() 613 ScopedSECKEYPublicKey pub_key(pub_tmp); in test_dh_value()
|
/dports/security/pam_ssh/pam_ssh-8.0/openssh/ |
H A D | ssh-keygen.c | 995 char comment[1024], *prv_tmp, *pub_tmp, *prv_file, *pub_file; 1001 prv_tmp = pub_tmp = prv_file = pub_file = NULL; 1022 xasprintf(&pub_tmp, "%s%s.pub.XXXXXXXXXX", 1056 if ((fd = mkstemp(pub_tmp)) == -1) { 1058 pub_tmp, strerror(errno)); 1064 error("fdopen %s failed: %s", pub_tmp, strerror(errno)); 1085 if (rename(pub_tmp, pub_file) != 0) { 1101 free(pub_tmp);
|
/dports/security/openssh-portable/openssh-8.8p1/ |
H A D | ssh-keygen.c | 1063 char comment[1024], *prv_tmp, *pub_tmp, *prv_file, *pub_file; in do_gen_all_hostkeys() local 1068 prv_tmp = pub_tmp = prv_file = pub_file = NULL; in do_gen_all_hostkeys() 1089 xasprintf(&pub_tmp, "%s%s.pub.XXXXXXXXXX", in do_gen_all_hostkeys() 1123 if ((fd = mkstemp(pub_tmp)) == -1) { in do_gen_all_hostkeys() 1125 pub_tmp, strerror(errno)); in do_gen_all_hostkeys() 1130 if ((r = sshkey_save_public(public, pub_tmp, comment)) != 0) { in do_gen_all_hostkeys() 1137 if (rename(pub_tmp, pub_file) != 0) { in do_gen_all_hostkeys() 1153 free(pub_tmp); in do_gen_all_hostkeys()
|