Searched refs:test_data_file (Results 1 – 9 of 9) sorted by relevance
| /freebsd/crypto/openssh/regress/unittests/hostkeys/ |
| H A D | test_iterate.c | 162 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 D | test_file.c | 102 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() 354 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_sk1.pub"), &k2, in sshkey_file_tests() 362 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_sk1"), &k2), 0); in sshkey_file_tests() [all …]
|
| H A D | test_sshkey.c | 449 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), in sshkey_tests() 498 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests() 508 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests() 518 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_2.pub"), &k2, in sshkey_tests() 530 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_2.pub"), &k2, in sshkey_tests() 542 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_2.pub"), &k2, in sshkey_tests() 552 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_tests() 553 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_tests()
|
| H A D | test_fuzz.c | 239 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("rsa_1"), &k1), 0); in sshkey_fuzz_tests() 254 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ecdsa_1"), &k1), 0); in sshkey_fuzz_tests() 270 ASSERT_INT_EQ(sshkey_load_cert(test_data_file("ed25519_1"), &k1), 0); in sshkey_fuzz_tests()
|
| H A D | common.c | 44 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
|
| /freebsd/crypto/openssh/regress/unittests/sshsig/ |
| H A D | tests.c | 38 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file() 47 ASSERT_INT_EQ(sshkey_load_public(test_data_file(name), &ret, NULL), 0); in load_key()
|
| /freebsd/crypto/openssh/regress/unittests/authopt/ |
| H A D | tests.c | 31 r = sshkey_load_public(test_data_file(name), &ret, NULL); in load_key()
|
| /freebsd/crypto/openssh/regress/unittests/test_helper/ |
| H A D | test_helper.c | 246 test_data_file(const char *name) in test_data_file() function
|
| H A D | test_helper.h | 42 const char *test_data_file(const char *name);
|