Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/regress/unittests/hostkeys/
H A Dtest_iterate.c176 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected()
913 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
924 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
936 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
948 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
960 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
972 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
983 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
994 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
1006 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate()
[all …]
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_file.c105 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_file_tests()
113 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1_sha1"), &k2), 0); in sshkey_file_tests()
122 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1_sha512"), &k2), 0); in sshkey_file_tests()
131 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()
317 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_1.pub"), &k2, in sshkey_file_tests()
325 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k2), 0); in sshkey_file_tests()
384 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), &k2, in sshkey_file_tests()
392 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k2), 0); in sshkey_file_tests()
[all …]
H A Dtest_sshkey.c419 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), in sshkey_tests()
467 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
476 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
485 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests()
495 ASSERT_INT_EQ(sshkey_load_public(test_data_file("dsa_2.pub"), &k2, in sshkey_tests()
506 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_2.pub"), &k2, in sshkey_tests()
517 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_2.pub"), &k2, in sshkey_tests()
526 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_tests()
527 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_tests()
H A Dtest_fuzz.c288 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_fuzz_tests()
303 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("dsa_1"), &k1), 0); in sshkey_fuzz_tests()
319 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k1), 0); in sshkey_fuzz_tests()
335 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k1), 0); in sshkey_fuzz_tests()
H A Dcommon.c47 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
/freebsd/crypto/openssh/regress/unittests/sshsig/
H A Dtests.c40 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
49 ASSERT_INT_EQ(sshkey_load_public(test_data_file(name), &ret, NULL), 0); in load_key()
/freebsd/crypto/openssh/regress/unittests/authopt/
H A Dtests.c33 r = sshkey_load_public(test_data_file(name), &ret, NULL); in load_key()
/freebsd/crypto/openssh/regress/unittests/test_helper/
H A Dtest_helper.c213 test_data_file(const char *name) in test_data_file() function
H A Dtest_helper.h43 const char *test_data_file(const char *name);