Artifact 3507d7537ac33f5ed17cbddd03e692c152752f5d:
- File sshrsa.c — part of check-in [903c16451b] at 2001-03-23 07:02:39 on branch trunk — Modify the new rsa_verify routine. We now also check the integrity of the private data (verifying that p > q and that iqmp really is the inverse of q mod p). In addition, we _no longer_ check that e*d == 1 mod (p-1)(q-1): instead we do separate checks mod (p-1) and mod (q-1), since the order of the multiplicative group mod n is actually equal to lcm(p-1,q-1) rather than phi(n)=(p-1)(q-1). (In other words, the Fermat-Euler theorem doesn't point both ways.) (user: simon size: 14961)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.