Symbol: sshbuf_ptr
crypto/openssh/auth2-hostbased.c
152
sshbuf_ptr(b), sshbuf_len(b), pkalg, ssh->compat, NULL) == 0)
crypto/openssh/auth2-pubkey.c
225
sshbuf_ptr(b), sshbuf_len(b),
crypto/openssh/auth2.c
418
userauth_send_banner(ssh, sshbuf_ptr(loginmsg));
crypto/openssh/channels.c
1462
p = sshbuf_ptr(input);
crypto/openssh/channels.c
1495
p = sshbuf_ptr(input);
crypto/openssh/channels.c
1513
p = sshbuf_ptr(input);
crypto/openssh/channels.c
1577
p = sshbuf_ptr(input);
crypto/openssh/channels.c
1731
p = sshbuf_ptr(c->input);
crypto/openssh/channels.c
1789
p = sshbuf_ptr(c->output);
crypto/openssh/channels.c
2289
len = write(c->efd, sshbuf_ptr(c->extended),
crypto/openssh/channels.c
2434
need = PEEK_U32(sshbuf_ptr(c->input));
crypto/openssh/channels.c
2462
len = write(c->wfd, sshbuf_ptr(c->output), sshbuf_len(c->output));
crypto/openssh/channels.c
3006
(r = sshpkt_put_string(ssh, sshbuf_ptr(c->input), len)) != 0 ||
crypto/openssh/channels.c
3041
(r = sshpkt_put_string(ssh, sshbuf_ptr(c->extended), len)) != 0 ||
crypto/openssh/clientloop.c
2401
sshbuf_ptr(signdata), sshbuf_len(signdata),
crypto/openssh/clientloop.c
2767
(int)len, (const u_char*)sshbuf_ptr(cmd));
crypto/openssh/clientloop.c
2773
(int)len, (const u_char*)sshbuf_ptr(cmd));
crypto/openssh/digest-libc.c
215
return ssh_digest_update(ctx, sshbuf_ptr(b), sshbuf_len(b));
crypto/openssh/digest-libc.c
265
return ssh_digest_memory(alg, sshbuf_ptr(b), sshbuf_len(b), d, dlen);
crypto/openssh/digest-openssl.c
155
return ssh_digest_update(ctx, sshbuf_ptr(b), sshbuf_len(b));
crypto/openssh/digest-openssl.c
205
return ssh_digest_memory(alg, sshbuf_ptr(b), sshbuf_len(b), d, dlen);
crypto/openssh/gss-genr.c
150
ret = xstrdup((const char *)sshbuf_ptr(b));
crypto/openssh/kex.c
1351
memcmp(sshbuf_ptr(peer_version), "SSH-", 4) == 0)
crypto/openssh/kexc25519.c
131
client_pub = sshbuf_ptr(client_blob);
crypto/openssh/kexc25519.c
152
dump_digest("encoded shared secret:", sshbuf_ptr(buf), sshbuf_len(buf));
crypto/openssh/kexc25519.c
179
server_pub = sshbuf_ptr(server_blob);
crypto/openssh/kexc25519.c
192
dump_digest("encoded shared secret:", sshbuf_ptr(buf), sshbuf_len(buf));
crypto/openssh/kexgexc.c
201
sshbuf_ptr(shared_secret), sshbuf_len(shared_secret),
crypto/openssh/kexgexs.c
179
sshbuf_ptr(shared_secret), sshbuf_len(shared_secret),
crypto/openssh/kexsntrup761x25519.c
137
sshbuf_ptr(buf), sshbuf_len(buf));
crypto/openssh/kexsntrup761x25519.c
145
dump_digest("encoded shared secret:", sshbuf_ptr(buf), sshbuf_len(buf));
crypto/openssh/kexsntrup761x25519.c
177
ciphertext = sshbuf_ptr(server_blob);
crypto/openssh/kexsntrup761x25519.c
202
sshbuf_ptr(buf), sshbuf_len(buf));
crypto/openssh/kexsntrup761x25519.c
209
dump_digest("encoded shared secret:", sshbuf_ptr(buf), sshbuf_len(buf));
crypto/openssh/kexsntrup761x25519.c
95
client_pub = sshbuf_ptr(client_blob);
crypto/openssh/misc.c
2159
memcpy(ret, sshbuf_ptr(buf), sshbuf_len(buf));
crypto/openssh/monitor.c
1273
p = sshbuf_ptr(b);
crypto/openssh/monitor.c
1748
if (memcmp(sshbuf_ptr(ssh->kex->session_id), session_id2,
crypto/openssh/monitor.c
662
memcmp(p, sshbuf_ptr(sigbuf), sshbuf_len(sigbuf)) != 0)
crypto/openssh/mux.c
1520
ptr = sshbuf_ptr(queue);
crypto/openssh/mux.c
1575
need = PEEK_U32(sshbuf_ptr(queue));
crypto/openssh/packet.c
1187
type = (sshbuf_ptr(state->outgoing_packet))[5];
crypto/openssh/packet.c
1271
sshbuf_ptr(state->outgoing_packet), len,
crypto/openssh/packet.c
1281
sshbuf_ptr(state->outgoing_packet),
crypto/openssh/packet.c
1353
type = sshbuf_ptr(state->outgoing_packet)[5];
crypto/openssh/packet.c
1531
cp = sshbuf_ptr(state->input);
crypto/openssh/packet.c
1593
sshbuf_ptr(state->input), sshbuf_len(state->input)) != 0)
crypto/openssh/packet.c
1618
state->p_send.seqnr, cp, sshbuf_ptr(state->input),
crypto/openssh/packet.c
1621
state->packlen = PEEK_U32(sshbuf_ptr(state->incoming_packet));
crypto/openssh/packet.c
1674
sshbuf_ptr(state->input), aadlen + need,
crypto/openssh/packet.c
1675
sshbuf_ptr(state->input) + aadlen + need + authlen,
crypto/openssh/packet.c
1686
sshbuf_ptr(state->input), need, aadlen, authlen)) != 0)
crypto/openssh/packet.c
1693
sshbuf_ptr(state->incoming_packet),
crypto/openssh/packet.c
1695
sshbuf_ptr(state->input), maclen)) != 0) {
crypto/openssh/packet.c
1727
padlen = sshbuf_ptr(state->incoming_packet)[4];
crypto/openssh/packet.c
2107
sshbuf_ptr(state->output), len);
crypto/openssh/packet.c
2742
return sshbuf_ptr(ssh->state->incoming_packet);
crypto/openssh/packet.c
397
sshbuf_ptr(state->incoming_packet), dlen,
crypto/openssh/serverloop.c
710
sshbuf_ptr(sigbuf), sshbuf_len(sigbuf), sigalg)) != 0 ||
crypto/openssh/session.c
266
printf("%s", (char *)sshbuf_ptr(loginmsg));
crypto/openssh/sftp-client.c
176
iov[1].iov_base = (u_char *)sshbuf_ptr(m);
crypto/openssh/sftp-server.c
1816
cp = sshbuf_ptr(iqueue);
crypto/openssh/sftp-server.c
2085
len = write(out, sshbuf_ptr(oqueue), olen);
crypto/openssh/ssh-agent.c
1710
if ((r = sshkey_verify(key, sshbuf_ptr(sig), sshbuf_len(sig),
crypto/openssh/ssh-agent.c
1711
sshbuf_ptr(sid), sshbuf_len(sid), NULL, 0, NULL)) != 0) {
crypto/openssh/ssh-agent.c
1807
cp = sshbuf_ptr(e->input);
crypto/openssh/ssh-agent.c
1997
sshbuf_ptr(sockets[socknum].output),
crypto/openssh/ssh-agent.c
826
if (sshbuf_ptr(a) == NULL || sshbuf_ptr(b) == NULL)
crypto/openssh/ssh-agent.c
830
if (timingsafe_bcmp(sshbuf_ptr(a), sshbuf_ptr(b), sshbuf_len(a)) != 0)
crypto/openssh/ssh-agent.c
942
sshbuf_ptr(data), sshbuf_len(data), agent_decode_alg(key, flags),
crypto/openssh/ssh-dss.c
316
memcpy(*sigp, sshbuf_ptr(b), len);
crypto/openssh/ssh-ecdsa-sk.c
217
if ((r = sshbuf_cmp(wrapper, 0, sshbuf_ptr(m), sshbuf_len(m))) != 0)
crypto/openssh/ssh-ecdsa.c
277
memcpy(*sigp, sshbuf_ptr(b), len);
crypto/openssh/ssh-ed25519-sk.c
219
sm = sshbuf_ptr(encoded);
crypto/openssh/ssh-ed25519.c
190
memcpy(*sigp, sshbuf_ptr(b), len);
crypto/openssh/ssh-keygen.c
2276
memcpy(*blobp, sshbuf_ptr(b), *lenp);
crypto/openssh/ssh-keygen.c
470
if (BN_bin2bn(sshbuf_ptr(b), bytes, value) == NULL)
crypto/openssh/ssh-pkcs11-helper.c
266
cp = sshbuf_ptr(iqueue);
crypto/openssh/ssh-pkcs11-helper.c
401
len = write(out, sshbuf_ptr(oqueue),
crypto/openssh/ssh-rsa.c
461
memcpy(*sigp, sshbuf_ptr(b), len);
crypto/openssh/ssh-xmss.c
250
memcpy(*sigp, sshbuf_ptr(b), len);
crypto/openssh/ssh_api.c
317
return sshbuf_ptr(output);
crypto/openssh/ssh_api.c
344
const u_char *s = sshbuf_ptr(input);
crypto/openssh/ssh_api.c
371
memcmp(sshbuf_ptr(banner), "SSH-", 4) == 0)
crypto/openssh/ssh_api.c
374
sshbuf_ptr(banner));
crypto/openssh/sshbuf-getput-basic.c
102
if (sshbuf_ptr(buf) == NULL) /* calls sshbuf_check_sanity() */
crypto/openssh/sshbuf-getput-basic.c
122
*p = sshbuf_ptr(buf) + offset;
crypto/openssh/sshbuf-getput-basic.c
244
const u_char *p = sshbuf_ptr(buf);
crypto/openssh/sshbuf-getput-basic.c
343
return sshbuf_put(buf, sshbuf_ptr(v), sshbuf_len(v));
crypto/openssh/sshbuf-getput-basic.c
37
const u_char *p = sshbuf_ptr(buf);
crypto/openssh/sshbuf-getput-basic.c
50
const u_char *p = sshbuf_ptr(buf);
crypto/openssh/sshbuf-getput-basic.c
543
return sshbuf_put_string(buf, sshbuf_ptr(v), sshbuf_len(v));
crypto/openssh/sshbuf-getput-basic.c
63
const u_char *p = sshbuf_ptr(buf);
crypto/openssh/sshbuf-getput-basic.c
76
const u_char *p = sshbuf_ptr(buf);
crypto/openssh/sshbuf-getput-basic.c
89
const u_char *p = sshbuf_ptr(buf);
crypto/openssh/sshbuf-misc.c
107
if (b64_ntop(sshbuf_ptr(d), sshbuf_len(d), s, slen) == -1) {
crypto/openssh/sshbuf-misc.c
187
if (l <= 1 || sshbuf_ptr(b) == NULL) {
crypto/openssh/sshbuf-misc.c
191
if (sshbuf_ptr(b)[l - 1] != '=')
crypto/openssh/sshbuf-misc.c
217
const u_char *p = NULL, *s = sshbuf_ptr(buf);
crypto/openssh/sshbuf-misc.c
241
if (sshbuf_ptr(b) == NULL)
crypto/openssh/sshbuf-misc.c
247
if (timingsafe_bcmp(sshbuf_ptr(b) + offset, s, len) != 0)
crypto/openssh/sshbuf-misc.c
260
if (sshbuf_ptr(b) == NULL)
crypto/openssh/sshbuf-misc.c
266
if ((p = memmem(sshbuf_ptr(b) + start_offset,
crypto/openssh/sshbuf-misc.c
270
*offsetp = (const u_char *)p - sshbuf_ptr(b);
crypto/openssh/sshbuf-misc.c
70
sshbuf_dump_data(sshbuf_ptr(buf), sshbuf_len(buf), f);
crypto/openssh/sshbuf-misc.c
77
const u_char *p = sshbuf_ptr(buf);
crypto/openssh/sshbuf.c
149
if ((ret = sshbuf_from(sshbuf_ptr(buf), sshbuf_len(buf))) == NULL)
crypto/openssh/sshbuf.h
101
const u_char *sshbuf_ptr(const struct sshbuf *buf);
crypto/openssh/sshconnect2.c
1426
sshbuf_ptr(b), sshbuf_len(b), ssh->compat, alg);
crypto/openssh/sshconnect2.c
2227
sshbuf_ptr(b), sshbuf_len(b))) != 0) {
crypto/openssh/sshd.c
1132
if (ssh_digest_update(ctx, sshbuf_ptr(server_cfg),
crypto/openssh/sshd.c
1149
if (ssh_digest_update(ctx, sshbuf_ptr(buf), sshbuf_len(buf)) != 0)
crypto/openssh/sshkey-xmss.c
1021
memcmp(sshbuf_ptr(encoded), XMSS_MAGIC, sizeof(XMSS_MAGIC))) {
crypto/openssh/sshkey-xmss.c
1053
(r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(copy),
crypto/openssh/sshkey-xmss.c
960
(r = cipher_crypt(ciphercontext, 0, cp, sshbuf_ptr(encoded),
crypto/openssh/sshkey.c
1304
if (fwrite(sshbuf_ptr(b), sshbuf_len(b), 1, f) != 1) {
crypto/openssh/sshkey.c
1605
sshbuf_ptr(prvbuf), sshbuf_len(prvbuf), 0, 0)) != 0)
crypto/openssh/sshkey.c
1870
sshbuf_ptr(key->cert->certblob), signed_len, NULL, 0, NULL)) != 0)
crypto/openssh/sshkey.c
2255
if ((ret = signer(ca, &sig_blob, &sig_len, sshbuf_ptr(cert),
crypto/openssh/sshkey.c
2846
sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0)
crypto/openssh/sshkey.c
2894
cp = sshbuf_ptr(blob);
crypto/openssh/sshkey.c
2929
if ((r = sshbuf_b64tod(decoded, (char *)sshbuf_ptr(encoded))) != 0)
crypto/openssh/sshkey.c
2934
memcmp(sshbuf_ptr(decoded), AUTH_MAGIC, sizeof(AUTH_MAGIC))) {
crypto/openssh/sshkey.c
3048
if ((r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(decoded),
crypto/openssh/sshkey.c
3437
if (BIO_write(bio, sshbuf_ptr(blob), sshbuf_len(blob)) !=
crypto/openssh/sshkey.c
682
if (timingsafe_bcmp(sshbuf_ptr(a->certblob), sshbuf_ptr(b->certblob),
crypto/openssh/sshkey.c
831
memcpy(*blobp, sshbuf_ptr(b), len);
crypto/openssh/sshsig.c
198
sshbuf_ptr(tosign), sshbuf_len(tosign),
crypto/openssh/sshsig.c
205
sshbuf_ptr(tosign), sshbuf_len(tosign),
crypto/openssh/sshsig.c
378
if ((r = sshkey_verify(key, sig, siglen, sshbuf_ptr(toverify),