Home
last modified time | relevance | path

Searched refs:sshkey_from_private (Results 1 – 18 of 18) sorted by relevance

/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c354 ASSERT_INT_EQ(sshkey_from_private(kr, &k1), 0); in sshkey_tests()
373 ASSERT_INT_EQ(sshkey_from_private(ke, &k1), 0); in sshkey_tests()
394 ASSERT_INT_EQ(sshkey_from_private(kf, &k1), 0); in sshkey_tests()
481 ASSERT_INT_EQ(sshkey_from_private(k2, &k1->cert->signature_key), 0); in sshkey_tests()
/freebsd/crypto/openssh/
H A Dkexgexs.c201 (r = sshkey_from_private(server_host_public, in input_kex_dh_gex_init()
H A Dauth2.c724 if ((r = sshkey_from_private(key, &dup)) != 0) in auth2_record_key()
733 if ((r = sshkey_from_private(key, &dup)) != 0) in auth2_record_key()
H A Dsshkey.h202 int sshkey_from_private(const struct sshkey *, struct sshkey **);
H A Dkexgen.c372 (r = sshkey_from_private(server_host_public, in input_kex_gen_init()
H A Dsshconnect.c1448 if ((r = sshkey_from_private(host_key, &raw_key)) != 0) in check_host_key()
1540 if ((r = sshkey_from_private(host_key, &plain)) != 0) in verify_host_key()
1574 r = sshkey_from_private(host_key, &previous_host_key); in verify_host_key()
H A Dssh-pkcs11-client.c310 if ((r = sshkey_from_private(priv, &ret)) != 0) in pkcs11_make_cert()
H A Dssh_api.c210 if ((r = sshkey_from_private(key, &pubkey)) != 0) in ssh_add_hostkey()
H A Dkrl.c237 else if ((r = sshkey_from_private(ca_key, &rc->ca_key)) != 0) { in revoked_certs_for_ca_key()
372 if ((r = sshkey_from_private(key, &kcopy)) != 0) in plain_key_blob()
H A Dssh-keygen.c1075 if ((r = sshkey_from_private(private, &public)) != 0) in do_gen_all_hostkeys()
1556 if ((r = sshkey_from_private(private, &public)) != 0) in do_change_comment()
1818 if ((r = sshkey_from_private(ca, in do_ca_sign()
3863 if ((r = sshkey_from_private(private, &public)) != 0) in main()
H A Dssh-add.c751 if ((r = sshkey_from_private(hke->key, in parse_dest_constraint_hop()
H A Dsshd-session.c255 if ((r = sshkey_from_private( in demote_sensitive_data()
H A Dsshkey.c1551 else if ((r = sshkey_from_private(from->signature_key, in sshkey_cert_copy()
1600 sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) in sshkey_from_private() function
1707 if ((r = sshkey_from_private(k, &kswap)) != 0) in sshkey_shield_private()
H A Dssh_namespace.h886 #define sshkey_from_private Fssh_sshkey_from_private macro
H A Dsshd.c1686 if ((r = sshkey_from_private(key, &pubkey)) != 0) in main()
H A Dssh-agent.c286 (r = sshkey_from_private(dch->keys[i], in dup_dest_constraint_hop()
/freebsd/crypto/openssh/regress/unittests/kex/
H A Dtest_kex.c98 ASSERT_INT_EQ(sshkey_from_private(private, &public), 0); in do_kex_with_key()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc310 if ((r = sshkey_from_private(privkey, &pubkey)) != 0) {