avoid use of OpenSSL BIGNUM type and functions for KEX with
authordjm <djm@openbsd.org>
Sun, 12 Jan 2014 08:13:13 +0000 (08:13 +0000)
committerdjm <djm@openbsd.org>
Sun, 12 Jan 2014 08:13:13 +0000 (08:13 +0000)
commit76d2b3a1a1451f54db25d1eb659f5384688f9681
treee1fc6308e492b178c6f9ef1e25d7ab272f232716
parent210e305741d8775faeb87f2f12f8fc8cec45fd1e
avoid use of OpenSSL BIGNUM type and functions for KEX with
Curve25519 by adding a buffer_put_bignum2_from_string() that stores
a string using the bignum encoding rules. Will make it easier to
build a reduced-feature OpenSSH without OpenSSL in the future;
ok markus@
13 files changed:
usr.bin/ssh/bufaux.c
usr.bin/ssh/buffer.h
usr.bin/ssh/kex.c
usr.bin/ssh/kex.h
usr.bin/ssh/kexc25519.c
usr.bin/ssh/kexc25519c.c
usr.bin/ssh/kexc25519s.c
usr.bin/ssh/kexdhc.c
usr.bin/ssh/kexdhs.c
usr.bin/ssh/kexecdhc.c
usr.bin/ssh/kexecdhs.c
usr.bin/ssh/kexgexc.c
usr.bin/ssh/kexgexs.c