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

Issue 2687042: code review 2687042: Additional crypto library: Schneier's Twofish

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by B-Ranger
Modified:
1 year, 4 months ago
Reviewers:
CC:
golang-dev, schulze
Visibility:
Public.

Description

Additional crypto library: Schneier's Twofish This library rounds of the set of already available go crypto libraries. It fits into the existing interfaces and can be used in different block modes without any additional hassle. I hope it will be added to the set of provided algorithms two offer an alternative to the Rijandel (AES) algorithm. Twofish is already widely used, e.g. by a lot of HDD encryption tools and should therefore be supported. The algorithm was (as annoted in the source code) adopted from the FOSS librar Tom's LibCrypt. It was neither optimised for speed nor any security features were added.

Patch Set 1 #

Patch Set 2 : code review 2687042: Additional crypto library: Schneier's Twofish #

Total comments: 50

Patch Set 3 : code review 2687042: Additional crypto library: Schneier's Twofish #

Total comments: 22

Patch Set 4 : code review 2687042: Additional crypto library: Schneier's Twofish #

Patch Set 5 : code review 2687042: Additional crypto library: Schneier's Twofish #

Total comments: 50

Patch Set 6 : code review 2687042: Additional crypto library: Schneier's Twofish #

Total comments: 11

Patch Set 7 : code review 2687042: Additional crypto library: Schneier's Twofish #

Total comments: 8

Patch Set 8 : code review 2687042: Additional crypto library: Schneier's Twofish #

Patch Set 9 : code review 2687042: Additional crypto library: Schneier's Twofish #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -79 lines) Patch
M src/pkg/crypto/twofish/twofish.go View 1 2 3 4 5 6 7 8 11 chunks +69 lines, -72 lines 0 comments Download
M src/pkg/crypto/twofish/twofish_test.go View 1 2 3 4 5 6 7 4 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 27
B-Ranger
Hello golang-dev@googlegroups.com, rsc (cc: golang-dev@googlegroups.com, schulze@math.uni-hannover.de), I'd like you to review this change.
14 years, 5 months ago (2010-10-23 09:36:24 UTC) #1
BerengarLehr_googlemail.com
I haven't heard of your for a while. Since there was a change in the ...
14 years, 4 months ago (2010-11-24 14:57:48 UTC) #2
albert.strasheim
Hello Just sit tight. Russ said today: "We're pretty far behind on code reviews, mainly ...
14 years, 4 months ago (2010-11-24 21:17:39 UTC) #3
rsc
Thanks for submitting this. The code is not quite idiomatic Go yet. If you haven't ...
14 years, 3 months ago (2010-12-07 17:48:15 UTC) #4
B-Ranger
Hello rsc, berengarlehr@googlemail.com, albert.strasheim (cc: golang-dev@googlegroups.com, schulze@math.uni-hannover.de), Please take another look.
14 years, 2 months ago (2011-01-07 01:20:58 UTC) #5
B-Ranger
Next patch set for the crypto/twofish library. Included are fixes for all of Ross' comments. ...
14 years, 2 months ago (2011-01-07 01:44:58 UTC) #6
rsc
I haven't looked closely at the new code yet. Adding agl for crypto. http://codereview.appspot.com/2687042/diff/12001/src/pkg/crypto/twofish/twofish.go File ...
14 years, 2 months ago (2011-01-07 21:35:25 UTC) #7
agl1
(I only had 10 minutes so this is a very partial review. Will return to ...
14 years, 2 months ago (2011-01-08 16:21:58 UTC) #8
B-Ranger
Hello rsc, berengarlehr@googlemail.com, albert.strasheim, agl1 (cc: golang-dev@googlegroups.com, schulze@math.uni-hannover.de), Please take another look.
14 years, 2 months ago (2011-01-09 00:55:44 UTC) #9
B-Ranger
Hello rsc, berengarlehr@googlemail.com, albert.strasheim, agl1 (cc: golang-dev@googlegroups.com, schulze@math.uni-hannover.de), Please take another look.
14 years, 2 months ago (2011-01-09 00:56:07 UTC) #10
B-Ranger
Additional to the review comments I removed the tmpx0 and tmpx1 tmp-variable from NewCipher (Ls: ...
14 years, 2 months ago (2011-01-09 01:04:49 UTC) #11
agl1
rsc: any last comments? http://codereview.appspot.com/2687042/diff/28001/src/pkg/crypto/twofish/twofish.go File src/pkg/crypto/twofish/twofish.go (right): http://codereview.appspot.com/2687042/diff/28001/src/pkg/crypto/twofish/twofish.go#newcode8 src/pkg/crypto/twofish/twofish.go:8: // The code is a ...
14 years, 2 months ago (2011-01-09 15:20:22 UTC) #12
r
http://codereview.appspot.com/2687042/diff/28001/src/pkg/crypto/twofish/twofish.go File src/pkg/crypto/twofish/twofish.go (right): http://codereview.appspot.com/2687042/diff/28001/src/pkg/crypto/twofish/twofish.go#newcode22 src/pkg/crypto/twofish/twofish.go:22: const BlockSize = 16 // BlockSize is the constant ...
14 years, 2 months ago (2011-01-09 17:39:59 UTC) #13
agl1
http://codereview.appspot.com/2687042/diff/28001/src/pkg/crypto/twofish/twofish.go File src/pkg/crypto/twofish/twofish.go (right): http://codereview.appspot.com/2687042/diff/28001/src/pkg/crypto/twofish/twofish.go#newcode127 src/pkg/crypto/twofish/twofish.go:127: // BlockSize returns the Twofish block size, 16 bytes. ...
14 years, 2 months ago (2011-01-09 17:55:36 UTC) #14
B-Ranger
Hello rsc, berengarlehr@googlemail.com, albert.strasheim, agl1, r (cc: golang-dev@googlegroups.com, schulze@math.uni-hannover.de), Please take another look.
14 years, 2 months ago (2011-01-09 19:32:08 UTC) #15
B-Ranger
http://codereview.appspot.com/2687042/diff/28001/src/pkg/crypto/twofish/twofish.go File src/pkg/crypto/twofish/twofish.go (right): http://codereview.appspot.com/2687042/diff/28001/src/pkg/crypto/twofish/twofish.go#newcode8 src/pkg/crypto/twofish/twofish.go:8: // The code is a port of the LibTom ...
14 years, 2 months ago (2011-01-09 19:32:44 UTC) #16
rsc
Looks good after these changes. Re: ror and rol, I think we will eventually do ...
14 years, 2 months ago (2011-01-11 15:25:36 UTC) #17
agl1
On Tue, Jan 11, 2011 at 10:25 AM, <rsc@golang.org> wrote: > Looks good after these ...
14 years, 2 months ago (2011-01-11 15:28:54 UTC) #18
B-Ranger
Hello rsc, berengarlehr@googlemail.com, albert.strasheim, agl1 (cc: golang-dev@googlegroups.com, schulze@math.uni-hannover.de), Please take another look.
14 years, 2 months ago (2011-01-11 23:21:28 UTC) #19
agl1
On Tue, Jan 11, 2011 at 6:21 PM, <Berengar.Lehr@gmx.de> wrote: > Hello rsc, berengarlehr@googlemail.com, albert.strasheim, ...
14 years, 2 months ago (2011-01-11 23:24:58 UTC) #20
B-Ranger
http://codereview.appspot.com/2687042/diff/41001/src/pkg/crypto/twofish/twofish.go File src/pkg/crypto/twofish/twofish.go (right): http://codereview.appspot.com/2687042/diff/41001/src/pkg/crypto/twofish/twofish.go#newcode204 src/pkg/crypto/twofish/twofish.go:204: B := []uint32{0, uint32(b)} On 2011/01/11 15:25:37, rsc wrote: ...
14 years, 2 months ago (2011-01-11 23:33:50 UTC) #21
rsc
looks pretty good; after making the changes below it looks good to me. leaving for ...
14 years, 2 months ago (2011-01-19 19:41:08 UTC) #22
B-Ranger
Hello rsc, berengarlehr@googlemail.com, albert.strasheim, agl1 (cc: golang-dev@googlegroups.com, schulze@math.uni-hannover.de), Please take another look.
14 years, 2 months ago (2011-01-19 23:33:33 UTC) #23
B-Ranger
On 2011/01/19 19:41:08, rsc wrote: > looks pretty good; after making the changes below it ...
14 years, 2 months ago (2011-01-19 23:44:10 UTC) #24
agl1
On Wed, Jan 19, 2011 at 6:44 PM, <Berengar.Lehr@gmx.de> wrote: > I changed all occurrences ...
14 years, 2 months ago (2011-01-20 00:06:14 UTC) #25
agl1
On Wed, Jan 19, 2011 at 7:06 PM, Adam Langley <agl@golang.org> wrote: > I'll apply ...
14 years, 2 months ago (2011-01-20 00:42:31 UTC) #26
rsc
14 years, 2 months ago (2011-01-20 05:31:58 UTC) #27
removing reviewers
Sign in to reply to this message.

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