RSA generation: change exponent to 2^16+1.
This is probably overdue; everyone else seems to have settled on it as the preferred RSA key exponent for some time. And now that the descendant of mp_mod_short supports moduli up to 2^32 instead of 2^16, I can actually add it without the risk of assertion failures during prime generation.
This commit is contained in:
parent
13f594f02d
commit
5a9bfca3d5
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
#include "ssh.h"
|
||||
#include "mpint.h"
|
||||
|
||||
#define RSA_EXPONENT 37 /* we like this prime */
|
||||
#define RSA_EXPONENT 65537
|
||||
|
||||
static void invent_firstbits(unsigned *one, unsigned *two,
|
||||
unsigned min_separation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue