sshkey_from_private
if ((r = sshkey_from_private(key, &dup)) != 0)
if ((r = sshkey_from_private(key, &dup)) != 0)
(r = sshkey_from_private(server_host_public,
(r = sshkey_from_private(server_host_public,
else if ((r = sshkey_from_private(ca_key, &rc->ca_key)) != 0) {
if ((r = sshkey_from_private(key, &kcopy)) != 0)
if ((r = sshkey_from_private(privkey, &pubkey)) != 0) {
ASSERT_INT_EQ(sshkey_from_private(private, &public), 0);
ASSERT_INT_EQ(sshkey_from_private(kr, &k1), 0);
ASSERT_INT_EQ(sshkey_from_private(kd, &k1), 0);
ASSERT_INT_EQ(sshkey_from_private(ke, &k1), 0);
ASSERT_INT_EQ(sshkey_from_private(kf, &k1), 0);
ASSERT_INT_EQ(sshkey_from_private(k2, &k1->cert->signature_key), 0);
if ((r = sshkey_from_private(hke->key,
(r = sshkey_from_private(dch->keys[i],
if ((r = sshkey_from_private(private, &public)) != 0)
if ((r = sshkey_from_private(private, &public)) != 0)
if ((r = sshkey_from_private(ca,
if ((r = sshkey_from_private(private, &public)) != 0)
if ((r = sshkey_from_private(priv, &ret)) != 0)
if ((r = sshkey_from_private(priv, &ret)) != 0)
if ((r = sshkey_from_private(key, &pubkey)) != 0)
if ((r = sshkey_from_private(host_key, &raw_key)) != 0)
if ((r = sshkey_from_private(host_key, &plain)) != 0)
r = sshkey_from_private(host_key, &previous_host_key);
if ((r = sshkey_from_private(
if ((r = sshkey_from_private(key, &pubkey)) != 0)
else if ((r = sshkey_from_private(from->signature_key,
if ((r = sshkey_from_private(k, &kswap)) != 0)
int sshkey_from_private(const struct sshkey *, struct sshkey **);