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

Issue 94850043: code review 94850043: crypto/rsa: Implement a big int modular exponentiat...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by alex.gaynor
Modified:
11 years, 5 months ago
CC:
__lvh.io, golang-codereviews
Visibility:
Public.

Description

crypto/rsa: Implement a big int modular exponentiation algorithm using the montgomery ladder, and make use of it in RSA. This should be closer to constant time, and thus help avoid side-channel attacks.

Patch Set 1 #

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

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -1 line) Patch
M src/pkg/crypto/rsa/rsa.go View 1 1 chunk +28 lines, -1 line 1 comment Download
M src/pkg/crypto/rsa/rsa_test.go View 1 2 2 chunks +48 lines, -0 lines 0 comments Download

Messages

Total messages: 7
lvh_
(You might be reading this message twice because I'm not used to Rietveld and it ...
11 years, 6 months ago (2014-04-28 18:25:20 UTC) #1
alex.gaynor
Hello golang-codereviews@googlegroups.com, _@lvh.cc (cc: _@lvh.io, golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
11 years, 6 months ago (2014-04-28 20:08:00 UTC) #2
alex.gaynor
On 2014/04/28 18:25:20, lvh_ wrote: > It may be useful to add one more test ...
11 years, 6 months ago (2014-04-28 20:08:40 UTC) #3
gobot
R=agl@golang.org (assigned by r@golang.org)
11 years, 6 months ago (2014-04-29 14:42:17 UTC) #4
agl1
https://codereview.appspot.com/94850043/diff/40001/src/pkg/crypto/rsa/rsa.go File src/pkg/crypto/rsa/rsa.go (right): https://codereview.appspot.com/94850043/diff/40001/src/pkg/crypto/rsa/rsa.go#newcode261 src/pkg/crypto/rsa/rsa.go:261: func montgomeryLadderExp(a, b, c *big.Int) *big.Int { A Montgomery ...
11 years, 6 months ago (2014-04-30 01:37:06 UTC) #5
lvh_
Hi agl, Right; it certainly doesn't implement a fully constant time algorithm yet; just one ...
11 years, 6 months ago (2014-04-30 06:12:11 UTC) #6
gobot
11 years, 5 months ago (2014-05-25 21:11:13 UTC) #7
R=close (assigned by agl@golang.org)
Sign in to reply to this message.

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