Home
last modified time | relevance | path

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

/external/openssh/
Dssh-add.c187 struct sshbuf *keyblob; in add_file() local
207 if ((keyblob = sshbuf_new()) == NULL) in add_file()
209 if ((r = sshkey_load_file(fd, keyblob)) != 0) { in add_file()
212 sshbuf_free(keyblob); in add_file()
219 if ((r = sshkey_parse_private_fileblob(keyblob, "", &private, in add_file()
227 if ((r = sshkey_parse_private_fileblob(keyblob, pass, &private, in add_file()
243 if ((r = sshkey_parse_private_fileblob(keyblob, pass, in add_file()
252 sshbuf_free(keyblob); in add_file()
263 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.c1731 u_char *sig = NULL, *keyblob = NULL; in userauth_hostbased() local
1810 if ((r = sshkey_to_blob(private, &keyblob, &keylen)) != 0) { in userauth_hostbased()
1820 (r = sshbuf_put_string(b, keyblob, keylen)) != 0 || in userauth_hostbased()
1846 (r = sshpkt_put_string(ssh, keyblob, keylen)) != 0 || in userauth_hostbased()
1861 free(keyblob); in userauth_hostbased()