sshbuf_ptr
sshbuf_ptr(b), sshbuf_len(b), pkalg, ssh->compat, NULL) == 0)
sshbuf_ptr(b), sshbuf_len(b),
userauth_send_banner(ssh, sshbuf_ptr(loginmsg));
p = sshbuf_ptr(input);
p = sshbuf_ptr(input);
p = sshbuf_ptr(input);
p = sshbuf_ptr(input);
p = sshbuf_ptr(c->input);
p = sshbuf_ptr(c->output);
len = write(c->efd, sshbuf_ptr(c->extended),
need = PEEK_U32(sshbuf_ptr(c->input));
len = write(c->wfd, sshbuf_ptr(c->output), sshbuf_len(c->output));
(r = sshpkt_put_string(ssh, sshbuf_ptr(c->input), len)) != 0 ||
(r = sshpkt_put_string(ssh, sshbuf_ptr(c->extended), len)) != 0 ||
sshbuf_ptr(signdata), sshbuf_len(signdata),
(int)len, (const u_char*)sshbuf_ptr(cmd));
(int)len, (const u_char*)sshbuf_ptr(cmd));
return ssh_digest_update(ctx, sshbuf_ptr(b), sshbuf_len(b));
return ssh_digest_memory(alg, sshbuf_ptr(b), sshbuf_len(b), d, dlen);
return ssh_digest_update(ctx, sshbuf_ptr(b), sshbuf_len(b));
return ssh_digest_memory(alg, sshbuf_ptr(b), sshbuf_len(b), d, dlen);
ret = xstrdup((const char *)sshbuf_ptr(b));
memcmp(sshbuf_ptr(peer_version), "SSH-", 4) == 0)
client_pub = sshbuf_ptr(client_blob);
dump_digest("encoded shared secret:", sshbuf_ptr(buf), sshbuf_len(buf));
server_pub = sshbuf_ptr(server_blob);
dump_digest("encoded shared secret:", sshbuf_ptr(buf), sshbuf_len(buf));
sshbuf_ptr(shared_secret), sshbuf_len(shared_secret),
sshbuf_ptr(shared_secret), sshbuf_len(shared_secret),
sshbuf_ptr(buf), sshbuf_len(buf));
dump_digest("encoded shared secret:", sshbuf_ptr(buf), sshbuf_len(buf));
ciphertext = sshbuf_ptr(server_blob);
sshbuf_ptr(buf), sshbuf_len(buf));
dump_digest("encoded shared secret:", sshbuf_ptr(buf), sshbuf_len(buf));
client_pub = sshbuf_ptr(client_blob);
memcpy(ret, sshbuf_ptr(buf), sshbuf_len(buf));
p = sshbuf_ptr(b);
if (memcmp(sshbuf_ptr(ssh->kex->session_id), session_id2,
memcmp(p, sshbuf_ptr(sigbuf), sshbuf_len(sigbuf)) != 0)
ptr = sshbuf_ptr(queue);
need = PEEK_U32(sshbuf_ptr(queue));
type = (sshbuf_ptr(state->outgoing_packet))[5];
sshbuf_ptr(state->outgoing_packet), len,
sshbuf_ptr(state->outgoing_packet),
type = sshbuf_ptr(state->outgoing_packet)[5];
cp = sshbuf_ptr(state->input);
sshbuf_ptr(state->input), sshbuf_len(state->input)) != 0)
state->p_send.seqnr, cp, sshbuf_ptr(state->input),
state->packlen = PEEK_U32(sshbuf_ptr(state->incoming_packet));
sshbuf_ptr(state->input), aadlen + need,
sshbuf_ptr(state->input) + aadlen + need + authlen,
sshbuf_ptr(state->input), need, aadlen, authlen)) != 0)
sshbuf_ptr(state->incoming_packet),
sshbuf_ptr(state->input), maclen)) != 0) {
padlen = sshbuf_ptr(state->incoming_packet)[4];
sshbuf_ptr(state->output), len);
return sshbuf_ptr(ssh->state->incoming_packet);
sshbuf_ptr(state->incoming_packet), dlen,
sshbuf_ptr(sigbuf), sshbuf_len(sigbuf), sigalg)) != 0 ||
printf("%s", (char *)sshbuf_ptr(loginmsg));
iov[1].iov_base = (u_char *)sshbuf_ptr(m);
cp = sshbuf_ptr(iqueue);
len = write(out, sshbuf_ptr(oqueue), olen);
if ((r = sshkey_verify(key, sshbuf_ptr(sig), sshbuf_len(sig),
sshbuf_ptr(sid), sshbuf_len(sid), NULL, 0, NULL)) != 0) {
cp = sshbuf_ptr(e->input);
sshbuf_ptr(sockets[socknum].output),
if (sshbuf_ptr(a) == NULL || sshbuf_ptr(b) == NULL)
if (timingsafe_bcmp(sshbuf_ptr(a), sshbuf_ptr(b), sshbuf_len(a)) != 0)
sshbuf_ptr(data), sshbuf_len(data), agent_decode_alg(key, flags),
memcpy(*sigp, sshbuf_ptr(b), len);
if ((r = sshbuf_cmp(wrapper, 0, sshbuf_ptr(m), sshbuf_len(m))) != 0)
memcpy(*sigp, sshbuf_ptr(b), len);
sm = sshbuf_ptr(encoded);
memcpy(*sigp, sshbuf_ptr(b), len);
memcpy(*blobp, sshbuf_ptr(b), *lenp);
if (BN_bin2bn(sshbuf_ptr(b), bytes, value) == NULL)
cp = sshbuf_ptr(iqueue);
len = write(out, sshbuf_ptr(oqueue),
memcpy(*sigp, sshbuf_ptr(b), len);
memcpy(*sigp, sshbuf_ptr(b), len);
return sshbuf_ptr(output);
const u_char *s = sshbuf_ptr(input);
memcmp(sshbuf_ptr(banner), "SSH-", 4) == 0)
sshbuf_ptr(banner));
if (sshbuf_ptr(buf) == NULL) /* calls sshbuf_check_sanity() */
*p = sshbuf_ptr(buf) + offset;
const u_char *p = sshbuf_ptr(buf);
return sshbuf_put(buf, sshbuf_ptr(v), sshbuf_len(v));
const u_char *p = sshbuf_ptr(buf);
const u_char *p = sshbuf_ptr(buf);
return sshbuf_put_string(buf, sshbuf_ptr(v), sshbuf_len(v));
const u_char *p = sshbuf_ptr(buf);
const u_char *p = sshbuf_ptr(buf);
const u_char *p = sshbuf_ptr(buf);
if (b64_ntop(sshbuf_ptr(d), sshbuf_len(d), s, slen) == -1) {
if (l <= 1 || sshbuf_ptr(b) == NULL) {
if (sshbuf_ptr(b)[l - 1] != '=')
const u_char *p = NULL, *s = sshbuf_ptr(buf);
if (sshbuf_ptr(b) == NULL)
if (timingsafe_bcmp(sshbuf_ptr(b) + offset, s, len) != 0)
if (sshbuf_ptr(b) == NULL)
if ((p = memmem(sshbuf_ptr(b) + start_offset,
*offsetp = (const u_char *)p - sshbuf_ptr(b);
sshbuf_dump_data(sshbuf_ptr(buf), sshbuf_len(buf), f);
const u_char *p = sshbuf_ptr(buf);
if ((ret = sshbuf_from(sshbuf_ptr(buf), sshbuf_len(buf))) == NULL)
const u_char *sshbuf_ptr(const struct sshbuf *buf);
sshbuf_ptr(b), sshbuf_len(b), ssh->compat, alg);
sshbuf_ptr(b), sshbuf_len(b))) != 0) {
if (ssh_digest_update(ctx, sshbuf_ptr(server_cfg),
if (ssh_digest_update(ctx, sshbuf_ptr(buf), sshbuf_len(buf)) != 0)
memcmp(sshbuf_ptr(encoded), XMSS_MAGIC, sizeof(XMSS_MAGIC))) {
(r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(copy),
(r = cipher_crypt(ciphercontext, 0, cp, sshbuf_ptr(encoded),
if (fwrite(sshbuf_ptr(b), sshbuf_len(b), 1, f) != 1) {
sshbuf_ptr(prvbuf), sshbuf_len(prvbuf), 0, 0)) != 0)
sshbuf_ptr(key->cert->certblob), signed_len, NULL, 0, NULL)) != 0)
if ((ret = signer(ca, &sig_blob, &sig_len, sshbuf_ptr(cert),
sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0)
cp = sshbuf_ptr(blob);
if ((r = sshbuf_b64tod(decoded, (char *)sshbuf_ptr(encoded))) != 0)
memcmp(sshbuf_ptr(decoded), AUTH_MAGIC, sizeof(AUTH_MAGIC))) {
if ((r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(decoded),
if (BIO_write(bio, sshbuf_ptr(blob), sshbuf_len(blob)) !=
if (timingsafe_bcmp(sshbuf_ptr(a->certblob), sshbuf_ptr(b->certblob),
memcpy(*blobp, sshbuf_ptr(b), len);
sshbuf_ptr(tosign), sshbuf_len(tosign),
sshbuf_ptr(tosign), sshbuf_len(tosign),
if ((r = sshkey_verify(key, sig, siglen, sshbuf_ptr(toverify),