71 Commits

Author SHA1 Message Date
julien.pierre.boogz%sun.com
f1a61ae816 Fix for bug 493135 . bltest crashes if it can't open the input file. r=nelson
git-svn-id: svn://10.0.0.236/trunk@257207 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-16 00:29:17 +00:00
julien.pierre.boogz%sun.com
d5cbd43883 Fix for bug 485127 . bltest crashed when attempting rc5_cbc or rc5_ecb . r=nelson
git-svn-id: svn://10.0.0.236/trunk@256701 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-26 01:41:13 +00:00
julien.pierre.boogz%sun.com
c60c10b0b0 Fix for bug 473505 . softoken's C_Initialize and C_Finalize should succeed after a fork in a child process. r=relyea, nelson
git-svn-id: svn://10.0.0.236/trunk@256055 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-03 05:34:47 +00:00
nelson%bolyard.com
3bf81e175c Bug 453234: Support for SEED Cipher Suites to TLS RFC 4010
patch by Yeonjung Kang <kang.yeonjung@gmail.com>, r=nelson


git-svn-id: svn://10.0.0.236/trunk@255547 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-17 06:09:22 +00:00
julien.pierre.boogz%sun.com
f175fb4cdb Fix for bug 424471 . counter overflow in bltest . r=nelson
git-svn-id: svn://10.0.0.236/trunk@248391 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-22 02:01:16 +00:00
nelson%bolyard.com
8cd85a42b7 bug 403240: threads hanging in nss_InitLock . r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@245816 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 05:31:32 +00:00
julien.pierre.boogz%sun.com
29443dfc70 Fix for bug 403240 - threads hanging in nss_InitLock . r=wtc,nelson
git-svn-id: svn://10.0.0.236/trunk@245810 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 04:38:09 +00:00
julien.pierre.bugs%sun.com
e788d02661 Fix for bug 228190 . Remove unnecessary NSS_ENABLE_ECC declarations . r=nelson
git-svn-id: svn://10.0.0.236/trunk@229789 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 04:39:19 +00:00
rrelyea%redhat.com
8563dfd635 bug 217538: shared database support... changes to cmd.
cmd changes are as follows:
1) fix a bug in blapitest.c
2) enable certutil to change the password on a database on the command line.
3) remove the explicit tests for cert and key databases in modutil and signtool.


git-svn-id: svn://10.0.0.236/trunk@227929 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 23:24:19 +00:00
rrelyea%redhat.com
5e97cf8097 Add Camilla cipher suites TLS RFC4132 bug 361025
code supplied by okazaki@kick.gr.jp


git-svn-id: svn://10.0.0.236/trunk@221086 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 19:47:40 +00:00
wtchang%redhat.com
0bd41b0a25 Bugzilla Bug 345775: use SECITEM_FreeItem(..., PR_TRUE) to completely free
the SECItem allocated in getECParams. r=alexei.volkov.


git-svn-id: svn://10.0.0.236/trunk@203789 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 00:33:23 +00:00
rrelyea%redhat.com
f1f37e1100 Bug 335748 ECC support for mozilla.
r=wtc


git-svn-id: svn://10.0.0.236/trunk@200693 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 16:57:43 +00:00
wtchang%redhat.com
5ee099ec32 Bugzilla Bug 328228: fixed the typo "secp169k1". The patch is contributed
by jyri <jyri.virkki@sun.com>. r=wtc,vipul.gupta.
Modified files: bltest/blapitest.c certutil/certutil.c


git-svn-id: svn://10.0.0.236/trunk@190895 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 22:15:57 +00:00
wtchang%redhat.com
415fe5cce5 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.


git-svn-id: svn://10.0.0.236/trunk@177446 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 22:19:09 +00:00
alexei.volkov.bugs%sun.com
ccadd61505 fix for bug: 297015 - bltest should run multithreaded. r=julien
git-svn-id: svn://10.0.0.236/trunk@174724 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 21:11:02 +00:00
nelsonb%netscape.com
ee4b7e3796 Back out last checkin, which broke the build on some platforms.
git-svn-id: svn://10.0.0.236/trunk@174543 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 05:51:51 +00:00
alexei.volkov.bugs%sun.com
025a8c8450 RFE fix 297015: bltest should run multithreaded. julien r+
git-svn-id: svn://10.0.0.236/trunk@174540 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 01:58:22 +00:00
nelsonb%netscape.com
dabc9ea37e decouple block size from buffer size for AES/rijndael in bltest.
Bug 289066. r=saul.edwards,rrelyea.


git-svn-id: svn://10.0.0.236/trunk@171827 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 23:19:22 +00:00
nelsonb%netscape.com
942609106d 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


git-svn-id: svn://10.0.0.236/trunk@171326 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 18:21:18 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
ian.mcgreer%sun.com
decc84df49 ECC code landing.
Contributed by Sheuling Chang, Stephen Fung, Vipul Gupta, Nils Gura,
and Douglas Stebila of Sun Labs


git-svn-id: svn://10.0.0.236/trunk@148060 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 13:45:42 +00:00
nelsonb%netscape.com
3eb7a816ce 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.


git-svn-id: svn://10.0.0.236/trunk@134246 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 05:44:03 +00:00
nelsonb%netscape.com
f058825676 Add test cases from FIPS 180-2.
git-svn-id: svn://10.0.0.236/trunk@134235 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 02:26:50 +00:00
nelsonb%netscape.com
4eb322a2ce Fix several problems related to error messages, including an attempt to
print a null string pointer.


git-svn-id: svn://10.0.0.236/trunk@132837 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 21:04:33 +00:00
nelsonb%netscape.com
6a4a0128ec Reformat text. Fix syntax error in first examples.
git-svn-id: svn://10.0.0.236/trunk@132835 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 21:03:24 +00:00
nicolson%netscape.com
4b34ca8158 Fix 164126: makefile build error.
Change the NSS module name from "security" to "nss".


git-svn-id: svn://10.0.0.236/trunk@128961 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 16:38:56 +00:00
ian.mcgreer%sun.com
e23acc1e6e additional patch for bug 166768
git-svn-id: svn://10.0.0.236/trunk@128950 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 14:10:14 +00:00
ian.mcgreer%sun.com
2fc48d0498 bugs 166722 and 166768, compiler warnings in blapitest
r=wtc


git-svn-id: svn://10.0.0.236/trunk@128901 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 20:37:44 +00:00
wtc%netscape.com
a8e2c91a4d 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.


git-svn-id: svn://10.0.0.236/trunk@116522 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 04:12:25 +00:00
ian.mcgreer%sun.com
5c2f85abc0 include AES in performance info dump
git-svn-id: svn://10.0.0.236/trunk@108901 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 17:53:44 +00:00
ian.mcgreer%sun.com
dce8a3b4fd fixes for testing word alignment
git-svn-id: svn://10.0.0.236/trunk@106696 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 16:03:43 +00:00
ian.mcgreer%sun.com
74c5238ac6 fix AES self-test
git-svn-id: svn://10.0.0.236/trunk@105041 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 17:39:49 +00:00
ian.mcgreer%sun.com
96738acb83 self-testing for AES
git-svn-id: svn://10.0.0.236/trunk@104797 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 16:14:04 +00:00
relyea%netscape.com
d931f220fc BlapiTest required headers are no longer public. Get them from the
developement directory.


git-svn-id: svn://10.0.0.236/trunk@103350 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:42:54 +00:00
relyea%netscape.com
fb609dc013 BLAPI is complete below the PKCS #11 line, so should not call high level initialization functions.
git-svn-id: svn://10.0.0.236/trunk@101755 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 18:21:09 +00:00
mcgreer%netscape.com
18cb059a24 temporarily add debug output to bltest to try and track down win32 RSA QA failures.
git-svn-id: svn://10.0.0.236/trunk@97063 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 15:31:20 +00:00
kirke%netscape.com
55dbf03443 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.
git-svn-id: svn://10.0.0.236/trunk@85896 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:25:02 +00:00
mcgreer%netscape.com
eb7bf466b7 make blapitest return error codes so QA lights up correctly. Fix bug with DSA
self-test.  r=wtc


git-svn-id: svn://10.0.0.236/trunk@85090 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 21:45:47 +00:00
mcgreer%netscape.com
ca5f3a2537 add support for AES
reduce compiler warnings


git-svn-id: svn://10.0.0.236/trunk@84436 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 22:38:50 +00:00
nelsonb%netscape.com
c6ec12f986 Reduce warnings by adding missing #includes to eliminate calls to
undeclared functions.


git-svn-id: svn://10.0.0.236/trunk@84366 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 08:21:15 +00:00
relyea%netscape.com
2911c27f7a Add dynamic Library support to commands. Mark those that commands that still
need to be build with static libraries appropriately.


git-svn-id: svn://10.0.0.236/trunk@83994 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 17:09:07 +00:00
mcgreer%netscape.com
fc9d876e3f uninit'ed var causes problem on some platforms
git-svn-id: svn://10.0.0.236/trunk@83241 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 01:13:24 +00:00
mcgreer%netscape.com
a35f8e524d table wasn't wide enough for long runs
git-svn-id: svn://10.0.0.236/trunk@83195 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 23:48:22 +00:00
mcgreer%netscape.com
cd71db259e fix broken AIX build
git-svn-id: svn://10.0.0.236/trunk@83184 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 19:00:50 +00:00
mcgreer%netscape.com
12e48a8181 check in b64 encoded seeds
git-svn-id: svn://10.0.0.236/trunk@83171 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:31:18 +00:00
mcgreer%netscape.com
8cbcd772e8 massive changes to blapitest to allow for more flexible input types and improved
performance testing output.


git-svn-id: svn://10.0.0.236/trunk@83170 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:24:05 +00:00
mcgreer%netscape.com
ba1581843a set up RNG for self-test (DSA needs it), and set default RSA public exponent
to 2**16 + 1


git-svn-id: svn://10.0.0.236/trunk@82295 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 01:11:48 +00:00
mcgreer%netscape.com
e9a877c6a0 back out last change
git-svn-id: svn://10.0.0.236/trunk@82225 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 07:45:35 +00:00
mcgreer%netscape.com
3ae48fafea option for dumping values in RSA key
git-svn-id: svn://10.0.0.236/trunk@82224 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 07:44:47 +00:00
mcgreer%netscape.com
4ff87894d0 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.
git-svn-id: svn://10.0.0.236/trunk@80874 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:55:45 +00:00