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

Issue 302400043: Curve25519

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by franziskus
Modified:
9 years, 8 months ago
Reviewers:
mt
Visibility:
Public.

Description

Curve25519

Patch Set 1 #

Total comments: 40

Patch Set 2 : #

Patch Set 3 : #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+1876 lines, -236 lines) Patch
M cmd/bltest/blapitest.c View 3 chunks +3 lines, -1 line 0 comments Download
M cmd/certutil/certutil.c View 1 1 chunk +1 line, -1 line 0 comments Download
M cmd/certutil/keystuff.c View 1 chunk +1 line, -0 lines 0 comments Download
M cmd/ecperf/ecperf.c View 1 5 chunks +52 lines, -39 lines 0 comments Download
M cmd/ecperf/manifest.mn View 1 chunk +0 lines, -6 lines 0 comments Download
M cmd/ectest/ectest.c View 1 2 chunks +264 lines, -45 lines 2 comments Download
M cmd/ectest/testvecs.h View 1 2 1 chunk +164 lines, -76 lines 0 comments Download
M cmd/fipstest/fipstest.c View 1 chunk +1 line, -1 line 0 comments Download
M lib/cryptohi/keyhi.h View 1 1 chunk +7 lines, -0 lines 3 comments Download
M lib/cryptohi/keythi.h View 2 chunks +2 lines, -6 lines 0 comments Download
M lib/cryptohi/seckey.c View 1 5 chunks +61 lines, -3 lines 2 comments Download
M lib/freebl/Makefile View 2 chunks +26 lines, -8 lines 0 comments Download
M lib/freebl/blapit.h View 1 chunk +3 lines, -2 lines 0 comments Download
M lib/freebl/ec.h View 1 chunk +1 line, -0 lines 0 comments Download
M lib/freebl/ec.c View 1 9 chunks +43 lines, -16 lines 0 comments Download
M lib/freebl/ecdecode.c View 5 chunks +13 lines, -2 lines 0 comments Download
A lib/freebl/ecl/curve25519.h View 1 1 chunk +36 lines, -0 lines 0 comments Download
A lib/freebl/ecl/curve25519_32.c View 1 1 chunk +390 lines, -0 lines 0 comments Download
A lib/freebl/ecl/curve25519_64.c View 1 1 chunk +514 lines, -0 lines 0 comments Download
M lib/freebl/ecl/ecl.h View 2 chunks +4 lines, -0 lines 0 comments Download
M lib/freebl/ecl/ecl-curve.h View 1 3 chunks +18 lines, -4 lines 0 comments Download
M lib/freebl/ecl/ecl-exp.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M lib/freebl/ecl/ecl-priv.h View 1 1 chunk +1 line, -0 lines 0 comments Download
A lib/freebl/ecl/ecp_25519.c View 1 1 chunk +119 lines, -0 lines 2 comments Download
M lib/freebl/ecl/tests/ecp_test.c View 1 chunk +1 line, -0 lines 0 comments Download
A lib/freebl/ecl/uint128.c View 1 1 chunk +87 lines, -0 lines 0 comments Download
M lib/freebl/manifest.mn View 1 chunk +1 line, -1 line 0 comments Download
M lib/nss/nss.def View 1 chunk +6 lines, -0 lines 1 comment Download
M lib/pk11wrap/pk11akey.c View 1 3 chunks +13 lines, -0 lines 2 comments Download
M lib/pk11wrap/pk11skey.c View 3 chunks +11 lines, -10 lines 0 comments Download
M lib/softoken/pkcs11.c View 1 1 chunk +10 lines, -8 lines 2 comments Download
M lib/softoken/pkcs11c.c View 1 3 chunks +7 lines, -5 lines 0 comments Download
M lib/util/secoid.c View 1 2 chunks +7 lines, -1 line 0 comments Download
M lib/util/secoidt.h View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/ec/ecperf.sh View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/ec/ectest.sh View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
mt
Sorry this took so long. I didn't review the curve code extensively, I expect that ...
9 years, 9 months ago (2016-08-12 03:40:48 UTC) #1
mt
https://codereview.appspot.com/302400043/diff/1/lib/freebl/ecl/ecl-curve.h File lib/freebl/ecl/ecl-curve.h (right): https://codereview.appspot.com/302400043/diff/1/lib/freebl/ecl/ecl-curve.h#newcode45 lib/freebl/ecl/ecl-curve.h:45: 1, 256, 133, EC_dh_dsa is this supposed to be ...
9 years, 8 months ago (2016-08-15 06:51:44 UTC) #2
franziskus
thanks for the review. I hope I addressed everything and will upload a new version ...
9 years, 8 months ago (2016-08-16 13:57:59 UTC) #3
mt
Looking better. I hope that I'm not the only reviewer for this stuff. https://codereview.appspot.com/302400043/diff/1/lib/cryptohi/keyhi.h File ...
9 years, 8 months ago (2016-08-18 02:49:55 UTC) #4
franziskus
> Looking better. I hope that I'm not the only reviewer for this stuff. I ...
9 years, 8 months ago (2016-08-18 14:28:16 UTC) #5
mt
9 years, 8 months ago (2016-09-01 13:13:02 UTC) #6
https://codereview.appspot.com/302400043/diff/40001/lib/cryptohi/keyhi.h
File lib/cryptohi/keyhi.h (right):

https://codereview.appspot.com/302400043/diff/40001/lib/cryptohi/keyhi.h#newc...
lib/cryptohi/keyhi.h:274: SECStatus SECKEY_SetCurveName(PLArenaPool *arena,
SECKEYPublicKey *pubKey);
On 2016/08/18 14:28:15, franziskus wrote:
> On 2016/08/18 02:49:55, mt wrote:
> > Can this be moved to keyi.h ?
> 
> if we want to have it internally. But that requires to reimplement the
function
> for ssl. If that's the way to go, that's fine with me. I did it for now. Let's
> see what Bob says to this.

 PRIVATE_EXPORTS = \
+        keyi.h    \
         $(NULL)

And then ssl can use it.
Sign in to reply to this message.

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