| /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() 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 D | test_sshkey.c | 491 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 D | test_fuzz.c | 268 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 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 | 39 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 D | tests.c | 30 ASSERT_INT_EQ(sshbuf_load_file(test_data_file(name), &ret), 0); in load_file()
|
| /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 | 44 const char *test_data_file(const char *name);
|