Commit Graph

3472 Commits

Author SHA1 Message Date
kaie%kuix.de
da56cf550e bug 334442, Incorrect use of realloc oom Crash in secmod_ReadPermDB
r=nelson, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195267 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 18:04:16 +00:00
kaie%kuix.de
ff75f68fc6 bug 152426, delegation of HTTP download for OCSP
r=julien.pierre, r=rrelyea, a=wtchang


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194346 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 22:04:58 +00:00
gerv%gerv.net
689b3de0e7 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193305 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 07:56:54 +00:00
wtchang%redhat.com
0c98b62176 Bugzilla Bug 317620: upgraded the NSS version on the MOZILLA_1_8_BRANCH to
NSS 3.11.1 Beta.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191647 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 02:06:17 +00:00
wtchang%redhat.com
2713037cd7 Bugzilla Bug 317620: upgraded the NSS version on the MOZILLA_1_8_BRANCH to
NSS 3.11.1 Beta.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191646 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 01:58:08 +00:00
wtchang%redhat.com
33121905e8 Bugzilla Bug 317620: upgraded the NSS version on the MOZILLA_1_8_BRANCH to
NSS 3.11.1 Beta.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188904 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 23:04:04 +00:00
wtchang%redhat.com
24721aceaa Bugzilla Bug 317620: upgraded the NSS version on the MOZILLA_1_8_BRANCH to
NSS 3.11.1 Beta.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188901 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 22:31:50 +00:00
gerv%gerv.net
d843bf0f26 Bug 236613: change to MPL/LGPL/GPL tri-license. a=caillon.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188846 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:41:27 +00:00
wtchang%redhat.com
7219e21ece Set NSS version to 3.10.2 (final). Bugzilla bug 311402. a=asa for
mozilla1.8rc1.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182711 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 17:25:13 +00:00
wtchang%redhat.com
547359d8be Bug 311402: upgraded the NSS version on the MOZILLA_1_8_BRANCH to
NSS 3.10.2 Beta 2, which we expect will be the same as NSS 3.10.2 final.
a=asa for mozilla1.8rc1.
 Tag: MOZILLA_1_8_BRANCH


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181938 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 23:22:54 +00:00
(no author)
f7df88887e This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177651 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 19:01:32 +00:00
relyea%netscape.com
5895a8be4e Bug 292239 r wtc & julien
Merge PKCS #11 v2.20 header files


git-svn-id: svn://10.0.0.236/trunk@177649 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 18:58:47 +00:00
relyea%netscape.com
eab20b2728 Bug 303010 Certificate upgrade can drop S/MIME certificates
r=wtc.

Delay loading the S/MIME records on upgrade until the cert is loaded


git-svn-id: svn://10.0.0.236/trunk@177646 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 18:01:26 +00:00
wtchang%redhat.com
fedd4db7ed Bugzilla Bug 257693: actually implemented EC_ValidatePublicKey and added a
test case.  The patch is contributed by Douglas Stebila
<douglas@stebila.ca>.  r=wtc.
Modified Files:
	ec.c ecl/ec2.h ecl/ec2_aff.c ecl/ecl-priv.h ecl/ecl.c
	ecl/ecl.h ecl/ecp.h ecl/ecp_aff.c ecl/tests/ec2_test.c
	ecl/tests/ecp_test.c


git-svn-id: svn://10.0.0.236/trunk@177614 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 00:59:19 +00:00
wtchang%redhat.com
c60652569b Bugzilla Bug 298514: added a missing break statement and removed an unused
variable. r=jpierre.


git-svn-id: svn://10.0.0.236/trunk@177612 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 00:44:35 +00:00
wtchang%redhat.com
0e71db2146 Bugzilla Bug 240554: added ECDSA support in S/MIME. The patch is
contributed by Vipul Gupta <vipul.gupta@sun.com>. r=wtc.
Modified Files:
	cryptohi/secsign.c pkcs7/config.mk pkcs7/p7decode.c
	pkcs7/p7encode.c smime/cmssiginfo.c smime/cmsutil.c
	smime/config.mk


git-svn-id: svn://10.0.0.236/trunk@177606 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 23:11:40 +00:00
wtchang%redhat.com
549e4b84c2 Bugzilla Bug 240554: added S/MIME tests for ECDSA. The patch is
contributed by Vipul Gupta <vipul.gupta@sun.com>. r=wtc.
Modified files: fixtests.sh cert/eccert.sh
Added file: smime/ecsmime.sh


git-svn-id: svn://10.0.0.236/trunk@177605 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 22:50:12 +00:00
nelsonb%netscape.com
fddd184a59 A faster c implementation of SHA1 for most platforms. Bug 285932.
r=wtchang     Modified Files: prng_fips1861.c sha_fast.c sha_fast.h


git-svn-id: svn://10.0.0.236/trunk@177533 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 01:01:08 +00:00
wtchang%redhat.com
42773a09de Bugzilla Bug 303116: fixed an off-by-one error in the size of the NAF
buffer. We access this buffer using indices from 0 to orderBitSize.
r=douglas.stebila.


git-svn-id: svn://10.0.0.236/trunk@177513 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:35:07 +00:00
wtchang%redhat.com
c03590785f Bugzilla Bug 303116: fixed an off-by-one error when duplicating a string.
r=douglas.stebila.


git-svn-id: svn://10.0.0.236/trunk@177509 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 18:49:29 +00:00
wtchang%redhat.com
c4473d4415 Bugzilla Bug 303116: this file doesn't need to include <strings.h>, which
doesn't exist on Windows. r=relyea.
Bugzilla Bug 303130: fixed memory leak of mp_int in ECPoints_mul.
r=douglas.stebila.


git-svn-id: svn://10.0.0.236/trunk@177507 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 18:46:29 +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
nelsonb%netscape.com
dc2b778129 Address review comments. Add test after PORT_Assert. Bug 303334.
r=rrelyea,sr=wtchang
Modified Files: rijndael.c


git-svn-id: svn://10.0.0.236/trunk@177406 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 03:09:38 +00:00
nelsonb%netscape.com
23c78ce0ef Make changes from review feedback. Bug 303316. r=wtchang.
Modified Files: freebl/alghmac.h freebl/blapi.h freebl/ldvector.c
freebl/loader.c freebl/loader.h freebl/rawhash.c
freebl/tlsprfalg.c softoken/lowpbe.c softoken/pkcs11c.c


git-svn-id: svn://10.0.0.236/trunk@177405 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 02:54:54 +00:00
nelsonb%netscape.com
48e3abcec3 Add a new assembly language source file with multiplication code for
Sparc v8 (not V8plus) CPUs.  This works around a performance regression
by restoring the former code.  Bug 303338. r=wtchang.
Modified Files: Makefile
Added Files:    mpi/mpv_sparcv8x.s


git-svn-id: svn://10.0.0.236/trunk@177266 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 11:08:41 +00:00
nelsonb%netscape.com
0a30d49c9a Add a comment clarifying that this source file is for sparc v8plus CPUs.
Upgrade license to tri-license.  Fix a bunch of whitespace problems,
WAY too much indentation.  Related to bug 303338. r=wtchang.
Modified Files: mpi/mpv_sparcv8.s


git-svn-id: svn://10.0.0.236/trunk@177265 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 11:06:55 +00:00
nelsonb%netscape.com
d19af5aed7 Move the TLS Pseudo Random Function (PRF) and the HMAC algorithm from
softoken to freebl.  Bug 303316. r=wtchang (with suggested changes)
Modified Files:
	freebl/blapi.h freebl/ldvector.c freebl/loader.c
	freebl/loader.h freebl/manifest.mn softoken/lowpbe.c
	softoken/manifest.mn softoken/pkcs11c.c softoken/pkcs11i.h
	softoken/tlsprf.c
Added Files:
	freebl/alghmac.c freebl/alghmac.h freebl/rawhash.c
	freebl/tlsprfalg.c
Removed Files:
	softoken/alghmac.c softoken/alghmac.h softoken/rawhash.c


git-svn-id: svn://10.0.0.236/trunk@177263 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 09:27:28 +00:00
nelsonb%netscape.com
4a8a7a3d21 This is the last trunk version of this file. The file will be moved
to nss/lib/freebl.  This version is identical to the first version
of this file in nss/lib/freebl.  Bug 303316. r=wtchang.
Modified Files: alghmac.c alghmac.h rawhash.c


git-svn-id: svn://10.0.0.236/trunk@177262 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 09:24:13 +00:00
nelsonb%netscape.com
7e86019de4 Add new functions for blapi symmetric ciphers and digest functions,
so that all those functions can initialize a preallocated context.
Bug 303334. r=rrelyea.
Modified Files: aeskeywrap.c alg2268.c arcfour.c blapi.h blapit.h desblapi.c
ldvector.c loader.c loader.h md2.c md5.c rijndael.c rijndael.h sha512.c


git-svn-id: svn://10.0.0.236/trunk@177260 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 07:24:21 +00:00
nelsonb%netscape.com
4ad2d2b4a4 Faster SHA1 implementation. Further corrections expected. bug 285932.
r=wtchang     Modified Files: prng_fips1861.c sha_fast.c sha_fast.h


git-svn-id: svn://10.0.0.236/trunk@177259 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 07:10:34 +00:00
julien.pierre.bugs%sun.com
55b70277a1 Fix for bug 303494 . SEC_LookupCrls passes the address of a stack variable that goes out of scope. r=nelson,wtchang
git-svn-id: svn://10.0.0.236/trunk@177189 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 21:15:22 +00:00
wtchang%redhat.com
29744c20ed Removed noeccert.sh and noectools.sh from CVS. These two files are
automatically created by the fixtests.sh script by copying the non-ECC
(default) test scripts to these names. r=vipul.gupta.
Removed Files: cert/noeccert.sh tools/noectools.sh


git-svn-id: svn://10.0.0.236/trunk@177103 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-04 16:27:07 +00:00
nelsonb%netscape.com
520cc33a7a NSC_CopyObject can now copy token keys to session keys. Bug 289530.
r=rrelyea. Modified Files: pkcs11.c pkcs11u.c


git-svn-id: svn://10.0.0.236/trunk@177049 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 02:26:55 +00:00
nelsonb%netscape.com
319ebe9c7c Implement PK11_CopyTokenPrivKeyToSessionPrivKey, function to copy token
RSA private key to a session key, to eliminate DB lookups and 3DES
unwrapping for every use.  Bug 274538.  r=rrelyea.
Modified Files: nss/nss.def pk11wrap/pk11akey.c pk11wrap/pk11pub.h


git-svn-id: svn://10.0.0.236/trunk@177048 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 01:57:40 +00:00
nelsonb%netscape.com
32e6b5af26 Eliminate numerous potential causes of sending invalid (zero) session
handles down to a PKCS11 module.  Bug 292049. r=relyea.
Modified Files: pk11akey.c pk11auth.c pk11obj.c pk11skey.c pk11slot.c
 	pk11util.c


git-svn-id: svn://10.0.0.236/trunk@177047 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 01:22:07 +00:00
nelsonb%netscape.com
742a00fca1 remove NSS_CLASSIC code from pk11cert.c and pk11nobj.c.
bug 293847  r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@176949 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 01:34:38 +00:00
wtchang%redhat.com
5bfcfae787 Bugzilla Bug 298957: PK11_TokenKeyGenWithFlags will be released in NSS
3.10.2.


git-svn-id: svn://10.0.0.236/trunk@176945 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 01:04:55 +00:00
wtchang%redhat.com
b66657989d Bugzilla Bug 298957: improved the comment for PK11_TokenKeyGenWithFlags.
r=relyea.


git-svn-id: svn://10.0.0.236/trunk@176944 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 01:03:08 +00:00
wtchang%redhat.com
0d646a7f1d Bugzilla Bug 302663: SECKEY_CopySubjectPublicKeyInfo needs to copy the
subjectPublicKeyInfo as a bit string. r=nelsonb,jpierre.  Thanks to
Mikhail Teterin <mi+mozilla@aldan.algebra.com> for the bug report and
Purify output.


git-svn-id: svn://10.0.0.236/trunk@176942 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 00:34:00 +00:00
wtchang%redhat.com
aab242ff15 Bugzilla Bug 302262: Check for SECITEM_AllocItem failure in
MPINT_TO_SECITEM. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@176940 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 22:43:54 +00:00
wtchang%redhat.com
013d0a0b6d Added a comment that answers the question "why isn't there a pairwise
consistency test for Diffie-Hellman or ECDH key pairs?"


git-svn-id: svn://10.0.0.236/trunk@176939 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 21:04:41 +00:00
relyea%netscape.com
a32dc534bb Bugzilla Bug 298906 really check in the patch to the tip, not a test branch
crash when accepting new certificate permanently on taschenonkel.de
r=wtc, r=nelson


git-svn-id: svn://10.0.0.236/trunk@176937 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 20:41:30 +00:00
wtchang%redhat.com
db99ce3bd7 Bugzilla Bug 302262: dsa.c should use the macros defined in secmpi.h.
r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@176936 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 18:51:06 +00:00
relyea%netscape.com
0857f8110d I have to many patches in one tree! Stay at 1.103 until this patch has a bug and
reviews!


git-svn-id: svn://10.0.0.236/trunk@176935 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 18:32:45 +00:00
relyea%netscape.com
4b2e3104a4 These changes were part of a different patch, reviews are not yet complete.
Backing out to previous versions.


git-svn-id: svn://10.0.0.236/trunk@176934 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 18:31:12 +00:00
relyea%netscape.com
5edb883ec2 ARG -- reverted to the wrong version. The correct version was 1.103, not 1.102
git-svn-id: svn://10.0.0.236/trunk@176933 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 18:27:30 +00:00
relyea%netscape.com
64cf5f3db1 Backing out previous checkin. This was a separate unreviewed patch.
git-svn-id: svn://10.0.0.236/trunk@176932 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 18:26:12 +00:00
relyea%netscape.com
d2aa2698b3 Bug 298906 crash when accepting new certificate permanently on taschenonkel.de
r=wtc, sr=nelson


git-svn-id: svn://10.0.0.236/trunk@176931 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-01 18:23:56 +00:00
wtchang%redhat.com
4bf2d16953 Bugzilla Bug 302219: added CKM_RSA_X9_31_KEY_PAIR_GEN support. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@176858 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 23:43:40 +00:00
wtchang%redhat.com
168b17e81e Bugzilla Bug 302219: added CKM_RSA_X9_31_KEY_PAIR_GEN support to
PK11_GenerateKeyPair. r=relyea.


git-svn-id: svn://10.0.0.236/trunk@176857 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 23:23:35 +00:00