Home
last modified time | relevance | path

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

/src/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c314 ASSERT_INT_EQ(sshkey_from_private(kr, &k1), 0); in sshkey_tests()
331 ASSERT_INT_EQ(sshkey_from_private(kd, &k1), 0); in sshkey_tests()
348 ASSERT_INT_EQ(sshkey_from_private(ke, &k1), 0); in sshkey_tests()
368 ASSERT_INT_EQ(sshkey_from_private(kf, &k1), 0); in sshkey_tests()
451 ASSERT_INT_EQ(sshkey_from_private(k2, &k1->cert->signature_key), 0); in sshkey_tests()
/src/crypto/openssh/
H A Dkexgexs.c202 (r = sshkey_from_private(server_host_public, in input_kex_dh_gex_init()
H A Dssh-pkcs11-client.c480 if ((r = sshkey_from_private(priv, &ret)) != 0) in pkcs11_make_cert()
499 if ((r = sshkey_from_private(priv, &ret)) != 0) in pkcs11_make_cert()
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.h222 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.c1461 if ((r = sshkey_from_private(host_key, &raw_key)) != 0) in check_host_key()
1552 if ((r = sshkey_from_private(host_key, &plain)) != 0) in verify_host_key()
1586 r = sshkey_from_private(host_key, &previous_host_key); in verify_host_key()
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.c1159 if ((r = sshkey_from_private(private, &public)) != 0) in do_gen_all_hostkeys()
1639 if ((r = sshkey_from_private(private, &public)) != 0) in do_change_comment()
1899 if ((r = sshkey_from_private(ca, in do_ca_sign()
3939 if ((r = sshkey_from_private(private, &public)) != 0) in main()
H A Dssh-add.c744 if ((r = sshkey_from_private(hke->key, in parse_dest_constraint_hop()
H A Dsshkey.c1561 else if ((r = sshkey_from_private(from->signature_key, in sshkey_cert_copy()
1610 sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) in sshkey_from_private() function
1718 if ((r = sshkey_from_private(k, &kswap)) != 0) in sshkey_shield_private()
H A Dsshd-session.c268 if ((r = sshkey_from_private( in demote_sensitive_data()
H A Dssh_namespace.h873 #define sshkey_from_private Fssh_sshkey_from_private macro
H A Dsshd.c1693 if ((r = sshkey_from_private(key, &pubkey)) != 0) in main()
H A Dssh-agent.c296 (r = sshkey_from_private(dch->keys[i], in dup_dest_constraint_hop()
/src/crypto/openssh/regress/unittests/kex/
H A Dtest_kex.c93 ASSERT_INT_EQ(sshkey_from_private(private, &public), 0); in do_kex_with_key()
/src/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc310 if ((r = sshkey_from_private(privkey, &pubkey)) != 0) {