Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5581)

Issue 300860043: Bug1179338

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 11 months ago by kaie
Modified:
7 years, 10 months ago
Reviewers:
mt
Visibility:
Public.

Description

Bug1179338

Patch Set 1 : patch v9 #

Patch Set 2 : Patch v10 #

Patch Set 3 : Patch v11 #

Total comments: 3

Patch Set 4 : Patch v12 #

Patch Set 5 : Patch v13 #

Total comments: 4

Patch Set 6 : Patch v14 #

Total comments: 6

Patch Set 7 : Patch v16 #

Patch Set 8 : Patch v17 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -202 lines) Patch
M external_tests/ssl_gtest/ssl_loopback_unittest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M lib/ssl/ssl3con.c View 1 2 3 4 5 6 7 23 chunks +271 lines, -193 lines 1 comment Download
M lib/ssl/ssl3prot.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M lib/ssl/sslimpl.h View 1 2 3 4 3 chunks +4 lines, -5 lines 0 comments Download
M lib/ssl/sslsecur.c View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 18
mt
https://codereview.appspot.com/300860043/diff/40001/lib/ssl/ssl3con.c File lib/ssl/ssl3con.c (right): https://codereview.appspot.com/300860043/diff/40001/lib/ssl/ssl3con.c#newcode12376 lib/ssl/ssl3con.c:12376: } Here's a crazy idea. What if computing hashes ...
7 years, 11 months ago (2016-06-01 15:45:19 UTC) #1
kaie
It seem you don't like the idea to pass along the msgLenForCertVerify parameter. I personally ...
7 years, 11 months ago (2016-06-01 15:58:22 UTC) #2
mt
On 2016/06/01 15:58:22, kaie wrote: > It seem you don't like the idea to pass ...
7 years, 11 months ago (2016-06-02 09:55:55 UTC) #3
mt
> It seem you don't like the idea to pass along the msgLenForCertVerify parameter. > ...
7 years, 11 months ago (2016-06-02 09:56:07 UTC) #4
kaie
As of today, SSL3Hashes is purely the result of a hash. IIUC, you want to ...
7 years, 11 months ago (2016-06-02 14:43:38 UTC) #5
kaie
And adding the state "is input" or "is output" to SSL3Hashes probably isn't a good ...
7 years, 11 months ago (2016-06-02 14:44:50 UTC) #6
kaie
I've implemented the suggestion, and I must confess, it looks better than I thought. New ...
7 years, 11 months ago (2016-06-02 16:23:22 UTC) #7
kaie
Patch v13 addresses all your comments.
7 years, 11 months ago (2016-06-02 16:33:07 UTC) #8
mt
I was thinking that the SSL3Hashes thing would be a little more extensive. We currently ...
7 years, 10 months ago (2016-06-02 21:35:17 UTC) #9
kaie
On 2016/06/02 21:35:17, mt wrote: > You could change ssl3_ComputeHandshakeHashes() so that it saved > ...
7 years, 10 months ago (2016-06-02 22:14:56 UTC) #10
kaie
> Now, when ssl3_SignHashes() is called, how can it decide whether > hashes->u already contains ...
7 years, 10 months ago (2016-06-02 22:23:24 UTC) #11
kaie
In case of ssl3_ComputeCommonKeyHash, learning if hashes is raw or input-only, would require to pass ...
7 years, 10 months ago (2016-06-02 22:27:43 UTC) #12
kaie
I think for clarity, your design would require a new data structure like SSL3HashInstructions, that ...
7 years, 10 months ago (2016-06-02 22:38:59 UTC) #13
kaie
Patch v14 calls ssl3_DecideTls12CertVerifyHash for TLS 1.3 It adds an assertion requested by EKR for ...
7 years, 10 months ago (2016-06-03 01:22:32 UTC) #14
mt
I think that I found a bug and I think that special-casing ssl_hash_none isn't necessary. ...
7 years, 10 months ago (2016-06-03 01:57:48 UTC) #15
kaie
Thanks for your suggestions. I've made all changes, except the assertion for TLS 1.3, which ...
7 years, 10 months ago (2016-06-03 02:37:42 UTC) #16
mt
LGTM, r+ https://codereview.appspot.com/300860043/diff/140001/lib/ssl/ssl3con.c File lib/ssl/ssl3con.c (right): https://codereview.appspot.com/300860043/diff/140001/lib/ssl/ssl3con.c#newcode6813 lib/ssl/ssl3con.c:6813: } Nit, you could combine this block ...
7 years, 10 months ago (2016-06-03 02:52:50 UTC) #17
kaie
7 years, 10 months ago (2016-06-03 02:59:50 UTC) #18
On 2016/06/03 02:52:50, mt wrote:
>
https://codereview.appspot.com/300860043/diff/140001/lib/ssl/ssl3con.c#newcod...
> lib/ssl/ssl3con.c:6813: }
> Nit, you could combine this block into a
ssl3_ComputeHandshakeHashFromRecord(). 
> I see this appears in a few places.

will land that as a follow up today, if the commit sticks
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b