Searched refs:sshbuf_get_string (Results 1 - 20 of 20) sorted by relevance

/freebsd-10-stable/crypto/openssh/
H A Dssh-keysign.c90 if ((r = sshbuf_get_string(b, NULL, &len)) != 0)
120 (r = sshbuf_get_string(b, &pkblob, &blen)) != 0)
273 if ((r = sshbuf_get_string(b, &data, &dlen)) != 0)
H A Dbufaux.c131 if ((ret = sshbuf_get_string(buffer, &value, &len)) != 0) {
H A Dsftp-common.c142 (r = sshbuf_get_string(b, &data, &dlen)) != 0)
H A Dsshbuf.h185 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
193 * "Direct" variant of sshbuf_get_string, returns pointer into the sshbuf to
H A Dssh-dss.c159 sshbuf_get_string(b, &sigblob, &len) != 0) {
H A Dssh-rsa.c189 if (sshbuf_get_string(b, &sigblob, &len) != 0) {
H A Dssh-agent.c413 if ((r = sshbuf_get_string(e->request, &blob, &blen)) != 0 ||
414 (r = sshbuf_get_string(e->request, &data, &dlen)) != 0 ||
487 if ((r = sshbuf_get_string(e->request, &blob, &blen)) != 0)
H A Dsshbuf-getput-basic.c97 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) function
H A Dsshkey.c1862 if ((ret = sshbuf_get_string(b, &sig, &slen)) != 0) {
2092 if ((ret = sshbuf_get_string(b, &pk, &len)) != 0)
2789 if ((r = sshbuf_get_string(buf, &ed25519_pk, &pklen)) != 0 ||
2790 (r = sshbuf_get_string(buf, &ed25519_sk, &sklen)) != 0)
2803 (r = sshbuf_get_string(buf, &ed25519_pk, &pklen)) != 0 ||
2804 (r = sshbuf_get_string(buf, &ed25519_sk, &sklen)) != 0)
3299 if ((r = sshbuf_get_string(kdf, &salt, &slen)) != 0 ||
3631 if ((r = sshbuf_get_string(copy, (u_char**)commentp, NULL)) != 0)
H A Dpacket.c2633 (r = sshbuf_get_string(b, &enc->key, &keylen)) != 0 ||
2634 (r = sshbuf_get_string(b, &enc->iv, &ivlen)) != 0)
2642 (r = sshbuf_get_string(b, &mac->key, &maclen)) != 0)
2687 if ((r = sshbuf_get_string(m, &kex->session_id, &kex->session_id_len)) != 0 ||
2902 return sshbuf_get_string(ssh->state->incoming_packet, valp, lenp);
H A Dsftp-client.c265 if ((r = sshbuf_get_string(msg, &handle, len)) != 0)
428 (r = sshbuf_get_string(msg, &value, &vlen)) != 0)
1313 if ((r = sshbuf_get_string(msg, &data, &len)) != 0)
H A Dauthfd.c482 if ((r = sshbuf_get_string(msg, sigp, &len)) != 0)
H A Dsftp-server.c473 if ((r = sshbuf_get_string(queue, &handle, &hlen)) != 0)
784 (r = sshbuf_get_string(iqueue, &data, &len)) != 0)
H A Dssh_namespace.h754 #define sshbuf_get_string Fssh_sshbuf_get_string macro
H A Dkrl.c1074 if ((r = sshbuf_get_string(sect,
H A Dsshconnect2.c1662 if ((r = sshbuf_get_string(b, sigp, lenp)) != 0) {
H A Dmonitor.c700 (r = sshbuf_get_string(m, &p, &datlen)) != 0 ||
/freebsd-10-stable/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_basic.c287 TEST_START("sshbuf_get_string");
294 ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0);
302 TEST_START("sshbuf_get_string exact");
309 ASSERT_INT_EQ(sshbuf_get_string(p1, &d, &s), 0);
317 TEST_START("sshbuf_get_string truncated");
325 r = sshbuf_get_string(p1, &d, &s);
331 TEST_START("sshbuf_get_string giant");
337 r = sshbuf_get_string(p1, &d, &s);
H A Dtest_sshbuf_getput_fuzz.c53 if (sshbuf_get_string(p1, &s, &l) == 0) {
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dport-tun.c261 if ((r = sshbuf_get_string(&c->output, data, &xxx_dlen)) != 0)

Completed in 296 milliseconds