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

Issue 1697010: Make the Nigori user salt key 80-bits to be FIPS compliant. (Closed)

Created:
10 years, 8 months ago by albertb
Modified:
9 years, 3 months ago
Reviewers:
wtc
CC:
chromium-reviews, ncarter (slow), idana, John Grabowski, ben+cc_chromium.org, pam+watch_chromium.org, brettw-cc_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

Make the Nigori user salt key 128-bits to be FIPS compliant. BUG=none TEST=NigoriTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45816

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added comment about FIPS compliance #

Patch Set 3 : Up the user salt key size to 16-bytes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M base/crypto/symmetric_key_mac.cc View 1 1 chunk +4 lines, -1 line 1 comment Download
M chrome/browser/sync/util/nigori.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
albertb
Ben has updated the Nigori spec to require 80-bits for the user salt key, so ...
10 years, 8 months ago (2010-04-26 17:37:21 UTC) #1
wtc
LGTM. http://codereview.chromium.org/1697010/diff/1/2 File base/crypto/symmetric_key_mac.cc (right): http://codereview.chromium.org/1697010/diff/1/2#newcode27 base/crypto/symmetric_key_mac.cc:27: CHECK(key_size_in_bits >= 80 && (key_size_in_bits % 8) == ...
10 years, 8 months ago (2010-04-26 18:19:10 UTC) #2
albertb
http://codereview.chromium.org/1697010/diff/1/3 File chrome/browser/sync/util/nigori.h (right): http://codereview.chromium.org/1697010/diff/1/3#newcode53 chrome/browser/sync/util/nigori.h:53: static const size_t kSaltKeySizeInBits = 80; On 2010/04/26 18:19:11, ...
10 years, 8 months ago (2010-04-27 18:29:15 UTC) #3
wtc
10 years, 8 months ago (2010-04-27 18:38:06 UTC) #4
LGTM.

http://codereview.chromium.org/1697010/diff/7001/8001
File base/crypto/symmetric_key_mac.cc (right):

http://codereview.chromium.org/1697010/diff/7001/8001#newcode26
base/crypto/symmetric_key_mac.cc:26: // FIPS 198 Section 3 requires the a SHA-1
derived key to be at least
Nit: SHA-1 derived key => HMAC-SHA-1 key

Powered by Google App Engine
This is Rietveld 408576698