Commit Graph

5728 Commits

Author SHA1 Message Date
nelson%bolyard.com
ded13feaf6 Bug 327405. Correct EC keypair Generation. r=vipul.gupta,nelson.bolyard
Patch contributed by Douglas Stebila <douglas@stebila.ca>


git-svn-id: svn://10.0.0.236/trunk@191466 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 07:06:24 +00:00
nelson%bolyard.com
0b3fed0e68 Bug 328262. Increment ssl3 statistics counters atomicly. r=wtchang,julien.pierre
git-svn-id: svn://10.0.0.236/trunk@191464 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 05:49:27 +00:00
wtchang%redhat.com
4ddaaa29c2 Bugzilla Bug 327978: removed obsolete files, superseded by the ecl
directory.  r=douglas.stebila.
Removed files: GF2m_ecl.c GF2m_ecl.h GFp_ecl.c GFp_ecl.h


git-svn-id: svn://10.0.0.236/trunk@191445 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 23:43:19 +00:00
wtchang%redhat.com
3378584fd9 Bugzilla bug 327855: OS2 GCC build should define XP_OS2_EMX for NSPR
headers.  Removed a duplicate XP_OS2 definition. r=Peter Weilbacher and
Julien Pierre.


git-svn-id: svn://10.0.0.236/trunk@191426 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 21:34:29 +00:00
kaie%kuix.de
3b5fac8df6 bug 328302, Cert Viewer: Prefix "raw bytes" display with size information
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@191411 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 18:30:01 +00:00
nelson%bolyard.com
aec5c79ea6 Bug 326315. Warning Reduction. On TRUNK only. r=Julien.Pierre
git-svn-id: svn://10.0.0.236/trunk@191371 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 05:56:07 +00:00
nelson%bolyard.com
0a60e2bebe Bug 325683. EC param parsing error not propagated correctly.
Fix the cases that Andreas identified.  Patch by Andreas.Sterbenz@sun.com
r=Julien,wtchang,nelson


git-svn-id: svn://10.0.0.236/trunk@191370 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 05:44:56 +00:00
nelson%bolyard.com
4a76b12e4a Bug 326690. Enable modutil to configure default slots for the
AES, SHA256 or SHA512 mechanisms.  r=rrelyea,julien.pierre


git-svn-id: svn://10.0.0.236/trunk@191365 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 05:16:00 +00:00
nelson%bolyard.com
d827ad7877 Bug 327105. Reintroduce an old bug that prevents _DHE_ cipher suites
from being negotiated by NSS servers.  Necessary until the server side
of the _DHE_ cipher suites is fully implemented.  r=Julien,Wan-Teh,Vipul


git-svn-id: svn://10.0.0.236/trunk@191364 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 04:20:23 +00:00
wtchang%redhat.com
b8fed25c26 Bugzilla Bug 320038: checked in a better fix that allows us to write
EC domain parameters as hex strings with leading 00's. r=douglas.stebila
sr=relyea.
Modified files: softoken/ecdecode.c freebl/ecl/ecl-curve.h


git-svn-id: svn://10.0.0.236/trunk@191347 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 23:18:34 +00:00
wtchang%redhat.com
961f0de42e Bugzilla Bug 322871: moved the three new EC-related JNI function symbols to
a new JSS_4.2.3 section. r=sandeep.konchady.


git-svn-id: svn://10.0.0.236/trunk@191221 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 23:56:41 +00:00
nkwan%redhat.com
36590fe2e3 integrated patch 'build fix' from bugzilla #328246
git-svn-id: svn://10.0.0.236/trunk@191178 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 19:40:34 +00:00
sandeep.konchady%sun.com
ebb4d1bcf6 Bugzilla bug: 328233 Fix for using SunJCE for all platformas that do not
use IBM JDK. sr=Alexei.Volkov


git-svn-id: svn://10.0.0.236/trunk@191034 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 16:47:17 +00:00
wtchang%redhat.com
2c8323ecaf Bugzilla Bug 322871: Checked in Bob Relyea's patch again.
Add multi-hash ECC to jss (based on the 1.4 JCE).


git-svn-id: svn://10.0.0.236/trunk@190949 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 01:21:52 +00:00
wtchang%redhat.com
82995968a1 Bug 322578: backed out the previous checkin. We avoided it by changing NSS.
r=mark.mentovai.


git-svn-id: svn://10.0.0.236/trunk@190903 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 22:40:03 +00:00
wtchang%redhat.com
0c4dffbc43 Bugzilla bug 322578: support ppc<->x86 cross builds for Mac OS X. The
patch is contributed by Mark Mentovai <mark@moxienet.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@190897 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 22:26:34 +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
christophe.ravel.bugs%sun.com
6c94590524 Change NSS version to 3.12 Beta on the tip.
git-svn-id: svn://10.0.0.236/trunk@190885 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 21:22:54 +00:00
kaie%kuix.de
37279f8e01 bug 321598, Double memory free in nsIX509::getRawDER
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@190868 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 20:36:53 +00:00
wtchang%redhat.com
32c9c25c82 Bugzilla Bug 326754: the previous checkin made us fail the NIST DSA PQGGen
test for [mod = 768] only.  Backed out the more likely culprit.


git-svn-id: svn://10.0.0.236/trunk@190781 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 02:12:09 +00:00
sandeep.konchady%sun.com
39fe796f2f Bugzilla bug: 310368 Missed a file.
sr=Glen r=Alexei


git-svn-id: svn://10.0.0.236/trunk@190769 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 23:38:58 +00:00
sandeep.konchady%sun.com
f2e42543a9 Bugzilla bug: 326699 Added check for libjss4.$platform_lib_extension
sr=Alexei.Volkov r=Christophe.Ravel


git-svn-id: svn://10.0.0.236/trunk@190767 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 23:27:49 +00:00
sandeep.konchady%sun.com
9ab5148686 Bugzilla bug: 310368 Modified JSSE_SSLServer and JSS_SSLClient for proper
cipher preference and communication. sr=Glen.Beasley r=Alexei.Volkov


git-svn-id: svn://10.0.0.236/trunk@190766 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 23:25:25 +00:00
sandeep.konchady%sun.com
f186c9ceea Bugzilla bug: 322998 Fix for SSLServerSocket.accept() consuming exception
cause. sr=Wan-Teh r=Alexei.Volkov


git-svn-id: svn://10.0.0.236/trunk@190759 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 22:43:27 +00:00
mark%moxienet.com
a2b9205e57 322578 Support ppc<->x86 cross builds for Mac OS X. Core cross-compile support. r=bsmedberg r=cls sr=bryner
git-svn-id: svn://10.0.0.236/trunk@190627 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 00:21:55 +00:00
wtchang%redhat.com
d5a4f4cfb3 Bugzilla Bug 327529: unnamed arguments (third and after) for CERT_CreateRDN
must have the correct CERTAVA * type because compilers can't do automatic
type conversions. r=nelsonb,jpierre.
Modified files: alg1485.c secname.c


git-svn-id: svn://10.0.0.236/trunk@190617 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 23:06:55 +00:00
kaie%kuix.de
aa7c6931b7 bug=325366, Certificates: Large MS CA version causes decoding failure
Patch contributed by Martin v. Loewis
r=kengert


git-svn-id: svn://10.0.0.236/trunk@190565 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 13:20:47 +00:00
wtchang%redhat.com
99d5e184bb Renamed DSA_TEST_SEED_BYTES to PQG_TEST_SEED_BYTES.
git-svn-id: svn://10.0.0.236/trunk@190480 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-18 02:39:12 +00:00
wtchang%redhat.com
d0352fc751 Bugzilla Bug 327384: fixed an off-by-one error in the size of the 'genenc'
array.  The patch is contributed by Andreas Sterbenz
<Andreas.Sterbenz@sun.com>. r=wtc,nelsonb


git-svn-id: svn://10.0.0.236/trunk@190304 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 22:33:13 +00:00
sandeep.konchady%sun.com
7a417d0627 Bugzilla bug: 317479. Added IBMJCE for tests to work with IBM JDK.
sr=glen.beasley r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@190231 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 19:54:08 +00:00
dveditz%cruzio.com
2cf6b150f4 bug 327126 prevent missing JSContext during generateCRMFRequest() r=mrbkap, r=kengert, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190205 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 05:38:52 +00:00
glen.beasley%sun.com
e135c4be16 fix by wan-teh for RSA siggen tests r=glen
git-svn-id: svn://10.0.0.236/trunk@190191 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 01:52:51 +00:00
wtchang%redhat.com
3fce3ffa2d Bugzilla Bug 318967: use 160-bit SEED when generating DSA domain parameters
(PQG).  Removed unused keySizeIndex variables. Handle the return value and
result output parameter of PQG_VerifyParams separately. Pad H with leading
0's when printing. r=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@190188 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 01:28:35 +00:00
julien.pierre.bugs%sun.com
c94cc640d1 Fix for bug 321765. Allow NSS to decode certs with unsupported critical extensions. r=wtchang,nelson,rrelyea.
git-svn-id: svn://10.0.0.236/trunk@190162 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 00:06:24 +00:00
alexei.volkov.bugs%sun.com
5b6736aa0f [Bug 326963] Interoperability test with apache/mod_ssl: tstclnt
produces: assertion failure: secmod_PrivateModuleCount == 0; r=nelson, sr=julie
n


git-svn-id: svn://10.0.0.236/trunk@190145 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 22:22:32 +00:00
wtchang%redhat.com
4c3f242d31 Bugzilla Bug 318962: fixed signed/unsigned comparison warnings by MSVC.
r=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@190133 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 19:14:09 +00:00
wtchang%redhat.com
c4308dad4e Bugzilla Bug 318968: more ECDSA test cleanup. Do not zeroize when freezing
ECParams' arenas.  Use EC_CopyParams to copy ECParams to an EC public key
and allocate the public key's value from the same arena. r=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@190130 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 19:06:51 +00:00
christophe.ravel.bugs%sun.com
ee00f23695 322871: JSS needs to handle ECC keys and certs`
Back out changes by rrelyea (2006-02-10) and glen.beasley (2006-02-14).
r+: wtc


git-svn-id: svn://10.0.0.236/trunk@190036 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 23:53:05 +00:00
glen.beasley%sun.com
c56e20b8b1 temp build fix
git-svn-id: svn://10.0.0.236/trunk@189986 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 20:16:45 +00:00
wtchang%redhat.com
e84d9756e0 Bugzilla Bug 326754: fixed two minor bugs related to the h parameter in
PQG parameter generation. r=nelsonb,glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@189925 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 03:04:57 +00:00
wtchang%redhat.com
d906a59109 Bugzilla Bug 326144: need to zeroize a SECItem that contains a copy of the
secret key. r=relyea,jpierre.


git-svn-id: svn://10.0.0.236/trunk@189923 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 02:55:09 +00:00
wtchang%redhat.com
d59543691c Bugzilla bug 326751: CKR_SIGNATURE_INVALID is a much better default error
code for NSC_VerifyRecover than CKR_DEVICE_ERROR is. r=relyea.


git-svn-id: svn://10.0.0.236/trunk@189748 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 02:03:25 +00:00
glen.beasley%sun.com
dd9953c212 318970 RSA sigver test fix r=wan-teh
git-svn-id: svn://10.0.0.236/trunk@189726 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 23:27:38 +00:00
rrelyea%redhat.com
104398f313 Add multi-hash ECC to jss (based on the 1.4 JCE).
git-svn-id: svn://10.0.0.236/trunk@189590 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 22:06:22 +00:00
rrelyea%redhat.com
99fa932ed0 Bugzilla Bug 326482 NSS ECC performance problems.
Patch by Nelson, r=relyea.

Save the public key when we create the keypair so we can use it later.


git-svn-id: svn://10.0.0.236/trunk@189566 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 19:39:53 +00:00
rrelyea%redhat.com
7737de0a17 Bugzilla Bug 326482 NSS ECC performance problems.
r=nelsonb
Fix bug where ECC keys were not being copied on server startup


git-svn-id: svn://10.0.0.236/trunk@189563 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 18:54:58 +00:00
neil.williams%sun.com
a04a3a8fbd Bug 325657, r=Nelson,Wan-Teh, Unset ECL_USE_FP INT Solaris SPARC freebl
git-svn-id: svn://10.0.0.236/trunk@189549 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 04:38:05 +00:00
rrelyea%redhat.com
4784e5f4df Bug 320187 NSC_WrapKey called with null output returns short length
r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@189498 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 19:54:22 +00:00
dougt%meer.net
87d60625cc Fixing bug 326358. checking for null mStringBundle is not needed. r/a=kaie
git-svn-id: svn://10.0.0.236/trunk@189491 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 18:52:28 +00:00
neil.williams%sun.com
7a3a63def1 Bug #325682, Adds -Wl,-rpath to link step for Linux distributions
r=Nelson, sr=Wan-Teh


git-svn-id: svn://10.0.0.236/trunk@189445 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 00:12:17 +00:00