Commit Graph

729 Commits

Author SHA1 Message Date
nelsonb%netscape.com
575f23cc64 Performance benchmark for modular exponentiation.
Test modulus and exponent to be added later.
2000-10-26 23:30:50 +00:00
nelsonb%netscape.com
d2df084113 Functions that provide default RSA public and private key for performance
benchmarks.  Values for these keys to be supplied in next revision.
2000-10-26 00:29:09 +00:00
nelsonb%netscape.com
2b82871510 RSA performance benchmark program, ported to blapi from NSS 2.8. 2000-10-25 23:17:54 +00:00
javi%netscape.com
ba63941df9 Make boolean preferences work under Netscape6. It's the annoying JS bug
where you can't call top.variable when in the top most frame.

So I moved the function that was doing this to the frame that wanted to
toggle the boolean value instead of calling the top most frame to do this.
2000-10-25 18:57:06 +00:00
javi%netscape.com
7d0aaba8ae Check-in final reviewed version of sslconn.c 2000-10-25 17:23:46 +00:00
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
javi%netscape.com
149b331c1a Don't escape parameters until after we've broken down the parameters into
arrays.  This makes it so that the character '&' is properly categorized
into the array if it's a member of the string for either parameter name
or value.
2000-10-23 22:52:31 +00:00
javi%netscape.com
ae8d89963d Don't assume a bitwise or will return the value 1. 2000-10-23 21:32:20 +00:00
javi%netscape.com
90171b9743 Check-in re-written SSL thread with fixes made so that the threads clean
up after themselves properly.
2000-10-23 18:34:48 +00:00
javi%netscape.com
65787215f6 Make this directory build in the new world.
Add some debug output in regards as to which directory it's gonna use
for the cert db.
2000-10-19 21:14:34 +00:00
javi%netscape.com
ef7df11de3 Decompose the function for the SSL Service Thread to make it easier to read.
When doing a poll, exit the service thread if there are no sockets waiting
for data to be processed.  Make the poll for data from the client and
server sockts time out after 10 minutes.  At that point there should be
nothing waiting or the connection has gone away without us knowing about it.
2000-10-19 21:03:41 +00:00
ddrinan%netscape.com
7c936917e2 Build the component.reg file for Linux only 2000-10-18 19:02:22 +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
cotter%netscape.com
7bc8d15fe9 Corrected errors in release notes, added TLS info to help. 2000-10-13 20:49:56 +00:00
nelsonb%netscape.com
1b19b2d3b6 An enhancement to the new -N feature. When -N is selected, do NOT wait
for the first https request to finish before launching all the others.
2000-10-13 01:25:44 +00:00
cotter%netscape.com
10e45d8eac Updtaed for PSM 4.1. 2000-10-13 01:12:35 +00:00
nelsonb%netscape.com
78d958f2e2 Add -v option. v means "verbose progress messages". Formerly, this
program was always very verbose.  Now, it only outputs progress messages
when -v is specified.  This is very useful for interactive use.
Cache statistics are written to stderr.
2000-10-13 00:50:05 +00:00
nelsonb%netscape.com
1f1201dd3d Add new -N option. N means "No session reuse." -N disables the client
session cache, forcing all SSL handshakes to be FULL RSA handshakes.
2000-10-13 00:47:57 +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
ddrinan%netscape.com
c2a47d6ac5 Setting version to 1.4 2000-10-12 22:53:07 +00:00
ddrinan%netscape.com
c49f11ceb6 Fix for bug 53198 2000-10-12 22:41:47 +00:00
wtc%netscape.com
277f8ea47d Fixed the comment. 2000-10-11 07:21:38 +00:00
mcgreer%netscape.com
afd1c689cf also do binary on stdout DER 2000-10-11 07:12:45 +00:00
mcgreer%netscape.com
2d404f1980 binary output always, for now 2000-10-11 07:04:30 +00:00
mcgreer%netscape.com
abf11ef663 fix output of DER's on windows 2000-10-11 06:52:06 +00:00
wtc%netscape.com
4ec77975fc Commented out 'rm -rf ${TEMPFILES}' because TEMPFILES is not defined. 2000-10-11 06:47:36 +00:00
wtc%netscape.com
4b2e654d35 Fixed the echo output to match the command. 2000-10-11 06:46:05 +00:00
mcgreer%netscape.com
bf75619d8f add a new function, SECU_TextFileToItem, for reading text files. 2000-10-11 00:56:32 +00:00
mcgreer%netscape.com
c66491f1f7 seperate text file reads from binary reads. Change all base64 encoded ciphertexts to end in LF instead of CRLF. This caused a bug on windows when checking out from CVS. 2000-10-11 00:55:45 +00:00
nelsonb%netscape.com
c0cf47974f Change the working directory to the test directory before running
certutil -S, which creates files in the current working directory.
2000-10-10 03:12:31 +00:00
wtc%netscape.com
f7cb9d9b93 Print NSPR and OS error codes if PR_Open fails. 2000-10-10 02:38:08 +00:00
nelsonb%netscape.com
34c1f51a9d All output messages from strsclnt now begin with the string "strsclnt: ".
This makes it easier to separate mixed client and server output.
2000-10-10 02:10:25 +00:00
nelsonb%netscape.com
05b9dba846 When an invalid option is encountered, print the usage message and exit.
Previously, it would simply silently stop parsing options and the program
would continue to run, leading to false successes in coverage tests.
2000-10-09 23:39:46 +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
96a4822448 Fix a crash caused by using a null PRFileDesc * after PR_Open fails. 2000-10-07 02:16:03 +00:00
wtc%netscape.com
8568a8e9d2 Changed //helium/dist to //iridium/components (another way to get
access to /share/builds/components from NT at Netscape/iPlanet).
2000-10-07 00:56:20 +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
90e2a74ac6 Call NSS_InitReadWrite instead of SECU_PKCS11Init, and check the result
for success.  Fixes a crash.  If it turns out that cmsutil doesn't need
to modifiy the cert and/or key DBs, then it should call NSS_Init, instead.
2000-10-06 21:45:01 +00:00
nelsonb%netscape.com
5afb009e51 Call NSS_NoDB_Init instead of that broken old SECU_PKCS11Init.
Also, test to see that the init succeeded.
2000-10-06 21:40:52 +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
nelsonb%netscape.com
2dd71c3c55 Prefix all selfserv's output messages with "selfserv: " so we can tell
client messages apart from server messages when the two are mixed.
When the verbose option is enabled, print out the session reuse stats
right after the first PR_Read completes, so we don't miss any.
2000-10-05 04:14:44 +00:00