History log of /openbsd-src/usr.bin/ssh/sshbuf.h (Results 1 – 25 of 29)
Revision Date Author Comments
# 5411e769 15-Aug-2024 djm <djm@openbsd.org>

Convert RSA and ECDSA key to the libcrypto EVP_PKEY API. DSA remains
unconverted as it will be removed within six months.

Based on patches originally from Dmitry Belyavskiy, but significantly
rework

Convert RSA and ECDSA key to the libcrypto EVP_PKEY API. DSA remains
unconverted as it will be removed within six months.

Based on patches originally from Dmitry Belyavskiy, but significantly
reworked based on feedback from Bob Beck, Joel Sing and especially
Theo Buehler (apologies to anyone I've missed).

ok tb@

show more ...


# 60dd6e7e 02-Dec-2022 djm <djm@openbsd.org>

make struct sshbuf private and remove an unused field; ok dtucker


# a8cbed27 25-May-2022 djm <djm@openbsd.org>

revert previous; it was broken (spotted by Theo)


# 15df1c5d 25-May-2022 djm <djm@openbsd.org>

make SSHBUF_DBG/SSHBUF_TELL (off by default and only enabled via
#define) dump to stderr rather than stdout


# 41c2b893 22-Jan-2022 djm <djm@openbsd.org>

Add a sshbuf_read() that attempts to read(2) directly in to a
sshbuf; ok markus@


# 2475e070 01-Jan-2022 jsg <jsg@openbsd.org>

spelling


# d5e61526 22-Jun-2020 djm <djm@openbsd.org>

support for RFC4648 base64url encoding; ok markus


# 19d7d104 05-Jun-2020 djm <djm@openbsd.org>

make sshbuf_dump() args const


# aa383ffd 26-Apr-2020 dtucker <dtucker@openbsd.org>

Fix comment typo. Patch from mforney at mforney.org.


# 264cfea2 13-Mar-2020 djm <djm@openbsd.org>

spelling errors in comments; no code change
from https://fossies.org/linux/misc/openssh-8.2p1.tar.gz/codespell.html


# 62af2284 25-Jan-2020 djm <djm@openbsd.org>

factor out reading/writing sshbufs to dedicated functions;
feedback and ok markus@


# 1f96526f 06-Sep-2019 djm <djm@openbsd.org>

fixes for !WITH_OPENSSL compilation; ok dtucker@


# d8ff1cfb 30-Jul-2019 djm <djm@openbsd.org>

let sshbuf_find/cmp take a void* for the search/comparison
argument, instead of a u_char*. Saves callers needing to cast.


# bbb0e5b6 16-Jul-2019 djm <djm@openbsd.org>

remove mostly vestigal uuencode.[ch]; moving the only unique
functionality there (wrapping of base64-encoded data) to sshbuf
functions; feedback and ok markus@


# 9e7a6b9f 15-Jul-2019 djm <djm@openbsd.org>

two more bounds-checking sshbuf counterparts to common string
operations: sshbuf_cmp() (bcmp-like) and sshbuf_find() (memmem like)

feedback and ok markus@


# 59567923 14-Jul-2019 djm <djm@openbsd.org>

add some functions to perform random-access read/write operations
inside buffers with bounds checking. Intended to replace manual
pointer arithmetic wherever possible.

feedback and ok markus@


# f37f3ee2 21-Jan-2019 djm <djm@openbsd.org>

Make sshpkt_get_bignum2() allocate the bignum it is parsing rather
than make the caller do it. Saves a lot of boilerplate code.

from markus@ ok djm@


# e144fa24 21-Jan-2019 djm <djm@openbsd.org>

remove obsolete (SSH v.1) sshbuf_get/put_bignum1 functions

from markus@ ok djm@


# a74252e9 09-Jul-2018 markus <markus@openbsd.org>

remove legacy buffer API emulation layer; ok djm@


# 27a1722d 10-Apr-2018 djm <djm@openbsd.org>

lots of typos in comments/docs. Patch from Karsten Weiss after checking
with codespell tool (https://github.com/lucasdemarchi/codespell)


# 7b28dfb0 12-Sep-2017 djm <djm@openbsd.org>

refactor channels.c

Move static state to a "struct ssh_channels" that is allocated at
runtime and tracked as a member of struct ssh.

Explicitly pass "struct ssh" to all channels functions.

Replace

refactor channels.c

Move static state to a "struct ssh_channels" that is allocated at
runtime and tracked as a member of struct ssh.

Explicitly pass "struct ssh" to all channels functions.

Replace use of the legacy packet APIs in channels.c.

Rework sshd_config PermitOpen handling: previously the configuration
parser would call directly into the channels layer. After the refactor
this is not possible, as the channels structures are allocated at
connection time and aren't available when the configuration is parsed.
The server config parser now tracks PermitOpen itself and explicitly
configures the channels code later.

ok markus@

show more ...


# 66d9cecc 25-Nov-2016 djm <djm@openbsd.org>

split allocation out of sshbuf_reserve() into a separate
sshbuf_allocate() function; ok markus@


# 9a1b52af 02-May-2016 djm <djm@openbsd.org>

fix signed/unsigned errors reported by clang-3.7; add
sshbuf_dup_string() to replace a common idiom of
strdup(sshbuf_ptr()) with better safety checking;
feedback and ok markus@


# ea9d9e1e 10-Dec-2015 mmcc <mmcc@openbsd.org>

Fix a couple "the the" typos. ok dtucker@


# 3cad027e 11-Nov-2015 djm <djm@openbsd.org>

improve PEEK/POKE macros: better casts, don't multiply evaluate
arguments; ok deraadt@


12