Home
last modified time | relevance | path

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

/freebsd-13.1/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c168 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected()
905 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
916 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
928 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
940 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
952 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
964 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
975 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
986 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
998 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
[all …]
/freebsd-13.1/crypto/openssh/regress/unittests/sshkey/
H A Dtest_file.c106 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_file_tests()
114 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1_sha1"), &k2), 0); in sshkey_file_tests()
123 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1_sha512"), &k2), 0); in sshkey_file_tests()
132 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k2), 0); in sshkey_file_tests()
215 ASSERT_INT_EQ(sshkey_load_public(test_data_file("dsa_1.pub"), &k2, in sshkey_file_tests()
223 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("dsa_1"), &k2), 0); in sshkey_file_tests()
313 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_1.pub"), &k2, in sshkey_file_tests()
321 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k2), 0); in sshkey_file_tests()
388 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k2), 0); in sshkey_file_tests()
453 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_sk1"), &k2), 0); in sshkey_file_tests()
[all …]
H A Dtest_sshkey.c409 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), in sshkey_tests()
457 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
466 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
475 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
484 ASSERT_INT_EQ(sshkey_load_public(test_data_file("dsa_2.pub"), &k2, in sshkey_tests()
494 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_2.pub"), &k2, in sshkey_tests()
505 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_2.pub"), &k2, in sshkey_tests()
514 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_tests()
515 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_tests()
H A Dtest_fuzz.c285 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_fuzz_tests()
299 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("dsa_1"), &k1), 0); in sshkey_fuzz_tests()
314 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k1), 0); in sshkey_fuzz_tests()
330 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k1), 0); in sshkey_fuzz_tests()
H A Dcommon.c48 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
/freebsd-13.1/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-13.1/crypto/openssh/regress/unittests/authopt/
H A Dtests.c34 r = sshkey_load_public(test_data_file(name), &ret, NULL); in load_key()
/freebsd-13.1/crypto/openssh/regress/unittests/test_helper/
H A Dtest_helper.c212 test_data_file(const char *name) in test_data_file() function
H A Dtest_helper.h43 const char *test_data_file(const char *name);