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

Issue 423333002: Implement QUIC key extraction. (Closed)

Created:
6 years, 4 months ago by wtc
Modified:
6 years, 4 months ago
Reviewers:
dmz, agl
CC:
chromium-reviews, cbentzel+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Implement QUIC key extraction. Added a new subkey_secret output to crypto::HKDF which is saved by the forward-secure key derivation and used for a new ExportKeyingMaterial method on QuicCryptoStream. This will be used in Chromium for WebRTC on QUIC. Generated some tests by making a straightforward alternative implementation in Python. Written by Daniel Ziegler. Merge internal CL: 72073257 R=agl@chromium.org,dmziegler@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286738

Patch Set 1 #

Patch Set 2 : Fix build errors #

Patch Set 3 : Fix one std::string in quic_crypto_stream.h #

Total comments: 2

Patch Set 4 : Remove the space between char and * #

Total comments: 2

Patch Set 5 : Pass a size_t constant as a size_t argument. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -38 lines) Patch
M crypto/hkdf.h View 1 5 chunks +13 lines, -6 lines 1 comment Download
M crypto/hkdf.cc View 1 2 3 4 chunks +11 lines, -3 lines 0 comments Download
M crypto/hkdf_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/crypto/crypto_handshake.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/crypto/crypto_utils.h View 1 1 chunk +19 lines, -7 lines 0 comments Download
M net/quic/crypto/crypto_utils.cc View 1 3 chunks +54 lines, -14 lines 0 comments Download
M net/quic/crypto/crypto_utils_test.cc View 1 2 chunks +82 lines, -0 lines 0 comments Download
M net/quic/crypto/quic_crypto_client_config.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M net/quic/crypto/quic_crypto_server_config.cc View 4 chunks +8 lines, -4 lines 0 comments Download
M net/quic/quic_crypto_stream.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M net/quic/quic_crypto_stream.cc View 2 chunks +19 lines, -0 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.cc View 1 2 3 4 2 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
wtc
Please review. Patch set 1 is the original internal CL with merge conflicts resolved and ...
6 years, 4 months ago (2014-07-30 02:24:18 UTC) #1
agl
Diff from PS 1 LGTM. (The base code was previously reviewed and I didn't go ...
6 years, 4 months ago (2014-07-30 02:56:29 UTC) #2
dmz
LGTM https://codereview.chromium.org/423333002/diff/60001/net/quic/test_tools/crypto_test_utils.cc File net/quic/test_tools/crypto_test_utils.cc (right): https://codereview.chromium.org/423333002/diff/60001/net/quic/test_tools/crypto_test_utils.cc#newcode463 net/quic/test_tools/crypto_test_utils.cc:463: const int kSampleOutputLength = 32; Do you want ...
6 years, 4 months ago (2014-07-30 17:58:26 UTC) #3
wtc
The CQ bit was checked by wtc@chromium.org
6 years, 4 months ago (2014-07-30 18:05:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/423333002/80001
6 years, 4 months ago (2014-07-30 18:07:19 UTC) #5
wtc
https://codereview.chromium.org/423333002/diff/60001/net/quic/test_tools/crypto_test_utils.cc File net/quic/test_tools/crypto_test_utils.cc (right): https://codereview.chromium.org/423333002/diff/60001/net/quic/test_tools/crypto_test_utils.cc#newcode463 net/quic/test_tools/crypto_test_utils.cc:463: const int kSampleOutputLength = 32; On 2014/07/30 17:58:26, dmz ...
6 years, 4 months ago (2014-07-30 18:09:35 UTC) #6
wtc
https://codereview.chromium.org/423333002/diff/80001/crypto/hkdf.h File crypto/hkdf.h (right): https://codereview.chromium.org/423333002/diff/80001/crypto/hkdf.h#newcode40 crypto/hkdf.h:40: size_t subkey_secret_bytes_to_generate); Adam: while porting this change to Chromium, ...
6 years, 4 months ago (2014-07-30 18:16:52 UTC) #7
agl
On 2014/07/30 18:16:52, wtc wrote: > https://codereview.chromium.org/423333002/diff/80001/crypto/hkdf.h > File crypto/hkdf.h (right): > > https://codereview.chromium.org/423333002/diff/80001/crypto/hkdf.h#newcode40 > ...
6 years, 4 months ago (2014-07-30 18:22:09 UTC) #8
dmz
On 2014/07/30 18:22:09, agl wrote: > On 2014/07/30 18:16:52, wtc wrote: > > https://codereview.chromium.org/423333002/diff/80001/crypto/hkdf.h > ...
6 years, 4 months ago (2014-07-30 18:25:23 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-07-31 11:36:40 UTC) #10
Message was sent while issue was closed.
Change committed as 286738

Powered by Google App Engine
This is Rietveld 408576698