Home
last modified time | relevance | path

Searched refs:keyblob (Results 1 – 3 of 3) sorted by relevance

/external/openssh/
Dssh-add.c188 struct sshbuf *keyblob; in add_file() local
208 if ((keyblob = sshbuf_new()) == NULL) in add_file()
210 if ((r = sshkey_load_file(fd, keyblob)) != 0) { in add_file()
213 sshbuf_free(keyblob); in add_file()
220 if ((r = sshkey_parse_private_fileblob(keyblob, "", filename, in add_file()
228 if ((r = sshkey_parse_private_fileblob(keyblob, pass, filename, in add_file()
247 if ((r = sshkey_parse_private_fileblob(keyblob, pass, in add_file()
257 sshbuf_free(keyblob); in add_file()
266 sshbuf_free(keyblob); in add_file()
Dauthfile.c80 struct sshbuf *keyblob = NULL; in sshkey_save_private() local
83 if ((keyblob = sshbuf_new()) == NULL) in sshkey_save_private()
85 if ((r = sshkey_private_to_fileblob(key, keyblob, passphrase, comment, in sshkey_save_private()
88 if ((r = sshkey_save_private_blob(keyblob, filename)) != 0) in sshkey_save_private()
92 sshbuf_free(keyblob); in sshkey_save_private()
Dsshconnect2.c1581 u_char *sig = NULL, *keyblob = NULL; in userauth_hostbased() local
1661 if ((r = sshkey_to_blob(private, &keyblob, &keylen)) != 0) { in userauth_hostbased()
1671 (r = sshbuf_put_string(b, keyblob, keylen)) != 0 || in userauth_hostbased()
1697 (r = sshpkt_put_string(ssh, keyblob, keylen)) != 0 || in userauth_hostbased()
1712 free(keyblob); in userauth_hostbased()