Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Issue 10961060: Update NSS to NSS 3.14 Beta 1. (Closed)

Created:
8 years, 3 months ago by wtc
Modified:
8 years, 2 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews
Visibility:
Public.

Description

Update NSS to NSS 3.14 pre-release snapshot 2012-09-25. R=rsleevi@chromium.org BUG=151692 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=158748

Patch Set 1 #

Patch Set 2 : Merge nss-static2.patch into nss-static.patch #

Total comments: 11

Patch Set 3 : Update to the NSS CVS HEAD on 2012-09-25 #

Patch Set 4 : Add the NSS snapshot timestamp to README.chromium and nss-checkout.sh #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5462 lines, -4807 lines) Patch
M README.chromium View 1 2 3 3 chunks +4 lines, -16 lines 0 comments Download
M mozilla/security/nss/lib/base/arena.c View 4 chunks +92 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/base/nssbase.h View 2 chunks +132 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/certdb/cert.h View 2 chunks +2 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/certdb/secname.c View 2 chunks +2 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/certhigh/ocsp.h View 1 2 6 chunks +8 lines, -8 lines 0 comments Download
M mozilla/security/nss/lib/certhigh/ocsp.c View 1 2 9 chunks +9 lines, -9 lines 0 comments Download
M mozilla/security/nss/lib/ckfw/builtins/certdata.c View 61 chunks +974 lines, -92 lines 0 comments Download
M mozilla/security/nss/lib/ckfw/builtins/nssckbi.h View 1 chunk +2 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/cryptohi/cryptohi.h View 2 chunks +3 lines, -3 lines 0 comments Download
M mozilla/security/nss/lib/cryptohi/dsautil.c View 4 chunks +8 lines, -8 lines 0 comments Download
M mozilla/security/nss/lib/cryptohi/keythi.h View 1 chunk +1 line, -0 lines 0 comments Download
A + mozilla/security/nss/lib/cryptohi/sechash.h View 2 chunks +5 lines, -4 lines 0 comments Download
M mozilla/security/nss/lib/cryptohi/sechash.c View 1 chunk +1 line, -1 line 0 comments Download
M mozilla/security/nss/lib/cryptohi/seckey.c View 4 chunks +14 lines, -3 lines 0 comments Download
M mozilla/security/nss/lib/cryptohi/secsign.c View 2 chunks +16 lines, -1 line 0 comments Download
M mozilla/security/nss/lib/cryptohi/secvfy.c View 3 chunks +5 lines, -1 line 0 comments Download
M mozilla/security/nss/lib/freebl/blapi.h View 4 chunks +36 lines, -14 lines 0 comments Download
M mozilla/security/nss/lib/freebl/blapit.h View 3 chunks +51 lines, -8 lines 0 comments Download
M mozilla/security/nss/lib/freebl/dh.c View 2 chunks +22 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/freebl/drbg.c View 17 chunks +234 lines, -13 lines 0 comments Download
M mozilla/security/nss/lib/freebl/dsa.c View 14 chunks +79 lines, -27 lines 0 comments Download
D mozilla/security/nss/lib/freebl/hasht.h View 1 chunk +0 lines, -72 lines 0 comments Download
M mozilla/security/nss/lib/freebl/md5.c View 2 chunks +2 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/freebl/mpi/mpi_x86_asm.c View 1 chunk +1 line, -1 line 0 comments Download
A mozilla/security/nss/lib/freebl/pqg.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/freebl/pqg.c View 1 2 19 chunks +1288 lines, -203 lines 0 comments Download
M mozilla/security/nss/lib/freebl/rawhash.c View 1 chunk +1 line, -1 line 0 comments Download
D mozilla/security/nss/lib/freebl/sechash.h View 1 chunk +0 lines, -58 lines 0 comments Download
M mozilla/security/nss/lib/freebl/sha512.c View 6 chunks +8 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/freebl/sha_fast.c View 1 chunk +1 line, -0 lines 0 comments Download
M mozilla/security/nss/lib/freebl/shvfy.c View 1 8 chunks +18 lines, -8 lines 0 comments Download
M mozilla/security/nss/lib/freebl/tlsprfalg.c View 1 chunk +3 lines, -3 lines 0 comments Download
M mozilla/security/nss/lib/libpkix/include/pkixt.h View 1 chunk +1 line, -0 lines 0 comments Download
M mozilla/security/nss/lib/libpkix/pkix/top/pkix_build.c View 2 chunks +5 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_cert.c View 1 chunk +4 lines, -4 lines 0 comments Download
M mozilla/security/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_date.c View 1 chunk +1 line, -2 lines 0 comments Download
M mozilla/security/nss/lib/nss/nss.h View 2 chunks +5 lines, -6 lines 0 comments Download
M mozilla/security/nss/lib/nss/nssinit.c View 4 chunks +14 lines, -13 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11auth.c View 7 chunks +9 lines, -6 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11cert.c View 3 chunks +17 lines, -6 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11load.c View 1 chunk +1 line, -0 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11obj.c View 7 chunks +54 lines, -18 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11pars.c View 23 chunks +57 lines, -136 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11pqg.h View 2 chunks +33 lines, -14 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11pqg.c View 6 chunks +84 lines, -10 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11priv.h View 1 chunk +2 lines, -1 line 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11pub.h View 1 chunk +7 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11skey.c View 9 chunks +359 lines, -11 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11slot.c View 5 chunks +82 lines, -6 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11util.c View 5 chunks +17 lines, -3 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/secmodi.h View 1 chunk +0 lines, -2 lines 0 comments Download
A + mozilla/security/nss/lib/pk11wrap/secmodt.h View 3 chunks +2 lines, -29 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/secmodti.h View 1 chunk +0 lines, -1 line 0 comments Download
M mozilla/security/nss/lib/pki/pki3hack.c View 3 chunks +47 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/pki/pkibase.c View 4 chunks +37 lines, -15 lines 0 comments Download
M mozilla/security/nss/lib/pki/pkitm.h View 1 chunk +3 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/smime/smime.h View 1 chunk +1 line, -2 lines 0 comments Download
M mozilla/security/nss/lib/softoken/fipstest.c View 2 chunks +5 lines, -69 lines 0 comments Download
D mozilla/security/nss/lib/softoken/pk11init.h View 1 chunk +0 lines, -23 lines 0 comments Download
D mozilla/security/nss/lib/softoken/pk11pars.h View 1 chunk +0 lines, -841 lines 0 comments Download
M mozilla/security/nss/lib/softoken/pkcs11.c View 1 2 15 chunks +163 lines, -65 lines 0 comments Download
M mozilla/security/nss/lib/softoken/pkcs11c.c View 19 chunks +251 lines, -52 lines 0 comments Download
M mozilla/security/nss/lib/softoken/pkcs11i.h View 4 chunks +9 lines, -6 lines 0 comments Download
M mozilla/security/nss/lib/softoken/rsawrapr.c View 1 chunk +1 line, -2 lines 0 comments Download
M mozilla/security/nss/lib/softoken/sdb.h View 1 chunk +1 line, -1 line 0 comments Download
M mozilla/security/nss/lib/softoken/sdb.c View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D mozilla/security/nss/lib/softoken/secmodt.h View 1 chunk +0 lines, -475 lines 0 comments Download
M mozilla/security/nss/lib/softoken/sftkdb.h View 1 chunk +0 lines, -15 lines 0 comments Download
M mozilla/security/nss/lib/softoken/sftkdb.c View 3 chunks +7 lines, -8 lines 0 comments Download
M mozilla/security/nss/lib/softoken/sftkdbt.h View 1 chunk +0 lines, -7 lines 0 comments Download
D mozilla/security/nss/lib/softoken/sftkmod.c View 1 chunk +0 lines, -731 lines 0 comments Download
M mozilla/security/nss/lib/softoken/sftkpars.c View 7 chunks +62 lines, -438 lines 0 comments Download
M mozilla/security/nss/lib/softoken/sftkpwd.c View 1 chunk +1 line, -3 lines 0 comments Download
M mozilla/security/nss/lib/softoken/softkver.h View 1 chunk +4 lines, -4 lines 0 comments Download
M mozilla/security/nss/lib/ssl/sslerr.h View 2 chunks +9 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/util/dersubr.c View 3 chunks +13 lines, -1 line 0 comments Download
A + mozilla/security/nss/lib/util/hasht.h View 2 chunks +1 line, -12 lines 0 comments Download
M mozilla/security/nss/lib/util/nssutil.h View 1 chunk +4 lines, -4 lines 0 comments Download
M mozilla/security/nss/lib/util/pkcs11t.h View 1 chunk +4 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/util/secerr.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/util/secoid.c View 6 chunks +13 lines, -5 lines 0 comments Download
M mozilla/security/nss/lib/util/secoidt.h View 1 chunk +3 lines, -0 lines 0 comments Download
A + mozilla/security/nss/lib/util/utilmod.c View 1 2 28 chunks +122 lines, -164 lines 0 comments Download
A + mozilla/security/nss/lib/util/utilmodt.h View 1 2 2 chunks +8 lines, -441 lines 0 comments Download
A mozilla/security/nss/lib/util/utilpars.h View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
A + mozilla/security/nss/lib/util/utilpars.c View 1 2 21 chunks +682 lines, -414 lines 0 comments Download
A mozilla/security/nss/lib/util/utilparst.h View 1 chunk +76 lines, -0 lines 0 comments Download
M nss.gyp View 8 chunks +9 lines, -6 lines 0 comments Download
D patches/nss-der-encode-time-choice.patch View 1 chunk +0 lines, -35 lines 0 comments Download
D patches/nss-libpkix-leak.patch View 1 chunk +0 lines, -35 lines 0 comments Download
M patches/nss-static.patch View 1 24 chunks +64 lines, -62 lines 0 comments Download
D patches/nss-static2.patch View 1 1 chunk +0 lines, -14 lines 0 comments Download
D patches/nss-warnings.patch View 1 chunk +0 lines, -16 lines 0 comments Download
M scripts/nss-checkout.sh View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
wtc
rsleevi: please review. The NSS_3_14_BETA1 tag hasn't been created yet, which is why the nss-checkout.sh ...
8 years, 3 months ago (2012-09-22 15:38:47 UTC) #1
Ryan Sleevi
One thing I don't see here is updating the .def file, which I assume will ...
8 years, 2 months ago (2012-09-25 21:56:55 UTC) #2
Ryan Sleevi
lgtm
8 years, 2 months ago (2012-09-25 21:56:59 UTC) #3
wtc
8 years, 2 months ago (2012-09-26 00:21:09 UTC) #4
rsleevi: thank you for the review. I will create upstream
NSS patches to make all the changes you suggested.

http://codereview.chromium.org/10961060/diff/14006/mozilla/security/nss/lib/f...
File mozilla/security/nss/lib/freebl/pqg.c (right):

http://codereview.chromium.org/10961060/diff/14006/mozilla/security/nss/lib/f...
mozilla/security/nss/lib/freebl/pqg.c:37: * iterations of Miller-Rabin than the
for your normal randomly selected

This sentence also has typos. I don't know how to fix them.
Do you? I suspect Bob meant to say:
  It may be possible to purposefully construct composites with more
  iterations of Miller-Rabin than for your normal randomly selected
  numbers.

But I don't understand what this means.

http://codereview.chromium.org/10961060/diff/14006/mozilla/security/nss/lib/f...
mozilla/security/nss/lib/freebl/pqg.c:41: * or 3) use a larger M-R test count. I
chose the latter. It increases the time

On 2012/09/25 21:56:55, Ryan Sleevi wrote:
> nit: "latter" in lists with > 2 items = weird way to say it.

Should I change this to "the last"?

http://codereview.chromium.org/10961060/diff/14006/mozilla/security/nss/lib/p...
File mozilla/security/nss/lib/pk11wrap/pk11obj.c (right):

http://codereview.chromium.org/10961060/diff/14006/mozilla/security/nss/lib/p...
mozilla/security/nss/lib/pk11wrap/pk11obj.c:544: }

On 2012/09/25 21:56:55, Ryan Sleevi wrote:
> The lack of commenting here is unfortunate. It required me consulting the spec
> to see that CKA_SUBPRIME is a Big Integer type, hence the stripping of the
> leading zero.

That was the intention. But I found that the Big Integer
type in PKCS #11 is an unsigned integer, so it does not
need an extra leading byte if the most significant bit is
1. (The ASN.1 INTEGER type is a signed integer.)

So I believe this code is not necessary, unless some
tokens are known to store Big Integers with leading zero
bytes incorrectly.

> The *2 I presume is because the signature format is concatenation
> of r and s.

Yes.

http://codereview.chromium.org/10961060/diff/14006/mozilla/security/nss/lib/u...
File mozilla/security/nss/lib/util/utilpars.h (right):

http://codereview.chromium.org/10961060/diff/14006/mozilla/security/nss/lib/u...
mozilla/security/nss/lib/util/utilpars.h:4: #include "utilparst.h"

I fixed both of these problems yesterday :-)

Powered by Google App Engine
This is Rietveld 408576698