Commit Graph

7 Commits

Author SHA1 Message Date
gerv%gerv.net
3634d4d94b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
relyea%netscape.com
9cc2e54698 Fix compiler warnings on AIX, Linux, HP, and Solaris. 2001-09-20 22:14:09 +00:00
mcgreer%netscape.com
181442bd0a fixes based on review by nelsonb:
use mp_sub instead of mp_mod when possible.
increment generator candidate for DH instead of creating a new random one each time.
fix potential bugs when DH_Derive and KEA_Derive, where the secret is longer than the buffer the user requests.
check input key size to RSA_NewKey.
implement private key op with no CRT for PKCS12.
reduce base mod p and q before using mp_exptmod.
use mpl_lsh in pqg code (in place of exponent and multiply).
change PQG_Verify to return SECSuccess unless there is a library failure (not if verification fails).
2000-09-29 02:10:24 +00:00
mcgreer%netscape.com
96a66d4965 revert changes to DH param gen. MPI does compute q=2p+1 for strong primes, but returns q not p. #ifdef in rsa for testing mp_exptmod_d vs. mp_exptmod, mp_exptmod is considerably faster. 2000-09-22 16:24:16 +00:00
mcgreer%netscape.com
2195f46fe1 Fix DH param gen, MPI returns Sophie-Germain prime q, then compute 2q + 1. Initial checkin of two KEA functions. 2000-09-21 23:45:24 +00:00
mcgreer%netscape.com
527ef9f038 initial checkin of Diffie-Hellman implementation 2000-09-11 17:11:50 +00:00
mcgreer%netscape.com
0d6b5ee3a6 Initial checkin of implementations of MD2 and MD5. An empty definition of Diffie-Hellman to allow for building, more later. Changes to Makefile for building with BSAFE. 2000-05-12 23:35:06 +00:00