Home
last modified time | relevance | path

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

/external/openssh/
Dssh-add.c189 struct sshbuf *keyblob; in add_file() local
209 if ((keyblob = sshbuf_new()) == NULL) in add_file()
211 if ((r = sshkey_load_file(fd, keyblob)) != 0) { in add_file()
214 sshbuf_free(keyblob); in add_file()
221 if ((r = sshkey_parse_private_fileblob(keyblob, "", filename, in add_file()
229 if ((r = sshkey_parse_private_fileblob(keyblob, pass, filename, in add_file()
248 if ((r = sshkey_parse_private_fileblob(keyblob, pass, in add_file()
258 sshbuf_free(keyblob); in add_file()
267 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.c1585 u_char *sig = NULL, *keyblob = NULL; in userauth_hostbased() local
1664 if ((r = sshkey_to_blob(private, &keyblob, &keylen)) != 0) { in userauth_hostbased()
1674 (r = sshbuf_put_string(b, keyblob, keylen)) != 0 || in userauth_hostbased()
1700 (r = sshpkt_put_string(ssh, keyblob, keylen)) != 0 || in userauth_hostbased()
1715 free(keyblob); in userauth_hostbased()