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

Issue 1943313003: Adds a function for encoding a Merkle tree leaf in TLS wire format. (Closed)

Created:
4 years, 7 months ago by Rob Percival
Modified:
4 years, 7 months ago
Reviewers:
eroman, Eran Messeri
CC:
chromium-reviews, certificate-transparency-chrome_googlegroups.com, cbentzel+watch_chromium.org, Eran Messeri
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds a function for encoding a Merkle tree leaf in TLS wire format. This will be useful for producing a leaf hash, as required for requesting audit proofs from Certificate Transparency logs. A leaf hash is a SHA-256 hash of a Merkle tree leaf encoded in TLS wire format. BUG=608868 Committed: https://crrev.com/1b1732191f54e031e740a6907dc5608c8d32ecfd Cr-Commit-Position: refs/heads/master@{#392636}

Patch Set 1 #

Patch Set 2 : Adds tests #

Total comments: 6

Patch Set 3 : Addresses review comments #

Patch Set 4 : Updates TODO about Version enums #

Total comments: 6

Patch Set 5 : Addresses review comments #

Total comments: 8

Patch Set 6 : Addresses eroman review comments #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -12 lines) Patch
M net/cert/ct_serialization.h View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
M net/cert/ct_serialization.cc View 1 2 3 4 5 6 5 chunks +27 lines, -7 lines 0 comments Download
M net/cert/ct_serialization_unittest.cc View 1 2 3 4 5 6 4 chunks +78 lines, -1 line 0 comments Download
M net/test/ct_test_util.h View 1 6 3 chunks +7 lines, -0 lines 0 comments Download
M net/test/ct_test_util.cc View 1 2 3 4 5 6 9 chunks +21 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (10 generated)
Rob Percival
4 years, 7 months ago (2016-05-03 23:14:33 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943313003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943313003/20001
4 years, 7 months ago (2016-05-03 23:39:02 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 00:59:03 UTC) #6
Eran Messeri
Overall looks good, a few minor comments. https://codereview.chromium.org/1943313003/diff/20001/net/cert/ct_serialization.cc File net/cert/ct_serialization.cc (right): https://codereview.chromium.org/1943313003/diff/20001/net/cert/ct_serialization.cc#newcode24 net/cert/ct_serialization.cc:24: const size_t ...
4 years, 7 months ago (2016-05-04 10:29:23 UTC) #7
Rob Percival
https://codereview.chromium.org/1943313003/diff/20001/net/cert/ct_serialization.cc File net/cert/ct_serialization.cc (right): https://codereview.chromium.org/1943313003/diff/20001/net/cert/ct_serialization.cc#newcode24 net/cert/ct_serialization.cc:24: const size_t kSha256HashLength = 32; On 2016/05/04 10:29:23, Eran ...
4 years, 7 months ago (2016-05-05 15:45:31 UTC) #8
Rob Percival
4 years, 7 months ago (2016-05-05 15:45:52 UTC) #10
Eran Messeri
LGTM for CT compliance, other than two minor comments. https://codereview.chromium.org/1943313003/diff/60001/net/cert/ct_serialization.h File net/cert/ct_serialization.h (right): https://codereview.chromium.org/1943313003/diff/60001/net/cert/ct_serialization.h#newcode13 net/cert/ct_serialization.h:13: ...
4 years, 7 months ago (2016-05-05 15:59:34 UTC) #11
Rob Percival
https://codereview.chromium.org/1943313003/diff/60001/net/cert/ct_serialization.h File net/cert/ct_serialization.h (right): https://codereview.chromium.org/1943313003/diff/60001/net/cert/ct_serialization.h#newcode13 net/cert/ct_serialization.h:13: #include "net/cert/merkle_tree_leaf.h" On 2016/05/05 15:59:33, Eran Messeri wrote: > ...
4 years, 7 months ago (2016-05-05 17:31:44 UTC) #12
eroman
lgtm https://codereview.chromium.org/1943313003/diff/80001/net/cert/ct_serialization.cc File net/cert/ct_serialization.cc (right): https://codereview.chromium.org/1943313003/diff/80001/net/cert/ct_serialization.cc#newcode351 net/cert/ct_serialization.cc:351: return false; run "git cl format" -- need ...
4 years, 7 months ago (2016-05-07 00:20:53 UTC) #13
Rob Percival
https://codereview.chromium.org/1943313003/diff/80001/net/cert/ct_serialization.cc File net/cert/ct_serialization.cc (right): https://codereview.chromium.org/1943313003/diff/80001/net/cert/ct_serialization.cc#newcode351 net/cert/ct_serialization.cc:351: return false; On 2016/05/07 00:20:52, eroman wrote: > run ...
4 years, 7 months ago (2016-05-08 04:08:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943313003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943313003/100001
4 years, 7 months ago (2016-05-10 15:00:42 UTC) #17
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
4 years, 7 months ago (2016-05-10 15:00:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1943313003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1943313003/120001
4 years, 7 months ago (2016-05-10 16:12:48 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-10 17:24:49 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 17:27:39 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/1b1732191f54e031e740a6907dc5608c8d32ecfd
Cr-Commit-Position: refs/heads/master@{#392636}

Powered by Google App Engine
This is Rietveld 408576698