wtc%google.com
f7f5728a6a
Bug 838769 (second attempt): Disable the ECC cipher suites if we cannot
...
send extensions, even if we support all the currently specified curves
(NSS_ECC_MORE_THAN_SUITE_B is set). r=agl,rrelyea.
Modified Files:
ssl3con.c sslcon.c
git-svn-id: svn://10.0.0.236/trunk@264767 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-19 16:16:22 +00:00
wtc%google.com
e4d4cb3f24
Bug 838769: back out the previous checkin. tests/memleak/memleak.sh runs
...
strsclnt with SSL2 enabled, so I need to fix that first.
Modified Files:
ssl3con.c sslcon.c
git-svn-id: svn://10.0.0.236/trunk@264747 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-16 15:09:14 +00:00
wtc%google.com
a02af31053
Bug 838769: Disable the ECC cipher suites if we cannot send extensions,
...
even if we support all the currently specified curves
(NSS_ECC_MORE_THAN_SUITE_B is set). r=agl,rrelyea.
Modified Files:
ssl3con.c sslcon.c
git-svn-id: svn://10.0.0.236/trunk@264744 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 20:27:53 +00:00
wtc%google.com
90f4680a9f
Bug 834795: Fix Visual C++ compiler warnings about unary minus operator
...
applied to unsigned type, by changing -r8_d to 0-r8_d. r=agl,rrelyea.
git-svn-id: svn://10.0.0.236/trunk@264742 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 19:18:45 +00:00
wtc%google.com
b909a112ed
Bug 835091: Don't need to include <stdlib.h>. Declare internal functions as
...
static. Remove a block of commented out code. r=ryan.sleevi.
git-svn-id: svn://10.0.0.236/trunk@264741 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 19:15:04 +00:00
wtc%google.com
b9d53cbdb1
Bug 341127: Fix the invalid read and write in rc4_wordconv. Use
...
rc4_wordconv for x86 on all operating systems. r=ryan.sleevi.
git-svn-id: svn://10.0.0.236/trunk@264740 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 19:10:20 +00:00
wtc%google.com
3c415ffb6e
Bug 840393: Improve error reporting. Fix a Visual C++ compiler warning on
...
signed/unsigned comparison in RC4_InitContext. r=ryan.sleevi.
git-svn-id: svn://10.0.0.236/trunk@264739 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 19:07:15 +00:00
wtc%google.com
fbd507eeb7
Bug 841664: Drop (32-bit) SPARC V8 processor support on Solaris. r=kaie.
...
Modified Files:
coreconf/SunOS5.mk nss/lib/freebl/Makefile
nss/lib/freebl/loader.c
Removed Files:
nss/lib/freebl/mpi/mpv_sparcv8x.s
git-svn-id: svn://10.0.0.236/trunk@264738 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 18:48:42 +00:00
kaie%kuix.de
6fe835fb35
Bug 811331 / Bug 360420, OCSP Stapling, TLS server side implementation; add ability to produce invalid OCSP responses for testing purposes, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@264736 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 17:56:19 +00:00
kaie%kuix.de
7d2a505113
Bug 360420, OCSP Stapling, allow multiple status items, in an attempt to be prepared for future multi-stapling implementation. Introducing SECItemArray. r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@264735 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 17:55:42 +00:00
kaie%kuix.de
a555bc1567
Overlapping fixes for Bug 554369 and Bug 360420. OCSP caching fixes by Adam Langley, r=kaie; Cache injection of OCSP stapling data inside default auth code, by me, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@264733 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 17:53:24 +00:00
kaie%kuix.de
96ed6ee6a5
Bug 360420, OCSP Stapling, TLS client side implementation, based on work by Adam Langley, with tweaks from me and bsmith. r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@264732 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 17:52:45 +00:00
kaie%kuix.de
617b1e3ada
set version to 3.14.4 Beta
...
git-svn-id: svn://10.0.0.236/trunk@264731 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-15 17:41:55 +00:00
wtc%google.com
9db9c86c00
Bug 822365: Document the <Hash>_EndRaw functions. Fix a typo in the comment
...
for SHA1_EndRaw (16 -> 20). r=agl.
git-svn-id: svn://10.0.0.236/trunk@264722 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-14 21:20:46 +00:00
kaie%kuix.de
eb41fcd030
prepare version numbers for 3.14.3 RTM
...
git-svn-id: svn://10.0.0.236/trunk@264721 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-14 19:16:14 +00:00
wtc%google.com
a8242cf63e
Bug 822365: Document the constant-time MAC mechanisms. The patch is
...
contributed by Adam Langley <agl@chromium.org >. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@264718 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-12 22:33:53 +00:00
wtc%google.com
85bfa8f006
Bug 822365: change the include guard macro to match the file name.
...
git-svn-id: svn://10.0.0.236/trunk@264715 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-11 03:41:00 +00:00
wtc%google.com
8a751853e5
Bug 822365: Rename the hashAlg field of CK_NSS_MAC_CONSTANT_TIME_PARAMS to
...
macAlg because it is a PKCS #11 MAC mechanism. r=rrelyea.
Modified Files:
lib/softoken/sftkhmac.c lib/ssl/ssl3con.c lib/util/pkcs11n.h
git-svn-id: svn://10.0.0.236/trunk@264704 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-07 01:29:19 +00:00
wtc%google.com
513b1dbdff
Bug 822365: Remove a redundant null pointer check in the
...
CKM_NSS_HMAC_CONSTANT_TIME case in NSC_SignInit. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@264703 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-07 01:13:13 +00:00
wtc%google.com
746d3ccf9a
Bug 822365: Fix a typo ("my" -> "may"). r=rrelyea.
...
git-svn-id: svn://10.0.0.236/trunk@264702 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-07 01:11:00 +00:00
wtc%google.com
ab90f378a9
Bug 822365: PKCS #11 naming convention and NSS coding style fixes for the
...
constant-time CBC decoding code. r=rrelyea.
Modified Files:
lib/freebl/hmacct.c lib/freebl/loader.c lib/freebl/md5.c
lib/softoken/pkcs11.c lib/softoken/pkcs11c.c
lib/softoken/sftkhmac.c lib/ssl/ssl3con.c lib/util/pkcs11n.h
git-svn-id: svn://10.0.0.236/trunk@264701 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 22:20:23 +00:00
kaie%kuix.de
3d844d348b
Bug 822365, Fix ppc64 endianness bug, patch by wtc, r=kaie
...
git-svn-id: svn://10.0.0.236/trunk@264700 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 21:50:06 +00:00
kaie%kuix.de
ccbdbba908
Bug 822365, Fix compilation error on OSX PowerPC 32bit, TBR=wtc
...
git-svn-id: svn://10.0.0.236/trunk@264699 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 11:38:05 +00:00
wtc%google.com
cbba4dc22e
Bug 822365: do not shift an unsigned int for more than 32 bits. TBR=agl
...
git-svn-id: svn://10.0.0.236/trunk@264698 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 04:00:05 +00:00
wtc%google.com
3b12df05a6
Bug 822365: the version for PK11_SignWithSymKey should be NSS_3.14.3.
...
git-svn-id: svn://10.0.0.236/trunk@264697 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 02:05:10 +00:00
wtc%google.com
8d05987658
Bug 822365: Fix the constant-time versions of HMAC-MD5 and SSLv3 MD5 MAC.
...
Remove the workaround from ssl3_ComputeRecordMACConstantTime. The patch is
contributed by Adam Langley <agl@chromium.org >. r=rrelyea,wtc.
Modified Files:
lib/freebl/hmacct.c lib/softoken/sftkhmac.c lib/ssl/ssl3con.c
git-svn-id: svn://10.0.0.236/trunk@264696 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 02:02:38 +00:00
wtc%google.com
7eff1e6fbf
Bug 822365: SHA512_EndRaw and SHA256_EndRaw need a local variable named t1
...
for the BYTESWAP4 and BYTESWAP8 macros in certain build configurations.
TBR=kaie.
git-svn-id: svn://10.0.0.236/trunk@264695 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-06 00:41:13 +00:00
wtc%google.com
7aa47e4fd0
Bug 822365: the SHA_HTONL macro (used by the SHA_STORE_RESULT macro) needs
...
a local variable named 'tmp' in some build configurations. Undefine 'tmp'
as 'lenB' at the end of SHA1_End. r=kaie.
git-svn-id: svn://10.0.0.236/trunk@264694 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-05 23:46:39 +00:00
wtc%google.com
3e09cf75c5
Bug 822365: declare variables at the beginning of a block to fix MSVC
...
compilation errors. r=kaie.
git-svn-id: svn://10.0.0.236/trunk@264693 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-05 23:44:03 +00:00
wtc%google.com
f7ff05a366
Bug 822365: Make CBC decoding constant time. This patch makes the decoding
...
of SSLv3 and TLS CBC records constant time. Without this, a timing side
channel can be used to build a padding oracle and mount Vaudenay's attack.
The patch is contributed by Adam Langley <agl@chromium.org >.
r=rrelyea,ryan.sleevi.
Modified Files:
lib/freebl/blapi.h lib/freebl/ldvector.c lib/freebl/loader.c
lib/freebl/loader.h lib/freebl/manifest.mn lib/freebl/md5.c
lib/freebl/rawhash.c lib/freebl/sha512.c lib/freebl/sha_fast.c
lib/freebl/sha_fast.h lib/nss/nss.def lib/pk11wrap/pk11obj.c
lib/pk11wrap/pk11pub.h lib/softoken/manifest.mn
lib/softoken/pkcs11.c lib/softoken/pkcs11c.c
lib/softoken/pkcs11i.h lib/ssl/ssl3con.c lib/util/hasht.h
lib/util/pkcs11n.h
Added Files:
lib/freebl/hmacct.c lib/freebl/hmacct.h
lib/softoken/sftkhmac.c
git-svn-id: svn://10.0.0.236/trunk@264692 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-05 18:10:46 +00:00
ryan.sleevi%gmail.com
15e5148cca
Bug 158747: Add support for RSA-OAEP to softoken, but do not enable it yet,
...
pending unit tests. r=wtc
git-svn-id: svn://10.0.0.236/trunk@264691 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-05 02:19:52 +00:00
kaie%kuix.de
a9707a9b4e
Bug 837799 - Allow building of NSS against older sqlite, r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@264690 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-04 19:58:20 +00:00
wtc%google.com
e4f6637724
Bug 836562: Use Horner's rule to calculate the elliptic curve polynomial in
...
ec_GFp_validate_point. r=agl.
git-svn-id: svn://10.0.0.236/trunk@264686 18797224-902f-48f8-a5cc-f745e15eee43
2013-02-01 03:42:09 +00:00
kaie%kuix.de
60c48788b9
Setting version to 3.14.3 Beta
...
git-svn-id: svn://10.0.0.236/trunk@264685 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 22:59:44 +00:00
kaie%kuix.de
80e6de1147
Set version to NSS 3.14.2 RTM
...
git-svn-id: svn://10.0.0.236/trunk@264683 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 22:47:09 +00:00
rrelyea%redhat.com
1d55f394aa
Update/Add license headers.
...
git-svn-id: svn://10.0.0.236/trunk@264682 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 19:30:42 +00:00
wtc%google.com
51ffd7cde5
Bug 835293: on Linux x86_64, don't use the assembler flag -march=opteron
...
because some of the instructions in intel-gcm.s (such as vmovdqu, vpshufb,
vpclmulqdq, vpxor) are not supported on opteron. r=kaie.
git-svn-id: svn://10.0.0.236/trunk@264680 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-31 01:08:59 +00:00
wtc%google.com
b708cc55e6
Bug 805604: use target-specific variable values to add an extra compiler or
...
assembler flag to just one source file. r=kaie.
git-svn-id: svn://10.0.0.236/trunk@264676 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-30 19:52:20 +00:00
wtc%google.com
5a717b19ac
Bug 805604 and bug 835050: don't use Clang's integrated assembler because
...
it cannot handle how intel-gcm.s uses the .set directive to refer to
registers by symbolic names. r=kaie.
git-svn-id: svn://10.0.0.236/trunk@264667 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-27 00:34:35 +00:00
rrelyea%redhat.com
e6f7d59d5b
Bug 373108 Fix a double free on the error patch.
...
r=rsleevi
git-svn-id: svn://10.0.0.236/trunk@264665 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-25 18:02:53 +00:00
kaie%kuix.de
2e01b46a61
Bug 833857, fix ocspclnt crash regression, r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@264663 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-23 23:05:51 +00:00
wtc%google.com
b06eb42f7f
Bug 833857: Revert the change to ocspResponse_other in rev. 1.9 because
...
some code in ocspclnt.c (the responseStatusNames array and an assertion)
depends on the value of ocspResponse_other. r=kaie.
git-svn-id: svn://10.0.0.236/trunk@264662 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-23 22:08:32 +00:00
wtc%google.com
af90f62911
Bug 629816: Changes to CERT_DecodeCertPackage: remove the support for
...
"netscape wrapped DER cert" and check input length before reading. The
patch is written by Bob Relyea <rrelyea@redhat.com >. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@264660 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-23 00:53:18 +00:00
bsmith%mozilla.com
bd1f61704c
Bug 832005: Fix use of uninitialized variable when sending alert about missing certificate. Patch by mcmanus, r=bsmith
...
git-svn-id: svn://10.0.0.236/trunk@264655 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-18 19:31:42 +00:00
kaie%kuix.de
416c71e9dd
Bug 578561 - sdb_getTempDir returns NULL, use SQLITE_FCNTL_TEMPFILENAME, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@264649 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-16 18:13:25 +00:00
kaie%kuix.de
15910c28ad
Bug 818275 - Avoid unnecessary allocations in sdb_measureAccess, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@264648 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-16 18:11:27 +00:00
rrelyea%redhat.com
b46b3861a3
Bug 805604 - Efficient AES-GCM implementation that uses Intel's AES and PCLMULQDQ instructions (AES-NI) and the Advanced Vector Extension (AVX) architecture.
...
patch by Shay Gueron, review by rrelyea.
git-svn-id: svn://10.0.0.236/trunk@264646 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-15 02:36:11 +00:00
wtc%google.com
c76cb3fd06
Bug 820651: Fix comparisons of unsigned variable < 0. r=rrelyea.
...
Modified Files:
lib/freebl/arcfour.c lib/freebl/desblapi.c
lib/pk11wrap/pk11merge.c
git-svn-id: svn://10.0.0.236/trunk@264636 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-10 15:24:03 +00:00
kaie%kuix.de
3cb16903a0
Bug 772144 - Run the NSS test suite on ARM/Android, Patch by rrelyea/kaie, r=kaie/rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@264631 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-08 16:19:11 +00:00
ryan.sleevi%gmail.com
04bb52c2f6
Bug 813857: Make certificate trust flags thread safe.
...
r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@264626 18797224-902f-48f8-a5cc-f745e15eee43
2013-01-07 04:11:52 +00:00