Home
last modified time | relevance | path

Searched refs:sshkey_load_public (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/crypto/openssh/regress/unittests/sshkey/
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()
515 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_tests()
H A Dtest_file.c106 ASSERT_INT_EQ(sshkey_load_public(test_data_file("rsa_1.pub"), &k2, in sshkey_file_tests()
215 ASSERT_INT_EQ(sshkey_load_public(test_data_file("dsa_1.pub"), &k2, in sshkey_file_tests()
313 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_1.pub"), &k2, in sshkey_file_tests()
380 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_1.pub"), &k2, in sshkey_file_tests()
445 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ecdsa_sk1.pub"), &k2, in sshkey_file_tests()
511 ASSERT_INT_EQ(sshkey_load_public(test_data_file("ed25519_sk1.pub"), in sshkey_file_tests()
/freebsd-13.1/crypto/openssh/
H A Dauthfile.h39 int sshkey_load_public(const char *, struct sshkey **, char **);
H A Dssh-add.c172 if ((r = sshkey_load_public(filename, &public, &comment)) != 0) { in delete_file()
186 if ((r = sshkey_load_public(certpath, &cert, &comment)) != 0) { in delete_file()
393 if ((r = sshkey_load_public(certpath, &cert, NULL)) != 0) { in add_file()
484 if ((r = sshkey_load_public(filename, &key, NULL)) != 0) { in test_key()
H A Dssh-keygen.c433 if ((r = sshkey_load_public(identity_file, &k, NULL)) != 0) in do_convert_to()
924 if ((r = sshkey_load_public(path, &pubkey, &comment)) != 0) in fingerprint_private()
1492 if ((r = sshkey_load_public(fname, &public, &comment)) != 0) in do_print_resource_record()
1699 if ((r = sshkey_load_public(path, &public, NULL)) != 0) in load_pkcs11_key()
1763 if ((r = sshkey_load_public(tmp, &ca, NULL)) != 0) in do_ca_sign()
1821 if ((r = sshkey_load_public(tmp, &public, &comment)) != 0) in do_ca_sign()
2398 if ((r = sshkey_load_public(tmp, &ca, NULL)) != 0) in do_gen_krl()
2442 if ((r = sshkey_load_public(argv[i], &k, &comment)) != 0) in do_check_krl()
2620 if ((r = sshkey_load_public(keypath, &pubkey, NULL)) != 0) { in sig_sign()
H A Dauthfile.c263 sshkey_load_public(const char *filename, struct sshkey **keyp, char **commentp) in sshkey_load_public() function
H A Dssh.c1602 check_load(sshkey_load_public(p, &(sensitive_data.keys[o]), NULL), \ in main()
2285 check_load(sshkey_load_public(filename, &public, NULL), in load_public_identity_files()
2304 check_load(sshkey_load_public(cp, &public, NULL), in load_public_identity_files()
2335 check_load(sshkey_load_public(filename, &public, NULL), in load_public_identity_files()
H A Dsshd.c1873 if ((r = sshkey_load_public(options.host_key_files[i],
1945 if ((r = sshkey_load_public(options.host_cert_files[i],
H A Dssh_namespace.h803 #define sshkey_load_public Fssh_sshkey_load_public macro
/freebsd-13.1/crypto/openssh/regress/unittests/sshsig/
H A Dtests.c48 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/hostkeys/
H A Dtest_iterate.c167 ASSERT_INT_EQ(sshkey_load_public( in prepare_expected()