OpenBSD CVS

CVS log for src/usr.bin/ssh/sshbuf-getput-crypto.c


[BACK] Up to [local] / src / usr.bin / ssh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 1 02:37:33 2024 UTC (3 months, 2 weeks ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

whitespace

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 25 06:03:44 2022 UTC (23 months, 3 weeks ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

revert previous; it was broken (spotted by Theo)

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 25 00:31:13 2022 UTC (23 months, 3 weeks ago) by djm
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 15 06:00:20 2019 UTC (4 years, 6 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.7: +3 -9 lines
Diff to previous 1.7 (colored)

remove most uses of BN_CTX

We weren't following the rules re BN_CTX_start/BN_CTX_end and the places
we were using it didn't benefit from its use anyway. ok dtucker@

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:54:11 2019 UTC (5 years, 3 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.6: +13 -4 lines
Diff to previous 1.6 (colored)

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@

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:52:25 2019 UTC (5 years, 3 months ago) by djm
Branch: MAIN
Changes since 1.5: +1 -49 lines
Diff to previous 1.5 (colored)

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

from markus@ ok djm@

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 12 23:42:54 2016 UTC (8 years, 4 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

use explicit_bzero() more liberally in the buffer code; ok deraadt

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 14 15:02:39 2015 UTC (9 years, 4 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.3: +2 -16 lines
Diff to previous 1.3 (colored)

avoid BIGNUM in KRL code by using a simple bitmap;
feedback and ok markus

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 12 15:18:07 2015 UTC (9 years, 4 months ago) by djm
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

apparently memcpy(x, NULL, 0) is undefined behaviour according to
C99 (cf. sections 7.21.1 and 7.1.4), so check skip memcpy calls when
length==0; ok markus@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 18 15:42:09 2014 UTC (9 years, 11 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.1: +6 -4 lines
Diff to previous 1.1 (colored)

The ssh_get_bignum functions must accept the same range of bignums
the corresponding ssh_put_bignum functions create.  This fixes the
use of 16384-bit RSA keys (bug reported by Eivind Evensen).
ok djm@

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 30 05:29:56 2014 UTC (10 years ago) by djm
Branch: MAIN

New buffer API; the first installment of the conversion/replacement
of OpenSSH's internals to make them usable as a standalone library.

This includes a set of wrappers to make it compatible with the
existing buffer API so replacement can occur incrementally.

With and ok markus@

Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew
Dempsky and Ron Bowes for a detailed review.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.