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

Issue 291170043: Dump HKDF intermediate values (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 1 month ago by ekr-rietveld
Modified:
8 years, 1 month ago
Reviewers:
mt
Visibility:
Public.

Description

Dump HKDF intermediate values

Patch Set 1 #

Patch Set 2 : Update indent #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
M lib/ssl/sslimpl.h View 1 2 chunks +3 lines, -0 lines 2 comments Download
M lib/ssl/ssltrace.c View 2 chunks +20 lines, -0 lines 0 comments Download
M lib/ssl/tls13con.c View 1 chunk +3 lines, -0 lines 4 comments Download
M lib/ssl/tls13hkdf.c View 3 chunks +19 lines, -1 line 2 comments Download

Messages

Total messages: 3
ekr-rietveld
8 years, 1 month ago (2016-03-13 13:46:27 UTC) #1
mt
Patch Set 2 LGTM Nits only https://codereview.appspot.com/291170043/diff/20001/lib/ssl/sslimpl.h File lib/ssl/sslimpl.h (right): https://codereview.appspot.com/291170043/diff/20001/lib/ssl/sslimpl.h#newcode89 lib/ssl/sslimpl.h:89: #define PRINT_KEY(a, b) ...
8 years, 1 month ago (2016-03-14 00:14:18 UTC) #2
ekr-rietveld
8 years, 1 month ago (2016-03-14 12:14:24 UTC) #3
https://codereview.appspot.com/291170043/diff/20001/lib/ssl/sslimpl.h
File lib/ssl/sslimpl.h (right):

https://codereview.appspot.com/291170043/diff/20001/lib/ssl/sslimpl.h#newcode89
lib/ssl/sslimpl.h:89: #define PRINT_KEY(a, b) if (ssl_trace >= (a)) ssl_PrintKey
b
On 2016/03/14 00:14:17, mt wrote:
> Nit: wrap like the lines above, since that is what clang-format will end up
> doing.  Though maybe the indent there can be fixed.

Done.

https://codereview.appspot.com/291170043/diff/20001/lib/ssl/tls13con.c
File lib/ssl/tls13con.c (right):

https://codereview.appspot.com/291170043/diff/20001/lib/ssl/tls13con.c#newcod...
lib/ssl/tls13con.c:1275: 
On 2016/03/14 00:14:18, mt wrote:
> extra blank line

Done.

https://codereview.appspot.com/291170043/diff/20001/lib/ssl/tls13con.c#newcod...
lib/ssl/tls13con.c:1277: PRINT_BUF(90, (NULL, "Context string", context_string,
strlen(context_string)));
On 2016/03/14 00:14:18, mt wrote:
> Why omit the socket argument here?  You have one.

https://codereview.appspot.com/291170043/diff/20001/lib/ssl/tls13hkdf.c
File lib/ssl/tls13hkdf.c (right):

https://codereview.appspot.com/291170043/diff/20001/lib/ssl/tls13hkdf.c#newco...
lib/ssl/tls13hkdf.c:174: SSL_TRC(60, ("HKDF Expand: label=[TLS 1.3, ] +
'%s',requested length=%d",
On 2016/03/14 00:14:18, mt wrote:
> Why not just "... label='TLS 1.3, %s',requested ..."

Because I wanted to indicate the data that I wasactually using here. And the TLS
1.3 is inserted separately
Sign in to reply to this message.

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