1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-16 18:47:32 -05:00

Add support for using Diffie-Hellman with short exponents (sshdh.c

contains a reference to a paper on the subject). Reduces time taken
for DH group exchange to the point where it's viable to enable it
all the time, so I have. :-)

[originally from svn r991]
This commit is contained in:
Simon Tatham
2001-03-10 11:04:07 +00:00
parent 0c8635beda
commit d823077f18
3 changed files with 59 additions and 29 deletions

2
ssh.h
View File

@ -222,7 +222,7 @@ char *bignum_decimal(Bignum x);
void dh_setup_group1(void);
void dh_setup_group(Bignum pval, Bignum gval);
void dh_cleanup(void);
Bignum dh_create_e(void);
Bignum dh_create_e(int nbits);
Bignum dh_find_K(Bignum f);
int loadrsakey(char *filename, struct RSAKey *key, char *passphrase);