86 Commits

Author SHA1 Message Date
rrelyea%redhat.com
e36074b00e Bug 373108 Test cases for CTS and GCM
git-svn-id: svn://10.0.0.236/trunk@264666 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-25 18:10:55 +00:00
wtc%google.com
956ed7ce16 Bug 802903: The function blapi_pqg_param_gen is missing the return type.
r=rrelyea.


git-svn-id: svn://10.0.0.236/trunk@264456 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-17 01:41:25 +00:00
rrelyea%redhat.com
b967e76161 Bug 373108 - Implement AES Galois Counter Mode (GCM)
r=wtc,emaldona


git-svn-id: svn://10.0.0.236/trunk@264319 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-11 00:34:33 +00:00
rrelyea%redhat.com
8067e24523 Bug 475578 - Implement Extended DSA as defined in FIPS 186-3 (DSS) (edit)
r=wtc. partial review also by brian

Fix problem when generating pqg < 512. Switch to Shawe/Taylor pqg generation


git-svn-id: svn://10.0.0.236/trunk@264317 18797224-902f-48f8-a5cc-f745e15eee43
2012-10-11 00:10:27 +00:00
rrelyea%redhat.com
3e1b410d0f Bug 475578 - Implement Extended DSA as defined in FIPS 186-3
r=wtc
New tests for DSA2 algorithms


git-svn-id: svn://10.0.0.236/trunk@263934 18797224-902f-48f8-a5cc-f745e15eee43
2012-06-13 17:17:36 +00:00
emaldona%redhat.com
99cd25455c Bug 744651 - Make getECParams use SECItem instead of SECKEYECParams so it doesn't have to include higher level headers, fixes Tinderbox breakage
git-svn-id: svn://10.0.0.236/trunk@263807 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-09 03:35:47 +00:00
wtc%google.com
8e3cef3b76 Bug 746842: Improve blapitest testing of the CBC mode of block ciphers
by using an aes_cbc test input file of two blocks of data.  r=emaldona.
Modified Files:
	blapitest.c tests/aes_cbc/ciphertext0 tests/aes_cbc/plaintext0


git-svn-id: svn://10.0.0.236/trunk@263795 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-08 00:20:19 +00:00
emaldona%redhat.com
a32af73b6b Bug 744651 - Refactor secutil into high and low level components, a=emaldonado, r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@263778 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-02 04:34:16 +00:00
gerv%gerv.net
be9740d220 Bug 716563 - upgrade licence to MPL 2. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@263588 18797224-902f-48f8-a5cc-f745e15eee43
2012-03-20 14:49:16 +00:00
emaldona%redhat.com
92f3ecf9a1 Bug 172051 - Add localizable error messages for NSS error codes, r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@262881 18797224-902f-48f8-a5cc-f745e15eee43
2011-09-16 19:16:51 +00:00
emaldona%redhat.com
eb322f54a2 Bug 172051 - Localizable error strings: NSS_Strerror takes an extra format argument, should return Tinderbox to green
git-svn-id: svn://10.0.0.236/trunk@262716 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-18 07:18:33 +00:00
emaldona%redhat.com
eea2a62ae8 Fix Bug 6172051 - Add localizable error messages for NSS error codes, r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@262713 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-17 14:55:35 +00:00
rrelyea%redhat.com
2f88f8758b Bug 584257 - Need a way to expand partial private keys
r=elio


git-svn-id: svn://10.0.0.236/trunk@261570 18797224-902f-48f8-a5cc-f745e15eee43
2010-11-16 19:08:49 +00:00
emaldona%redhat.com
69ad261969 Bug 356713 - Support SHA224 has/hmac and rsa signature, r=wtc
git-svn-id: svn://10.0.0.236/trunk@261061 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-18 05:57:05 +00:00
nelson%bolyard.com
25cae7d289 Bug 506041: Correct misspellings in source code comments
Patch contributed by Michael Kohler <michaelkohler@live.com>, r=nelson


git-svn-id: svn://10.0.0.236/trunk@260229 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-25 23:37:40 +00:00
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