History log of /openssh-portable/sshbuf-getput-crypto.c (Results 1 - 16 of 16)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7be8572b 21-Jan-2019 djm@openbsd.org

upstream: 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@

OpenBSD-Commi

upstream: 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@

OpenBSD-Commit-ID: 576bf784f9a240f5a1401f7005364e59aed3bce9

show more ...


# 803178bd 21-Jan-2019 djm@openbsd.org

upstream: remove obsolete (SSH v.1) sshbuf_get/put_bignum1

functions

from markus@ ok djm@

OpenBSD-Commit-ID: 0380b1b2d9de063de3c5a097481a622e6a04943e


Revision tags: V_7_9_P1, V_7_8_P1, V_7_7_P1, V_7_6_P1, V_7_5_P1, V_7_4_P1, V_7_3_P1, V_7_2_P2, V_7_2_P1, V_7_1_P2
# 9a728cc9 12-Jan-2016 djm@openbsd.org

upstream commit

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

Upstream-ID: 0ece37069fd66bc6e4f55eb1321f93df372b65bf


Revision tags: V_7_1_P1, V_7_0_P1, V_6_9_P1, V_6_8_P1
# a165bab6 14-Jan-2015 djm@openbsd.org

upstream commit

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


# a7f49dcb 12-Jan-2015 djm@openbsd.org

upstream commit

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 tags: V_6_7_P1
# 0c11f1ac 22-Aug-2014 Damien Miller

- (djm) [sshbuf-getput-crypto.c] Fix compilation when OpenSSL lacks ECC


# 99db840e 01-Jul-2014 Damien Miller

- naddy@cvs.openbsd.org 2014/06/18 15:42:09
[sshbuf-getput-crypto.c]
The ssh_get_bignum functions must accept the same range of bignums
the corresponding ssh_put_bignum fun

- naddy@cvs.openbsd.org 2014/06/18 15:42:09
[sshbuf-getput-crypto.c]
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@

show more ...


# e5b9f0f2 15-May-2014 Damien Miller

- (djm) [Makefile.in configure.ac sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf.c] compilation and portability fixes


# 05e82c3b 15-May-2014 Damien Miller

- djm@cvs.openbsd.org 2014/04/30 05:29:56
[bufaux.c bufbn.c bufec.c buffer.c buffer.h sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c sshbuf.h ssherr.c]

- djm@cvs.openbsd.org 2014/04/30 05:29:56
[bufaux.c bufbn.c bufec.c buffer.c buffer.h sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c sshbuf.h ssherr.c]
[ssherr.h]
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.

show more ...


# 9a728cc9 12-Jan-2016 djm@openbsd.org

upstream commit

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

Upstream-ID: 0ece37069fd66bc6e4f55eb1321f93df372b65bf


# a165bab6 14-Jan-2015 djm@openbsd.org

upstream commit

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


# a7f49dcb 12-Jan-2015 djm@openbsd.org

upstream commit

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@


# 0c11f1ac 22-Aug-2014 Damien Miller

- (djm) [sshbuf-getput-crypto.c] Fix compilation when OpenSSL lacks ECC


# 99db840e 01-Jul-2014 Damien Miller

- naddy@cvs.openbsd.org 2014/06/18 15:42:09
[sshbuf-getput-crypto.c]
The ssh_get_bignum functions must accept the same range of bignums
the corresponding ssh_put_bignum fun

- naddy@cvs.openbsd.org 2014/06/18 15:42:09
[sshbuf-getput-crypto.c]
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@

show more ...


# e5b9f0f2 15-May-2014 Damien Miller

- (djm) [Makefile.in configure.ac sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf.c] compilation and portability fixes


# 05e82c3b 15-May-2014 Damien Miller

- djm@cvs.openbsd.org 2014/04/30 05:29:56
[bufaux.c bufbn.c bufec.c buffer.c buffer.h sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c sshbuf.h ssherr.c]

- djm@cvs.openbsd.org 2014/04/30 05:29:56
[bufaux.c bufbn.c bufec.c buffer.c buffer.h sshbuf-getput-basic.c]
[sshbuf-getput-crypto.c sshbuf-misc.c sshbuf.c sshbuf.h ssherr.c]
[ssherr.h]
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.

show more ...