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

Issue 6402052: code review 6402052: bn256: add package (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by agl1
Modified:
11 years, 9 months ago
Reviewers:
CC:
golang-dev, remyoudompheng, r2, r, akumar_mail.nanosouffle.net
Visibility:
Public.

Description

bn256: add package Package bn256 implements a particular bilinear group at the 128-bit security level.

Patch Set 1 #

Patch Set 2 : diff -r 8738a06cfeef https://code.google.com/p/go.crypto #

Patch Set 3 : diff -r 8738a06cfeef https://code.google.com/p/go.crypto #

Total comments: 6

Patch Set 4 : diff -r 8738a06cfeef https://code.google.com/p/go.crypto #

Total comments: 12

Patch Set 5 : diff -r 8738a06cfeef https://code.google.com/p/go.crypto #

Total comments: 34

Patch Set 6 : diff -r 8738a06cfeef https://code.google.com/p/go.crypto #

Total comments: 18

Patch Set 7 : diff -r 8738a06cfeef https://code.google.com/p/go.crypto #

Patch Set 8 : diff -r b9d22f5fdf5d https://code.google.com/p/go.crypto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2428 lines, -0 lines) Patch
A bn256/bn256.go View 1 2 3 4 5 6 1 chunk +400 lines, -0 lines 0 comments Download
A bn256/bn256_test.go View 1 2 3 4 5 1 chunk +304 lines, -0 lines 0 comments Download
A bn256/constants.go View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
A bn256/curve.go View 1 2 3 4 5 6 1 chunk +278 lines, -0 lines 0 comments Download
A bn256/example_test.go View 1 1 chunk +43 lines, -0 lines 0 comments Download
A bn256/gfp12.go View 1 2 3 4 5 1 chunk +200 lines, -0 lines 0 comments Download
A bn256/gfp2.go View 1 2 3 4 5 1 chunk +219 lines, -0 lines 0 comments Download
A bn256/gfp6.go View 1 2 3 4 5 6 1 chunk +296 lines, -0 lines 0 comments Download
A bn256/optate.go View 1 2 3 4 5 6 1 chunk +395 lines, -0 lines 0 comments Download
A bn256/twist.go View 1 2 3 4 5 6 1 chunk +249 lines, -0 lines 0 comments Download

Messages

Total messages: 18
agl1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.crypto
11 years, 9 months ago (2012-07-16 19:08:08 UTC) #1
remyoudompheng
I have some stupid grammar remarks. What is the "Jacobian form"? http://codereview.appspot.com/6402052/diff/5001/bn256/constants.go File bn256/constants.go (right): ...
11 years, 9 months ago (2012-07-16 19:42:04 UTC) #2
r2
This is crypto code so cryptic comments are appropriate. -rob On Mon, Jul 16, 2012 ...
11 years, 9 months ago (2012-07-16 19:45:39 UTC) #3
agl1
Thanks. I just did a pass adding all the comments and typoed a few it ...
11 years, 9 months ago (2012-07-16 19:51:25 UTC) #4
r
this is a pretty big blodge of inscrutableness. is there an itch it scratches? i've ...
11 years, 9 months ago (2012-07-17 00:06:54 UTC) #5
agl1
This is indeed pretty obscure. I'm afraid that I'm not going to make bilinear groups ...
11 years, 9 months ago (2012-07-18 15:00:28 UTC) #6
r
I don't mind it being in the subrepo. That's what the subrepo is for. The ...
11 years, 9 months ago (2012-07-18 15:17:00 UTC) #7
akumar_mail.nanosouffle.net
On 18 July 2012 08:00, <agl@golang.org> wrote: > http://codereview.appspot.com/6402052/diff/2003/bn256/bn256.go#newcode162 > bn256/bn256.go:162: // ScalarBaseMult sets out ...
11 years, 9 months ago (2012-07-18 17:02:08 UTC) #8
remyoudompheng
A first round of comments or possible suggestions. I didn't look at the elliptic curve ...
11 years, 9 months ago (2012-07-21 06:41:54 UTC) #9
r
remy's comments seem spot-on. otherwise LGTM
11 years, 9 months ago (2012-07-21 16:26:44 UTC) #10
agl1
http://codereview.appspot.com/6402052/diff/10002/bn256/bn256_test.go File bn256/bn256_test.go (right): http://codereview.appspot.com/6402052/diff/10002/bn256/bn256_test.go#newcode160 bn256/bn256_test.go:160: On 2012/07/21 06:41:55, remyoudompheng wrote: > I suggest adding ...
11 years, 9 months ago (2012-07-21 18:26:00 UTC) #11
remyoudompheng
Comments about the elliptic curve group law implementation. I have not reviewed the Tate pairing ...
11 years, 9 months ago (2012-07-21 19:42:00 UTC) #12
remyoudompheng
http://codereview.appspot.com/6402052/diff/23001/bn256/curve.go File bn256/curve.go (right): http://codereview.appspot.com/6402052/diff/23001/bn256/curve.go#newcode77 bn256/curve.go:77: func (c *curvePoint) Add(a, b *curvePoint, pool *bnPool) { ...
11 years, 9 months ago (2012-07-21 20:23:34 UTC) #13
remyoudompheng
http://codereview.appspot.com/6402052/diff/23001/bn256/optate.go File bn256/optate.go (right): http://codereview.appspot.com/6402052/diff/23001/bn256/optate.go#newcode302 bn256/optate.go:302: // finalExponentiation compuates the steps 13-15 of algorithm 1 ...
11 years, 9 months ago (2012-07-21 22:58:57 UTC) #14
agl1
http://codereview.appspot.com/6402052/diff/10002/bn256/curve.go File bn256/curve.go (right): http://codereview.appspot.com/6402052/diff/10002/bn256/curve.go#newcode238 bn256/curve.go:238: c.t.SetInt64(0) On 2012/07/21 19:42:00, remyoudompheng wrote: > why violate ...
11 years, 9 months ago (2012-07-24 23:18:45 UTC) #15
agl1
http://codereview.appspot.com/6402052/diff/23001/bn256/curve.go File bn256/curve.go (right): http://codereview.appspot.com/6402052/diff/23001/bn256/curve.go#newcode77 bn256/curve.go:77: func (c *curvePoint) Add(a, b *curvePoint, pool *bnPool) { ...
11 years, 9 months ago (2012-07-24 23:20:32 UTC) #16
remyoudompheng
LGTM
11 years, 9 months ago (2012-07-25 04:27:22 UTC) #17
agl1
11 years, 9 months ago (2012-07-27 16:55:13 UTC) #18
*** Submitted as
http://code.google.com/p/go/source/detail?r=c349712b1885&repo=crypto ***

bn256: add package

Package bn256 implements a particular bilinear group at the 128-bit
security level.

R=golang-dev, remyoudompheng, r, r, akumar
CC=golang-dev
http://codereview.appspot.com/6402052
Sign in to reply to this message.

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