58 Commits

Author SHA1 Message Date
wtchang%redhat.com
51a9c2f4bd Bugzilla bug 303986: do not assume the line ending is '\n'; it may be the
two character sequence '\r''\n'.  Make sure a character is a digit before
using it as a digit. r=jpierre.
2005-08-09 22:19:09 +00:00
alexei.volkov.bugs%sun.com
cd0a03b285 fix for bug: 297015 - bltest should run multithreaded. r=julien 2005-06-16 21:11:02 +00:00
nelsonb%netscape.com
1d7a71582a Back out last checkin, which broke the build on some platforms. 2005-06-14 05:51:51 +00:00
alexei.volkov.bugs%sun.com
d930c554f5 RFE fix 297015: bltest should run multithreaded. julien r+ 2005-06-14 01:58:22 +00:00
nelsonb%netscape.com
764545022b decouple block size from buffer size for AES/rijndael in bltest.
Bug 289066. r=saul.edwards,rrelyea.
2005-04-06 23:19:22 +00:00
nelsonb%netscape.com
c03b9d33fe Rename all internal private softoken functions types and symbols from
PK11 or pk11 prefixes to SFTK or sftk prefixes.  Bug 286685.
r=relyea,wtchang  Modified Files:
 cmd/bltest/blapitest.c lib/pk11wrap/pk11pars.c lib/softoken/dbinit.c
 lib/softoken/dbmshim.c lib/softoken/fipstest.c lib/softoken/fipstokn.c
 lib/softoken/pcertdb.c lib/softoken/pk11db.c lib/softoken/pk11pars.h
 lib/softoken/pkcs11.c lib/softoken/pkcs11c.c lib/softoken/pkcs11i.h
 lib/softoken/pkcs11u.c lib/softoken/softoken.h lib/softoken/tlsprf.c
2005-03-29 18:21:18 +00:00
gerv%gerv.net
3634d4d94b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
ian.mcgreer%sun.com
5c2c5888f9 ECC code landing.
Contributed by Sheuling Chang, Stephen Fung, Vipul Gupta, Nils Gura,
and Douglas Stebila of Sun Labs
2003-10-17 13:45:42 +00:00
nelsonb%netscape.com
6b8d4e688b Add test modes for sha256, sha384 and sha512.
Fix the -c (restart) option for testing hashes.  It works with all hashes.
When the -d option is given along with the -i or -o filename option,
and the filename is not absolute, the filename is taken to be relative to
the the mode's test directory.
2002-11-21 05:44:03 +00:00
nelsonb%netscape.com
f8fead2f58 Add test cases from FIPS 180-2. 2002-11-21 02:26:50 +00:00
nelsonb%netscape.com
95badac2f4 Fix several problems related to error messages, including an attempt to
print a null string pointer.
2002-11-01 21:04:33 +00:00
nelsonb%netscape.com
cea8a96338 Reformat text. Fix syntax error in first examples. 2002-11-01 21:03:24 +00:00
nicolson%netscape.com
e179fe8904 Fix 164126: makefile build error.
Change the NSS module name from "security" to "nss".
2002-09-06 16:38:56 +00:00
ian.mcgreer%sun.com
1871593ad6 additional patch for bug 166768 2002-09-06 14:10:14 +00:00
ian.mcgreer%sun.com
935b91935c bugs 166722 and 166768, compiler warnings in blapitest
r=wtc
2002-09-05 20:37:44 +00:00
wtc%netscape.com
62b88996d5 Bugzilla bug 130703: fixed several issues in the NSS 3.4 exported headers.
1) Preseve the position of NSS 3.3 elements in the data structures.  Some
new fields replace some old deprecated fields where possible to preserve
the total size of the structure.
2) Stan headers are removed from public exports.
3) Some exported functions didn't have prototypes in the public headers.
4) One bug fix: dev3hack.c did not pass the second argument to
nssToken_DestroyCertList.
5) Include the necessary headers to fix undeclared function warnings.
2002-03-14 04:12:25 +00:00
ian.mcgreer%sun.com
56534eb2c6 include AES in performance info dump 2001-11-26 17:53:44 +00:00
ian.mcgreer%sun.com
a53e6cb933 fixes for testing word alignment 2001-10-30 16:03:43 +00:00
ian.mcgreer%sun.com
d2dcb76615 fix AES self-test 2001-10-10 17:39:49 +00:00
ian.mcgreer%sun.com
0b6ef0d9da self-testing for AES 2001-10-08 16:14:04 +00:00
relyea%netscape.com
9122d644c8 BlapiTest required headers are no longer public. Get them from the
developement directory.
2001-09-20 21:42:54 +00:00
relyea%netscape.com
b09ceb26de BLAPI is complete below the PKCS #11 line, so should not call high level initialization functions. 2001-08-24 18:21:09 +00:00
mcgreer%netscape.com
a5b5e560b9 temporarily add debug output to bltest to try and track down win32 RSA QA failures. 2001-06-13 15:31:20 +00:00
kirke%netscape.com
b4bed1dcdb Resolves bug 66244 - Many NSS command do not detect failure of NSS_Init* functions. Introduced SECU_PrintPRandOSError(progName); to print on failure. Each command is responsible for exiting with appropriate status to distinguish failure points. 2001-01-31 23:25:02 +00:00
mcgreer%netscape.com
5f188b705a make blapitest return error codes so QA lights up correctly. Fix bug with DSA
self-test.  r=wtc
2001-01-18 21:45:47 +00:00
mcgreer%netscape.com
dcf2480ab4 add support for AES
reduce compiler warnings
2001-01-05 22:38:50 +00:00
nelsonb%netscape.com
97cc48fda6 Reduce warnings by adding missing #includes to eliminate calls to
undeclared functions.
2001-01-04 08:21:15 +00:00
relyea%netscape.com
ab78f09b9b Add dynamic Library support to commands. Mark those that commands that still
need to be build with static libraries appropriately.
2000-12-22 17:09:07 +00:00
mcgreer%netscape.com
7db461e1b8 uninit'ed var causes problem on some platforms 2000-12-05 01:13:24 +00:00
mcgreer%netscape.com
9ce79d6c32 table wasn't wide enough for long runs 2000-12-01 23:48:22 +00:00
mcgreer%netscape.com
092f821fa4 fix broken AIX build 2000-12-01 19:00:50 +00:00
mcgreer%netscape.com
83a8928dcd check in b64 encoded seeds 2000-12-01 01:31:18 +00:00
mcgreer%netscape.com
39061cbbdb massive changes to blapitest to allow for more flexible input types and improved
performance testing output.
2000-12-01 01:24:05 +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
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
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
mcgreer%netscape.com
ccd7cc788f changes to use blapitest on NT. 2000-09-29 22:27:14 +00:00
mcgreer%netscape.com
7f7a3f4d0d changes for nss script. passed tests produce no output. fix dsa test case. 2000-09-27 23:03:21 +00:00
mcgreer%netscape.com
30387a4f67 Check in self-test based on FIPS 186-1 appendix 5 2000-09-19 21:14:22 +00:00
nelsonb%netscape.com
8bad955812 Effectively remove all the code that uses RC5 from the software token
by surrounding it with #if NSS_SOFTOKEN_DOES_RC5
2000-09-07 01:17:00 +00:00
mcgreer%netscape.com
0d70c5df17 add a > wordsize test for RC4 2000-06-29 18:38:30 +00:00
mcgreer%netscape.com
12b3563350 iterate context creation for all ciphers when doing performance tests. 2000-06-02 23:09:13 +00:00
mcgreer%netscape.com
10d32a14b9 more performance testing
* timing of context creation for ciphers
* provide system information
2000-06-02 01:40:29 +00:00
mcgreer%netscape.com
23966b8923 fix up file handling. 2000-05-26 23:19:17 +00:00
mcgreer%netscape.com
308ca1e370 break off mode list when next option is reached 2000-05-26 23:09:09 +00:00
mcgreer%netscape.com
9fdfa1ad70 fix dsa self-test 2000-05-26 23:05:05 +00:00
mcgreer%netscape.com
746aedde1f * allow a directory for tests to be specified
* separate pqg generation for dsa test
* fix dsa self-test
2000-05-26 23:04:47 +00:00
mcgreer%netscape.com
d5c80d5666 self-test 2000-05-26 07:53:38 +00:00
mcgreer%netscape.com
0b167f4b76 self-test 2000-05-26 07:48:19 +00:00