Lots of changes:
authormdw <mdw>
Sat, 17 Jun 2000 12:05:15 +0000 (12:05 +0000)
committermdw <mdw>
Sat, 17 Jun 2000 12:05:15 +0000 (12:05 +0000)
commitbb2e2fd89f5577ebbaaf6b721a48dea9f27ea4cd
treef19d61f1738185280cef7ce3e8a136191306103c
parent43429c4bfc5c9036beb3e3a2dad88fa2e33aad46
Lots of changes:

  * Apply limits on %$\gcd(p - 1, q - 1)$% to reduce the space of
    equivalent decryption exponents.

  * Force %$e = F_4 = 2^{16} + 1$% to avoid small-encryption-exponent
    attacks.

  * Ensure that %$p > q$% and that %$p - q$% is large to deter
    square-root-based factoring methods.

  * Use %$e d \equiv 1 \pmod{\lambda(n)}$%, where %$\lambda(n)$% is
    %$\lcm(p - 1, q - 1)$%, as recommended in PKCS#1, rather than the
    more usual %$\varphi(n) = (p - 1)(q - 1)$%.

  * Handle aborts from pgen_jump.
rsa-gen.c