Commit Graph

738 Commits

Author SHA1 Message Date
javi%netscape.com
8106534690 Modify the NSS project to use the new freebl code 2000-11-08 01:12:09 +00:00
javi%netscape.com
ae93637c3d Make this file buildable on Mac 2000-11-08 01:11:23 +00:00
javi%netscape.com
9d91f9ba1b Make this file build on the Mac. 2000-11-08 01:06:47 +00:00
thayes%netscape.com
ebb9375a31 Bug 59307: Provide a target value for the "new-email-default" result of PKCS12
restore, and use it for building the certificate list refresh URL.
Fix the certificate list code to correctly check the type of object it
is given.
2000-11-07 00:23:17 +00:00
mcgreer%netscape.com
93f388db16 set up RNG for self-test (DSA needs it), and set default RSA public exponent
to 2**16 + 1
2000-11-04 01:11:48 +00:00
mcgreer%netscape.com
47d9d1ddb3 option for printing content version 2000-11-03 22:28:26 +00:00
mcgreer%netscape.com
89ff5ab2e3 back out last change 2000-11-02 07:45:35 +00:00
mcgreer%netscape.com
c574758854 option for dumping values in RSA key 2000-11-02 07:44:47 +00:00
mcgreer%netscape.com
0bc2e73f90 Changes to RSA keygen:
* use mp_invmod instead of mp_xgcd.  nelsonb optimized mp_invmod for even moduli, and this will take advantage of it.
* Assure that p > q.
* Assure that n is actually keysizeInBits long by setting the two high-order bits of p and q during generation.  Previously, it was possible for n to be 1 bit short.
2000-10-31 16:52:31 +00:00
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