Home
last modified time | relevance | path

Searched refs:test_data_file (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c162 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected()
787 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
798 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
810 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
822 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
834 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
846 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
857 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
868 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
880 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
[all …]
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_file.c102 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_file_tests()
110 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1_sha1"), &k2), 0); in sshkey_file_tests()
119 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1_sha512"), &k2), 0); in sshkey_file_tests()
128 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k2), 0); in sshkey_file_tests()
221 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_1.pub"), &k2, in sshkey_file_tests()
229 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k2), 0); in sshkey_file_tests()
288 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), &k2, in sshkey_file_tests()
296 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k2), 0); in sshkey_file_tests()
353 test_data_file("mldsa44_ed25519_1.pub"), &k2, NULL), 0); in sshkey_file_tests()
361 test_data_file("mldsa44_ed25519_1"), &k2), 0); in sshkey_file_tests()
[all …]
H A Dtest_sshkey.c491 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), in sshkey_tests()
539 test_data_file("mldsa44_ed25519_1.pub"), &k1, NULL), 0); in sshkey_tests()
586 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
596 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
606 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
618 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_2.pub"), &k2, in sshkey_tests()
630 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_2.pub"), &k2, in sshkey_tests()
641 test_data_file("mldsa44_ed25519_2.pub"), &k2, NULL), 0); in sshkey_tests()
650 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_tests()
651 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_tests()
H A Dtest_fuzz.c268 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_fuzz_tests()
283 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k1), 0); in sshkey_fuzz_tests()
299 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k1), 0); in sshkey_fuzz_tests()
314 test_data_file("mldsa44_ed25519_1"), &k1), 0); in sshkey_fuzz_tests()
H A Dcommon.c44 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
/freebsd/crypto/openssh/regress/unittests/sshsig/
H A Dtests.c39 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
48 ASSERT_INT_EQ(sshkey_load_public(test_data_file(name), &ret, NULL), 0); in load_key()
/freebsd/crypto/openssh/regress/unittests/crypto/
H A Dtests.c30 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
/freebsd/crypto/openssh/regress/unittests/authopt/
H A Dtests.c31 r = sshkey_load_public(test_data_file(name), &ret, NULL); in load_key()
/freebsd/crypto/openssh/regress/unittests/test_helper/
H A Dtest_helper.c246 test_data_file(const char *name) in test_data_file() function
H A Dtest_helper.h44 const char *test_data_file(const char *name);