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

Issue 56530043: code review 56530043: crypto/galois: Alternative GCM/GMAC implementation. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by lcurley
Modified:
11 years, 10 months ago
Visibility:
Public.

Description

crypto/galois: Alternative GCM/GMAC implementation. Replaces NewGCM in crypto/cipher, but is not backwards compatible. Includes: - AES-NI support for modern processors. - Support for variable length nonces. - Support for variable length tags. - Streaming support.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 54a5513d9d6a https://code.google.com/p/go #

Patch Set 5 : diff -r 54a5513d9d6a https://code.google.com/p/go #

Patch Set 6 : diff -r 54a5513d9d6a https://code.google.com/p/go #

Patch Set 7 : diff -r 94165b19719e https://code.google.com/p/go #

Total comments: 1

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

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1150 lines, -438 lines) Patch
M src/cmd/6a/lex.c View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M src/pkg/crypto/aes/asm_amd64.s View 1 4 chunks +2 lines, -6 lines 0 comments Download
M src/pkg/crypto/cipher/benchmark_test.go View 1 2 3 4 1 chunk +0 lines, -36 lines 0 comments Download
R src/pkg/crypto/cipher/gcm.go View 1 2 3 4 5 1 chunk +0 lines, -343 lines 0 comments Download
A src/pkg/crypto/galois/cipher.go View 1 2 3 1 chunk +219 lines, -0 lines 2 comments Download
A src/pkg/crypto/galois/cipher_test.go View 1 2 3 1 chunk +330 lines, -0 lines 0 comments Download
A src/pkg/crypto/galois/example_test.go View 1 2 3 1 chunk +104 lines, -0 lines 0 comments Download
A src/pkg/crypto/galois/galois.go View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
A src/pkg/crypto/galois/gint128.go View 1 2 3 1 chunk +104 lines, -0 lines 0 comments Download
A src/pkg/crypto/galois/gint128_amd64.s View 1 2 3 1 chunk +122 lines, -0 lines 2 comments Download
A src/pkg/crypto/galois/gint128_asm.go View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A src/pkg/crypto/galois/gint128_generic.go View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
A src/pkg/crypto/galois/gint128_test.go View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A src/pkg/crypto/galois/hash.go View 1 2 3 1 chunk +134 lines, -0 lines 0 comments Download
M src/pkg/crypto/tls/cipher_suites.go View 1 2 3 4 5 6 3 chunks +21 lines, -35 lines 0 comments Download
M src/pkg/crypto/tls/conn.go View 1 2 3 4 5 6 3 chunks +32 lines, -18 lines 0 comments Download

Messages

Total messages: 6
lcurley
https://codereview.appspot.com/56530043/diff/120001/src/pkg/crypto/galois/hash.go File src/pkg/crypto/galois/hash.go (right): https://codereview.appspot.com/56530043/diff/120001/src/pkg/crypto/galois/hash.go#newcode107 src/pkg/crypto/galois/hash.go:107: func (h *hash) Reset() { h.extra must also be ...
11 years, 11 months ago (2014-01-27 08:23:18 UTC) #1
lcurley
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 11 months ago (2014-01-27 08:25:36 UTC) #2
hanwen-google
Couldnt the old API be implemented in terms of this one? The compatibility promise precludes ...
11 years, 11 months ago (2014-01-27 08:57:51 UTC) #3
minux1
this change break Go 1 API contract by removing the NewGCM API from crypto/cipher, so ...
11 years, 11 months ago (2014-01-27 08:58:57 UTC) #4
lcurley
I sent out a message to golang-dev at the same time as publishing this review. ...
11 years, 11 months ago (2014-01-27 09:16:02 UTC) #5
lcurley
11 years, 10 months ago (2014-02-03 06:07:53 UTC) #6
Message was sent while issue was closed.
My fault about the backwards-compatibility thing. I'm going to reimplement the
Intel assembly code and avoid changing the API.
Sign in to reply to this message.

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