summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/readconf.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-03-05 17:17:22 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-03-05 17:17:22 +0000
commit7218d19a71f7c2a4ddc25c5a53094118396c1552 (patch)
tree540863db6e928cc4d51d1802d21cc44a11e08488 /usr.bin/ssh/readconf.c
parentb5b298c7f02515dc226161e6ef5d3375180b8b2b (diff)
generate a 2*need size (~300 instead of 1024/2048) random private
exponent during the DH key agreement. according to Niels (the great german advisor) this is safe since /etc/primes contains strong primes only. References: P. C. van Oorschot and M. J. Wiener, On Diffie-Hellman key agreement with short exponents, In Advances in Cryptology - EUROCRYPT'96, LNCS 1070, Springer-Verlag, 1996, pp.332-343.
Diffstat (limited to 'usr.bin/ssh/readconf.c')
0 files changed, 0 insertions, 0 deletions