/external/openssh/ |
D | ssh-keysign.c | 105 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()
|
D | sftp-server.c | 683 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 …]
|
D | auth-options.c | 477 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()
|
D | ssh-agent.c | 626 (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()
|
D | sftp-client.c | 433 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()
|
D | ssh-ecdsa.c | 135 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_ecdsa_verify()
|
D | ssh-ed25519.c | 116 if ((r = sshbuf_get_cstring(b, &ktype, NULL)) != 0 || in ssh_ed25519_verify()
|
D | ssh-dss.c | 158 if (sshbuf_get_cstring(b, &ktype, NULL) != 0 || in ssh_dss_verify()
|
D | bufaux.c | 157 if ((ret = sshbuf_get_cstring(buffer, &value, &len)) != 0) { in buffer_get_cstring_ret()
|
D | sftp-common.c | 140 if ((r = sshbuf_get_cstring(b, &type, NULL)) != 0 || in decode_attrib()
|
D | authfd.c | 216 (r = sshbuf_get_cstring(ids, &comment, NULL)) != 0) in deserialise_identity1() 249 (r = sshbuf_get_cstring(ids, &comment, NULL)) != 0) in deserialise_identity2()
|
D | sshkey.c | 1854 (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()
|
D | sshbuf.h | 194 int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
|
D | ssh-rsa.c | 181 if (sshbuf_get_cstring(b, &ktype, NULL) != 0) { in ssh_rsa_verify()
|
D | packet.c | 2638 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()
|
D | sshbuf-getput-basic.c | 181 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) in sshbuf_get_cstring() function
|
D | ssh-keygen.c | 455 (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()
|
D | krl.c | 885 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()
|
D | kex.c | 291 if ((r = sshbuf_get_cstring(b, &(proposal[i]), NULL)) != 0) in kex_buf2prop()
|
D | channels.c | 2503 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 ||
|
D | monitor.c | 613 (r = sshbuf_get_cstring(m, &alg, &alglen)) != 0) in mm_answer_sign()
|
/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf_fixed.c | 61 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()
|
D | test_sshbuf_getput_basic.c | 349 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()
|