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

Issue 5990045: code review 5990045: crypto/rsa: fix Verify for multi-prime keys. (Closed)

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

Description

crypto/rsa: fix Verify for multi-prime keys. The least common multiple is not totient/gcd.

Patch Set 1 #

Patch Set 2 : diff -r 2376ffb966ed https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 3 : diff -r 2376ffb966ed https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 2376ffb966ed https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 5 : diff -r 2376ffb966ed https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r d2e496570b20 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r d2e496570b20 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -24 lines) Patch
M src/pkg/crypto/rsa/rsa.go View 1 2 3 4 1 chunk +12 lines, -24 lines 0 comments Download

Messages

Total messages: 6
remyoudompheng
http://codereview.appspot.com/5990045/diff/2001/src/pkg/crypto/rsa/rsa.go File src/pkg/crypto/rsa/rsa.go (right): http://codereview.appspot.com/5990045/diff/2001/src/pkg/crypto/rsa/rsa.go#newcode78 src/pkg/crypto/rsa/rsa.go:78: // Check that e and exponent(ℤ/nℤ) are coprime, where ...
12 years, 11 months ago (2012-04-05 20:31:37 UTC) #1
agl1
On Thu, Apr 5, 2012 at 1:31 PM, <remyoudompheng@gmail.com> wrote: > * It implies that ...
12 years, 11 months ago (2012-04-06 16:41:11 UTC) #2
remyoudompheng
Nice to see the code getting simpler :) http://codereview.appspot.com/5990045/diff/4/src/pkg/crypto/rsa/rsa.go File src/pkg/crypto/rsa/rsa.go (right): http://codereview.appspot.com/5990045/diff/4/src/pkg/crypto/rsa/rsa.go#newcode81 src/pkg/crypto/rsa/rsa.go:81: // ...
12 years, 11 months ago (2012-04-06 19:53:26 UTC) #3
agl1
http://codereview.appspot.com/5990045/diff/4/src/pkg/crypto/rsa/rsa.go File src/pkg/crypto/rsa/rsa.go (right): http://codereview.appspot.com/5990045/diff/4/src/pkg/crypto/rsa/rsa.go#newcode81 src/pkg/crypto/rsa/rsa.go:81: // inverse. Therefore e is coprime to lcm(p-1,q-1,r-1,...) = ...
12 years, 11 months ago (2012-04-06 21:48:20 UTC) #4
agl1
Hello remyoudompheng@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 11 months ago (2012-04-11 16:57:06 UTC) #5
agl1
12 years, 11 months ago (2012-04-11 16:57:48 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=b9cbd32246e3 ***

crypto/rsa: fix Verify for multi-prime keys.

The least common multiple is not totient/gcd.

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

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