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

Issue 12335045: Relanding Porting of HKDF changes from server. (Closed)

Created:
7 years, 10 months ago by ramant (doing other things)
Modified:
7 years, 10 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, agl
Visibility:
Public.

Description

Relanding Porting of HKDF changes from server. Added a2b_hex function to move common code in hkdf_unittest.cc and to make it similar to CL - 40300624. Merge internal CL: 40300624 Original approved CL: https://chromiumcodereview.appspot.com/12326029/ R=agl@chromium.org, rsleevi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184306

Patch Set 1 #

Patch Set 2 : uploading reverted hkdf patch #

Total comments: 2

Patch Set 3 : Moved common code to a function. Created vector only if slat/info are not empty. #

Patch Set 4 : Restored the approved code and accessed vector only when data is not empty #

Total comments: 4

Patch Set 5 : Minor style/comment fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -0 lines) Patch
M crypto/crypto.gyp View 1 2 chunks +3 lines, -0 lines 0 comments Download
A crypto/hkdf.h View 1 1 chunk +64 lines, -0 lines 0 comments Download
A crypto/hkdf.cc View 1 2 3 4 1 chunk +92 lines, -0 lines 0 comments Download
A crypto/hkdf_unittest.cc View 1 2 3 4 1 chunk +94 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ramant (doing other things)
Hi Ryan, HKDF CL was committed via CQ earlier but was reverted because it failed ...
7 years, 10 months ago (2013-02-22 23:42:33 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/12335045/diff/10002/crypto/hkdf_unittest.cc File crypto/hkdf_unittest.cc (right): https://codereview.chromium.org/12335045/diff/10002/crypto/hkdf_unittest.cc#newcode68 crypto/hkdf_unittest.cc:68: const std::string salt(reinterpret_cast<char *>(&data[0]), data.size()); std::string salt(test.salt_hex); if (!salt_hex.empty()) ...
7 years, 10 months ago (2013-02-23 00:19:19 UTC) #2
ramant (doing other things)
PTAL. https://codereview.chromium.org/12335045/diff/10002/crypto/hkdf_unittest.cc File crypto/hkdf_unittest.cc (right): https://codereview.chromium.org/12335045/diff/10002/crypto/hkdf_unittest.cc#newcode68 crypto/hkdf_unittest.cc:68: const std::string salt(reinterpret_cast<char *>(&data[0]), data.size()); On 2013/02/23 00:19:19, ...
7 years, 10 months ago (2013-02-23 00:37:33 UTC) #3
Ryan Sleevi
lgtm https://codereview.chromium.org/12335045/diff/11009/crypto/hkdf_unittest.cc File crypto/hkdf_unittest.cc (right): https://codereview.chromium.org/12335045/diff/11009/crypto/hkdf_unittest.cc#newcode61 crypto/hkdf_unittest.cc:61: const std::string key(reinterpret_cast<char *>(&data[0]), data.size()); style: reinterpret_cast<char *> ...
7 years, 10 months ago (2013-02-23 00:44:06 UTC) #4
ramant (doing other things)
Done. thanks Ryan. https://codereview.chromium.org/12335045/diff/11009/crypto/hkdf_unittest.cc File crypto/hkdf_unittest.cc (right): https://codereview.chromium.org/12335045/diff/11009/crypto/hkdf_unittest.cc#newcode61 crypto/hkdf_unittest.cc:61: const std::string key(reinterpret_cast<char *>(&data[0]), data.size()); On ...
7 years, 10 months ago (2013-02-23 00:50:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/12335045/6008
7 years, 10 months ago (2013-02-23 00:52:41 UTC) #6
commit-bot: I haz the power
7 years, 10 months ago (2013-02-23 06:47:23 UTC) #7
Message was sent while issue was closed.
Change committed as 184306

Powered by Google App Engine
This is Rietveld 408576698