Home
last modified time | relevance | path

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

/freebsd-14.2/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c312 ASSERT_INT_EQ(sshkey_from_private(kr, &k1), 0); in sshkey_tests()
329 ASSERT_INT_EQ(sshkey_from_private(kd, &k1), 0); in sshkey_tests()
346 ASSERT_INT_EQ(sshkey_from_private(ke, &k1), 0); in sshkey_tests()
364 ASSERT_INT_EQ(sshkey_from_private(kf, &k1), 0); in sshkey_tests()
447 ASSERT_INT_EQ(sshkey_from_private(k2, &k1->cert->signature_key), 0); in sshkey_tests()
/freebsd-14.2/crypto/openssh/regress/unittests/kex/
H A Dtest_kex.c92 ASSERT_INT_EQ(sshkey_from_private(private, &public), 0); in do_kex_with_key()
/freebsd-14.2/crypto/openssh/
H A Dkexgexs.c202 (r = sshkey_from_private(server_host_public, in input_kex_dh_gex_init()
H A Dssh-pkcs11-client.c455 if ((r = sshkey_from_private(priv, &ret)) != 0) in pkcs11_make_cert()
465 if ((r = sshkey_from_private(priv, &ret)) != 0) in pkcs11_make_cert()
H A Dauth2.c776 if ((r = sshkey_from_private(key, &dup)) != 0) in auth2_record_key()
785 if ((r = sshkey_from_private(key, &dup)) != 0) in auth2_record_key()
H A Dsshkey.h219 int sshkey_from_private(const struct sshkey *, struct sshkey **);
H A Dkexgen.c359 (r = sshkey_from_private(server_host_public, in input_kex_gen_init()
H A Dsshconnect.c1422 if ((r = sshkey_from_private(host_key, &raw_key)) != 0) in check_host_key()
1513 if ((r = sshkey_from_private(host_key, &plain)) != 0) in verify_host_key()
1547 r = sshkey_from_private(host_key, &previous_host_key); in verify_host_key()
H A Dssh_api.c203 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.c1135 if ((r = sshkey_from_private(private, &public)) != 0) in do_gen_all_hostkeys()
1615 if ((r = sshkey_from_private(private, &public)) != 0) in do_change_comment()
1875 if ((r = sshkey_from_private(ca, in do_ca_sign()
3906 if ((r = sshkey_from_private(private, &public)) != 0) in main()
H A Dsshd.c414 if ((r = sshkey_from_private( in demote_sensitive_data()
1948 if ((r = sshkey_from_private(key, &pubkey)) != 0)
H A Dssh-add.c744 if ((r = sshkey_from_private(hke->key, in parse_dest_constraint_hop()
H A Dsshkey.c1454 else if ((r = sshkey_from_private(from->signature_key, in sshkey_cert_copy()
1503 sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) in sshkey_from_private() function
1613 if ((r = sshkey_from_private(k, &kswap)) != 0) in sshkey_shield_private()
H A Dssh_namespace.h865 #define sshkey_from_private Fssh_sshkey_from_private macro
H A Dssh-agent.c291 (r = sshkey_from_private(dch->keys[i], in dup_dest_constraint_hop()
H A DChangeLog5737 upstream: refactor sshkey_from_private()
/freebsd-14.2/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc315 if ((r = sshkey_from_private(privkey, &pubkey)) != 0) {