Home | History | Annotate | Download | only in openssh

Lines Matching defs:private

256 	struct sshkey	*key;		/* public/private key */
259 int isprivate; /* key points to the private key */
993 * we have already loaded the private key or
994 * the private key is stored in external hardware
999 /* load the private key from the file */
1130 Key *private;
1154 passphrase, &private, NULL, &perm_ok))) {
1182 if (private != NULL || quit)
1185 return private;
1333 * private key instead
1346 debug("Trying private key: %s", id->filename);
1578 struct sshkey *private = NULL;
1605 private = NULL;
1617 private = authctxt->sensitive->keys[i];
1622 if (private != NULL)
1627 if (private == NULL) {
1635 if ((fp = sshkey_fingerprint(private, options.fingerprint_hash,
1641 __func__, sshkey_ssh_name(private), fp);
1661 if ((r = sshkey_to_blob(private, &keyblob, &keylen)) != 0) {
1670 (r = sshbuf_put_cstring(b, key_ssh_name(private))) != 0 ||
1682 r = ssh_keysign(private, &sig, &siglen,
1684 else if ((r = sshkey_sign(private, &sig, &siglen,
1689 sshkey_ssh_name(private), fp);
1696 (r = sshpkt_put_cstring(ssh, key_ssh_name(private))) != 0 ||
1716 sshkey_free(private);