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

Issue 309080043: Bug 1268745 - Limit use of the same symmetric key

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

Description

Bug 1268745 - Limit use of the same symmetric key

Patch Set 1 #

Total comments: 28

Patch Set 2 : More and more test coverage #

Total comments: 34

Patch Set 3 : Reviewed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -286 lines) Patch
M .hgtags View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M automation/taskcluster/graph/windows/_build_base.yml View 1 2 1 chunk +1 line, -1 line 0 comments Download
M automation/taskcluster/scripts/build.sh View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
M automation/taskcluster/scripts/tools.sh View 1 2 1 chunk +0 lines, -13 lines 0 comments Download
M automation/taskcluster/windows/build.sh View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M automation/taskcluster/windows/setup.sh View 1 2 1 chunk +1 line, -14 lines 0 comments Download
M external_tests/ssl_gtest/libssl_internals.h View 1 chunk +2 lines, -0 lines 0 comments Download
M external_tests/ssl_gtest/libssl_internals.c View 1 2 2 chunks +48 lines, -1 line 0 comments Download
M external_tests/ssl_gtest/ssl_ciphersuite_unittest.cc View 1 2 3 chunks +125 lines, -23 lines 0 comments Download
M external_tests/ssl_gtest/ssl_loopback_unittest.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M external_tests/ssl_gtest/tls_agent.h View 1 4 chunks +12 lines, -9 lines 0 comments Download
M external_tests/ssl_gtest/tls_agent.cc View 1 5 chunks +38 lines, -25 lines 0 comments Download
M lib/ssl/SSLerrs.h View 1 chunk +3 lines, -0 lines 0 comments Download
M lib/ssl/dtlscon.c View 1 2 5 chunks +14 lines, -14 lines 1 comment Download
M lib/ssl/ssl3con.c View 1 2 12 chunks +92 lines, -124 lines 0 comments Download
M lib/ssl/ssl3gthr.c View 1 2 1 chunk +3 lines, -9 lines 0 comments Download
M lib/ssl/sslerr.h View 1 chunk +1 line, -0 lines 0 comments Download
M lib/ssl/sslimpl.h View 1 2 9 chunks +17 lines, -20 lines 0 comments Download
M lib/ssl/tls13con.c View 1 2 6 chunks +22 lines, -20 lines 0 comments Download

Messages

Total messages: 7
ekr-rietveld
MT, Where did you get these limits? I note that TLS 1.3 recommends 2^24.5 not ...
7 years, 8 months ago (2016-08-18 23:30:57 UTC) #1
mt
More and more test coverage
7 years, 8 months ago (2016-08-19 03:56:23 UTC) #2
mt
Patch updated. I'll ping wtc regarding the change to the sequence number struct. I decided ...
7 years, 8 months ago (2016-08-19 03:57:11 UTC) #3
ekr-rietveld
LGTM https://codereview.appspot.com/309080043/diff/1/lib/ssl/dtlscon.c File lib/ssl/dtlscon.c (right): https://codereview.appspot.com/309080043/diff/1/lib/ssl/dtlscon.c#newcode1201 lib/ssl/dtlscon.c:1201: dtls_seq_num = cText->seq_num & 0xffffffUL; On 2016/08/19 03:57:11, ...
7 years, 8 months ago (2016-08-19 17:58:06 UTC) #4
wtc1
Review comments on patch set 2: Please consider this as a supplemental review. https://codereview.appspot.com/309080043/diff/20001/lib/ssl/ssl3con.c File ...
7 years, 8 months ago (2016-08-19 18:04:16 UTC) #5
mt
I've uploaded a new version, but this can't land for the moment. https://codereview.appspot.com/309080043/diff/1/lib/ssl/ssl3con.c File lib/ssl/ssl3con.c ...
7 years, 8 months ago (2016-08-22 01:29:36 UTC) #6
wtc1
7 years, 8 months ago (2016-08-22 16:46:16 UTC) #7
Review comments on patch set 3:

Please consider this as a supplemental review. I only read the diffs between
patch sets 2 and 3.

https://codereview.appspot.com/309080043/diff/40001/lib/ssl/dtlscon.c
File lib/ssl/dtlscon.c (right):

https://codereview.appspot.com/309080043/diff/40001/lib/ssl/dtlscon.c#newcode...
lib/ssl/dtlscon.c:1082: sslSequenceNumber offset;
Nit: it looks strange to declare |offset| as sslSequenceNumber. It is true that
in some cases it is not clear whether sslSequenceNumber or a plain PRUint64 is
more appropriate.

If you change the type to PRUint64, please make the same change to the |offset|
in dtls_RecordSetRecvd.
Sign in to reply to this message.

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