Home
last modified time | relevance | path

Searched refs:sshbuf_get_cstring (Results 1 – 23 of 23) sorted by relevance

/external/openssh/
Dssh-keysign.c105 if ((r = sshbuf_get_cstring(b, &p, NULL)) != 0) in valid_request()
112 if ((r = sshbuf_get_cstring(b, &p, NULL)) != 0) in valid_request()
119 if ((r = sshbuf_get_cstring(b, &pkalg, NULL)) != 0 || in valid_request()
135 if ((r = sshbuf_get_cstring(b, &p, &len)) != 0) in valid_request()
147 if ((r = sshbuf_get_cstring(b, &luser, NULL)) != 0) in valid_request()
Dsftp-server.c683 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_open()
824 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_do_stat()
899 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_setstat()
1011 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_opendir()
1096 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_remove()
1114 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || in process_mkdir()
1134 if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0) in process_rmdir()
1152 if ((r = sshbuf_get_cstring(iqueue, &path, NULL)) != 0) in process_realpath()
1179 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || in process_rename()
1180 (r = sshbuf_get_cstring(iqueue, &newpath, NULL)) != 0) in process_rename()
[all …]
Dauth-options.c477 if ((r = sshbuf_get_cstring(c, &name, NULL)) != 0 || in parse_option_list()
508 if ((r = sshbuf_get_cstring(data, &command, in parse_option_list()
524 if ((r = sshbuf_get_cstring(data, &allowed, in parse_option_list()
Dssh-agent.c626 (r = sshbuf_get_cstring(e->request, &comment, NULL)) != 0) { in process_add_identity()
688 if ((r = sshbuf_get_cstring(e->request, &passwd, &pwlen)) != 0) in process_lock_agent()
757 if ((r = sshbuf_get_cstring(e->request, &provider, NULL)) != 0 || in process_add_smartcard_key()
758 (r = sshbuf_get_cstring(e->request, &pin, NULL)) != 0) in process_add_smartcard_key()
829 if ((r = sshbuf_get_cstring(e->request, &provider, NULL)) != 0 || in process_remove_smartcard_key()
830 (r = sshbuf_get_cstring(e->request, &pin, NULL)) != 0) in process_remove_smartcard_key()
Dsftp-client.c433 if ((r = sshbuf_get_cstring(msg, &name, NULL)) != 0 || in do_init()
606 if ((r = sshbuf_get_cstring(msg, &filename, in do_lsreaddir()
608 (r = sshbuf_get_cstring(msg, &longname, in do_lsreaddir()
857 if ((r = sshbuf_get_cstring(msg, &filename, NULL)) != 0 || in do_realpath()
858 (r = sshbuf_get_cstring(msg, &longname, NULL)) != 0 || in do_realpath()
1057 if ((r = sshbuf_get_cstring(msg, &filename, NULL)) != 0 || in do_readlink()
1058 (r = sshbuf_get_cstring(msg, &longname, NULL)) != 0 || in do_readlink()
Dssh-ecdsa.c135 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_ecdsa_verify()
Dssh-ed25519.c116 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_ed25519_verify()
Dssh-dss.c158 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_dss_verify()
Dbufaux.c157 if ((ret = sshbuf_get_cstring(buffer, &value, &len)) != 0) { in buffer_get_cstring_ret()
Dsftp-common.c140 if ((r = sshbuf_get_cstring(b, &type, NULL)) != 0 || in decode_attrib()
Dauthfd.c216 (r = sshbuf_get_cstring(ids, &comment, NULL)) != 0) in deserialise_identity1()
249 (r = sshbuf_get_cstring(ids, &comment, NULL)) != 0) in deserialise_identity2()
Dsshkey.c1854 (ret = sshbuf_get_cstring(b, &key->cert->key_id, &kidlen)) != 0 || in cert_parse()
1890 if ((ret = sshbuf_get_cstring(principals, &principal, in cert_parse()
1983 if (sshbuf_get_cstring(b, &ktype, NULL) != 0) { in sshkey_from_blob_internal()
2053 if (sshbuf_get_cstring(b, &curve, NULL) != 0) { in sshkey_from_blob_internal()
2692 if ((r = sshbuf_get_cstring(buf, &tname, NULL)) != 0) in sshkey_private_deserialize()
2725 if ((r = sshbuf_get_cstring(buf, &curve, NULL)) != 0) in sshkey_private_deserialize()
3264 (r = sshbuf_get_cstring(decoded, &ciphername, NULL)) != 0 || in sshkey_parse_private2()
3265 (r = sshbuf_get_cstring(decoded, &kdfname, NULL)) != 0 || in sshkey_parse_private2()
3359 (r = sshbuf_get_cstring(decrypted, &comment, NULL)) != 0) in sshkey_parse_private2()
3709 (r = sshbuf_get_cstring(copy, &comment, NULL)) != 0) in sshkey_parse_private_rsa1()
Dsshbuf.h194 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
Dssh-rsa.c181 if (sshbuf_get_cstring(b, &ktype, NULL) != 0) { in ssh_rsa_verify()
Dpacket.c2638 if ((r = sshbuf_get_cstring(b, &enc->name, NULL)) != 0 || in newkeys_from_blob()
2646 if ((r = sshbuf_get_cstring(b, &mac->name, NULL)) != 0) in newkeys_from_blob()
2660 (r = sshbuf_get_cstring(b, &comp->name, NULL)) != 0) in newkeys_from_blob()
2702 (r = sshbuf_get_cstring(m, &kex->client_version_string, NULL)) != 0 || in kex_from_blob()
2703 (r = sshbuf_get_cstring(m, &kex->server_version_string, NULL)) != 0) in kex_from_blob()
2921 return sshbuf_get_cstring(ssh->state->incoming_packet, valp, lenp); in sshpkt_get_cstring()
Dsshbuf-getput-basic.c181 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) in sshbuf_get_cstring() function
Dssh-keygen.c455 (r = sshbuf_get_cstring(b, &type, NULL)) != 0 || in do_convert_private_ssh2_from_blob()
456 (r = sshbuf_get_cstring(b, &cipher, NULL)) != 0 || in do_convert_private_ssh2_from_blob()
1848 if ((r = sshbuf_get_cstring(options, &name, NULL)) != 0 || in show_options()
1862 if ((r = sshbuf_get_cstring(option, &arg, NULL)) != 0) in show_options()
Dkrl.c885 if ((r = sshbuf_get_cstring(subsect, in parse_revoked_certs()
964 (r = sshbuf_get_cstring(copy, &krl->comment, NULL)) != 0) in ssh_krl_from_blob()
Dkex.c291 if ((r = sshbuf_get_cstring(b, &(proposal[i]), NULL)) != 0) in kex_buf2prop()
Dchannels.c2503 if ((r = sshbuf_get_cstring(original, &ctype, NULL)) != 0 ||
2553 if ((r = sshbuf_get_cstring(original, &ctype, NULL)) != 0) {
2562 (r = sshbuf_get_cstring(original, &listen_host, NULL)) != 0 ||
Dmonitor.c613 (r = sshbuf_get_cstring(m, &alg, &alglen)) != 0) in mm_answer_sign()
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_fixed.c61 ASSERT_INT_EQ(sshbuf_get_cstring(p1, &s, &l), 0); in sshbuf_fixed()
92 ASSERT_INT_EQ(sshbuf_get_cstring(p2, &s, &l), 0); in sshbuf_fixed()
Dtest_sshbuf_getput_basic.c349 r = sshbuf_get_cstring(p1, &s2, &s); in sshbuf_getput_basic_tests()
361 r = sshbuf_get_cstring(p1, &s2, NULL); in sshbuf_getput_basic_tests()
372 ASSERT_INT_EQ(sshbuf_get_cstring(p1, &s2, &s), 0); in sshbuf_getput_basic_tests()