Searched refs:test_data_file (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/crypto/openssh/regress/unittests/hostkeys/ |
| H A D | test_iterate.c | 150 test_data_file(expected[i].key_file), &expected[i].l.key, in prepare_expected() 837 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate() 848 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate() 860 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate() 872 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate() 884 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate() 896 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate() 907 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate() 918 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate() 930 ASSERT_INT_EQ(hostkeys_foreach(test_data_file("known_hosts"), in test_iterate() [all …]
|
| /freebsd-12.1/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_file.c | 101 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_file_tests() 109 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k2), 0); in sshkey_file_tests() 192 ASSERT_INT_EQ(sshkey_load_public(test_data_file("dsa_1.pub"), &k2, in sshkey_file_tests() 200 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("dsa_1"), &k2), 0); in sshkey_file_tests() 290 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_1.pub"), &k2, in sshkey_file_tests() 298 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k2), 0); in sshkey_file_tests() 356 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), &k2, in sshkey_file_tests() 364 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k2), 0); in sshkey_file_tests()
|
| H A D | test_sshkey.c | 392 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), in sshkey_tests() 439 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests() 448 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, 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("dsa_2.pub"), &k2, in sshkey_tests() 476 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_2.pub"), &k2, in sshkey_tests() 486 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_2.pub"), &k2, in sshkey_tests() 494 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_tests() 495 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_tests()
|
| H A D | test_fuzz.c | 259 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_fuzz_tests() 273 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("dsa_1"), &k1), 0); in sshkey_fuzz_tests() 288 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k1), 0); in sshkey_fuzz_tests() 303 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k1), 0); in sshkey_fuzz_tests()
|
| H A D | common.c | 46 ASSERT_INT_NE(fd = open(test_data_file(name), O_RDONLY), -1); in load_file()
|
| /freebsd-12.1/crypto/openssh/regress/unittests/authopt/ |
| H A D | tests.c | 30 r = sshkey_load_public(test_data_file(name), &ret, NULL); in load_key()
|
| /freebsd-12.1/crypto/openssh/regress/unittests/test_helper/ |
| H A D | test_helper.c | 182 test_data_file(const char *name) in test_data_file() function
|
| H A D | test_helper.h | 41 const char *test_data_file(const char *name);
|