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

Issue 286200043: Bug 1246939 - Implement PKCS#11 bypass for ChaCha20/Poly1305 cipher suite (Closed)

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

Description

Bug 1246939 - Implement PKCS#11 bypass for ChaCha20/Poly1305 cipher suite

Patch Set 1 #

Patch Set 2 : Bug 1246939 - Pretend to support the PKCS#11 bypass for ChaCha20/Poly1305 #

Patch Set 3 : Bug 1246939 - Ignore PKCS#11 bypass for ChaCha20/Poly1305 #

Patch Set 4 : Bug 1227905 - Disable PKCS#11 bypass for ChaCha20/Poly1305 #

Total comments: 3

Patch Set 5 : Bug 1227905 - Disable PKCS#11 bypass for ChaCha20/Poly1305 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M lib/ssl/ssl3con.c View 1 2 3 4 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 1
ekr-rietveld
8 years, 2 months ago (2016-02-10 09:12:12 UTC) #1
LGTM but with suggested interface change.

https://codereview.appspot.com/286200043/diff/60001/lib/ssl/ssl3con.c
File lib/ssl/ssl3con.c (right):

https://codereview.appspot.com/286200043/diff/60001/lib/ssl/ssl3con.c#newcode...
lib/ssl/ssl3con.c:2261: * We do not support PKCS#11 bypass for
ChaCha20/Poly1305.
I apologize but I think it would be better to have this take a 
const ssl3CipherSuiteDef *.

https://codereview.appspot.com/286200043/diff/60001/lib/ssl/ssl3con.c#newcode...
lib/ssl/ssl3con.c:2263: PRBool
This should be static.

https://codereview.appspot.com/286200043/diff/60001/lib/ssl/ssl3con.c#newcode...
lib/ssl/ssl3con.c:2267: case calg_chacha20:
NSS style is to indent the cases.
Sign in to reply to this message.

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