Commit Graph

314 Commits

Author SHA1 Message Date
nelsonb%netscape.com
667d4a7e36 New implementation of mp_invmod for even moduli. 3x-500x faster than
xgcd for even moduli.
2000-10-24 21:32:53 +00:00
mcgreer%netscape.com
e7bf810f5e fix for 64-bit platforms. 2000-10-18 15:41:23 +00:00
wtc%netscape.com
1998a4a631 Bugzilla bug #56442: checked in generated files as a result of a new
ckapi.perl.
Modified files: nssck.api nssckepv.h nssckft.h nssckg.h
2000-10-14 01:29:12 +00:00
wtc%netscape.com
54a25c375e Bugzilla bug #56442: the DLL name on Windows should be nssckbi.dll, not
nssckbi32.dll.
2000-10-13 22:42:53 +00:00
wtc%netscape.com
cb99b22ff1 Bugzilla bug #56442: struct CK_FUNCTION_LIST must have the pack pragma
on Windows.  C_GetFunctionList must be DLL exported on Windows.
2000-10-13 22:41:36 +00:00
nelsonb%netscape.com
6534f684da * The Original Code is SPARC hand-optimized Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.
2000-10-13 00:30:36 +00:00
nelsonb%netscape.com
00b0412ddb * inline macros for SPARC Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.
2000-10-13 00:28:48 +00:00
nelsonb%netscape.com
67dc4d8c49 * interface file for SPARC Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.
2000-10-13 00:28:08 +00:00
nelsonb%netscape.com
5e81658537 * The Original Code is SPARC optimized Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.
2000-10-13 00:27:04 +00:00
nelsonb%netscape.com
fdd0021538 With this change, SSL will not crash if the next lower layer's Recv
function returns more data than we asked for.  SSL will turn that event
into a PR_BUFFER_OVERFLOW_ERROR error.  iWS team asked for this.
2000-10-07 02:22:22 +00:00
nelsonb%netscape.com
5d154d8d5f In lib/smime, detect null pointers returned by various functions.
Christian Kaiser fixed the test script to pass the right directory name
to the test program.  The test script echoes all the cmsutil test
commands so that the error messages are associated with the proper one.
And cmsutil now puts its name on the front of its error messages.
2000-10-06 23:26:12 +00:00
nelsonb%netscape.com
c813d8dd66 Fix a crash that occurs when NSS is initialized with NSS_NoDB_Init. 2000-10-06 21:38:57 +00:00
nelsonb%netscape.com
5042645350 Implement new function NSS_InitReadWrite, which is just like NSS_Init
except that it opens the files read/write.  This is to replace the
broken SECU_ routines in nss/cmd/lib.
2000-10-06 21:37:25 +00:00
nelsonb%netscape.com
c37f533589 The SSL client cache timeout values for SSL2 and SSL3 were reversed.
This caused all SSL3 sessions to timeout after 100 seconds. Bug 55231.
2000-10-05 23:10:14 +00:00
wtc%netscape.com
8627427998 Bugzilla bug #55267: checked in a workaround for a tight spin in
PK11_GetSlotList on 64-bit HP-UX.
2000-10-05 04:24:04 +00:00
mcgreer%netscape.com
8882eb9358 HPUX 64-bit also failed. 2000-10-05 02:47:43 +00:00
mcgreer%netscape.com
4979496e5a workaround for bug #55234. optimized arcfour is not working on solaris 64-bit. 2000-10-05 01:33:54 +00:00
ddrinan%netscape.com
f9530e656a Allocate the padded result arena with the correct length 2000-10-03 00:58:39 +00:00
wtc%netscape.com
c03119002d Bugzilla bug #54711: removed unused variables MOZ_DIST and MOZ_LIB
from OS2.mk.  Handle the different names of plc4 and plds4 libraries
on OS/2.  Thanks to Huynh Trinh <hctrinh@us.ibm.com> for the patch.
Modified Files:
    coreconf/OS2.mk nss/lib/ckfw/builtins/Makefile
    nss/lib/fortcrypt/swfort/pkcs11/Makefile
2000-10-03 00:58:18 +00:00
wtc%netscape.com
6f3f7bb91a Bugzilla bug #49477: fixed memory leak in CERT_OpenCertDB. Have
certDBFilenameCallback duplicate the filename string so that its
return value can be freed.
2000-10-02 23:23:50 +00:00
wtc%netscape.com
1f2ad178df Bugzilla bug #54869: support gcc for 32-bit Solaris/SPARC build. 2000-10-02 22:52:43 +00:00
mcgreer%netscape.com
544ec0f11a fix 3.1 bugs: change && to || for arg check, two new functions are static 2000-10-02 17:39:37 +00:00
wtc%netscape.com
dcc518443a Bugzilla bug #39476: free the dbname in the success case. 2000-10-01 17:13:34 +00:00
wtc%netscape.com
94c1f559e1 Bugzilla bug #54711: use full maci on OS/2. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.
2000-10-01 03:29:42 +00:00
wtc%netscape.com
906deebf85 Bugzilla bug #54711: fixed a typo. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.
2000-10-01 03:17:56 +00:00
wtc%netscape.com
2444aa8c5e Added missing closing comment delimiter "*/". 2000-09-30 04:30:08 +00:00
nelsonb%netscape.com
e118ef4f63 Incorporate multiplication performance enhancements for UltraSparc CPUs
with the VIS instructions.
2000-09-30 01:46:30 +00:00
nelsonb%netscape.com
c206d3e3c8 The Initial Developer of the Original Code is Netscape Communications
Corporation.  Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation.
All Rights Reserved.
2000-09-30 01:43:27 +00:00
nelsonb%netscape.com
191a128491 The Initial Developer of the Original Code is Sun Microsystems Inc.
Portions created by Sun Microsystems Inc. are
Copyright (C) 1999-2000 Sun Microsystems Inc.  All Rights Reserved.
2000-09-29 23:39:30 +00:00
nelsonb%netscape.com
431bb85395 The Initial Developer of the Original Code is Sun Microsystems Inc.
Portions created by Sun Microsystems Inc. are
Copyright (C) 1995-2000 Sun Microsystems Inc.  All Rights Reserved.
2000-09-29 23:38:05 +00:00
mcgreer%netscape.com
81cb1fd3ce change for BSAFE. on windows, nsinstall will do copy instead of link.
need to forcibly remove library before attempting to reinstall.
2000-09-29 22:30:09 +00:00
nelsonb%netscape.com
9b1d01f3fd Don't use type "ulong". Use "unsigned long" instead. 2000-09-29 19:51:32 +00:00
wtc%netscape.com
af0f02a163 Initial NetBSD port contributed by Shin'ichiro TAYA <taya@sm.sony.co.jp>.
Modified Files:
    coreconf/config.mk nss/lib/util/unix_rand.c
Added Files:
    coreconf/NetBSD.mk
2000-09-29 17:42:39 +00:00
mcgreer%netscape.com
25b1ead59c add a shortcut encoder routine. 2000-09-29 16:38:11 +00:00
nelsonb%netscape.com
50098f2c22 Fix some bugs from the last checkin. 2000-09-29 04:03:34 +00:00
mcgreer%netscape.com
5a93a08faa changes to allow build with RSA BSAFE Crypto-C library 2000-09-29 02:15:42 +00:00
mcgreer%netscape.com
05a6d4f086 change to allow builds with RSA BSAFE Crypto-C library 2000-09-29 02:14:03 +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
nelsonb%netscape.com
58b6dcc398 Add mp_set_long and mp_set_ulong to the public API. 2000-09-28 22:53:45 +00:00
thayes%netscape.com
ef6267b6b6 Bugzilla 39476: Copy the argument string in the OpenDBFilename callback function. 2000-09-28 21:36:11 +00:00
thayes%netscape.com
17d0f302c9 Use T61 String for any ASCII characters that don't meet the PrintableString
requirements in name attribute values.
2000-09-28 21:29:14 +00:00
nelsonb%netscape.com
a0326ec6ba Fix numerous bugs in CERT_GetNickName. Fix bug 45247. 2000-09-28 21:13:29 +00:00
nelsonb%netscape.com
3c037afd66 Fix bug 39482. Don't use varargs when first argument is null. 2000-09-28 19:01:14 +00:00
relyea%netscape.com
448fea8c67 Add function for determining if we have root cert modules.
fix bug in internal root cert modules.
2000-09-28 17:40:48 +00:00
wtc%netscape.com
4ad20ee457 Use '$(INSTALL) -m 444' to install files in nss/lib/crypto. By default
INSTALL is $(NSINSTALL) -R on Unix, which creates relative-path symlinks.
2000-09-27 05:49:43 +00:00
thayes%netscape.com
09d2e90f77 Add UTF8String handling to Name attributes. 2000-09-25 21:13:24 +00:00
relyea%netscape.com
873b6962ae Fix problem where RSA op failures cause multiple retries of the RSA algorithm. 2000-09-23 00:05:27 +00:00
relyea%netscape.com
0923b0a330 Move the header files. 2000-09-23 00:04:34 +00:00
wtc%netscape.com
b44ba3bf53 Added perl-generated files nssckpev.h nssckft.h nssckg.h nssck.api. 2000-09-22 22:52:20 +00:00
relyea%netscape.com
181cc5dcfe Add NSS_NoDB_Init() 2000-09-22 17:34:29 +00:00