sshbuf_get_string
ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0);
ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0);
r = sshbuf_get_string(p1, &d, &s);
r = sshbuf_get_string(p1, &d, &s);
if (sshbuf_get_string(p1, &s, &l) == 0) {
if ((r = sshbuf_get_string(msg, &sig, &len)) != 0)
if ((r = sshbuf_get_string(c->output, &data, &dlen)) != 0)
if ((r = sshbuf_get_string(b, &p, &len)) != 0)
if ((r = sshbuf_get_string(sect, &rdata, &rlen)) != 0)
if ((r = sshbuf_get_string(m, &p, &len)) != 0)
(r = sshbuf_get_string(m, &p, &datlen)) != 0 ||
if ((r = sshbuf_get_string(m, sigp, lenp)) != 0)
if ((r = sshbuf_get_string(m, &cp, &len)) != 0 ||
(r = sshbuf_get_string(m, pw_namep, NULL)) != 0 ||
(r = sshbuf_get_string(b, &enc->key, &keylen)) != 0 ||
(r = sshbuf_get_string(b, &enc->iv, &ivlen)) != 0)
(r = sshbuf_get_string(b, &mac->key, &maclen)) != 0)
return sshbuf_get_string(ssh->state->incoming_packet, valp, lenp);
if ((r = sshbuf_get_string(msg, &data, &len)) != 0)
if ((r = sshbuf_get_string(msg, &data, &len)) != 0)
if ((r = sshbuf_get_string(msg, &handle, len)) != 0)
(r = sshbuf_get_string(msg, &value, &vlen)) != 0)
(r = sshbuf_get_string(b, &data, &dlen)) != 0)
if ((r = sshbuf_get_string(queue, &handle, &hlen)) != 0)
(r = sshbuf_get_string(iqueue, &data, &len)) != 0)
if ((r = sshbuf_get_string(b, &pk, &len)) != 0)
if ((r = sshbuf_get_string(b, &ed25519_sk, &sklen)) != 0)
(r = sshbuf_get_string(b, &pkblob, &blen)) != 0)
if ((r = sshbuf_get_string(b, &data, &dlen)) != 0)
if ((r = sshbuf_get_string(b, NULL, &len)) != 0)
if ((r = sshbuf_get_string(msg, &signature, &signature_len)) != 0)
if (sshbuf_get_string(b, &sigblob, &len) != 0) {
if ((r = sshbuf_get_string(resp, sigp, lenp)) != 0) {
(r = sshbuf_get_string(resp, &userid, &userid_len)) != 0) {
int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
if ((r = sshbuf_get_string(b, sigp, lenp)) != 0) {
if ((r = sshbuf_get_string(m, &cp, &len)) != 0 || /* XXX _direct */
if ((ret = sshbuf_get_string(b, &sig, &slen)) != 0) {
if ((r = sshbuf_get_string(kdf, &salt, &slen)) != 0 ||
(r = sshbuf_get_string(buf, NULL, NULL)) != 0 ||
(r = sshbuf_get_string(signature, NULL, NULL)) != 0 ||