Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Issue 11175015: crypto: add GHASH implementation. (Closed)

Created:
8 years, 2 months ago by agl
Modified:
8 years, 1 month ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, Ryan Sleevi
Visibility:
Public.

Description

crypto: add GHASH implementation. Can be used to implement GCM until GCM support in NSS is widespread. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=166952

Patch Set 1 #

Patch Set 2 : ... #

Total comments: 36

Patch Set 3 : Addressing wtc's comments #

Total comments: 8

Patch Set 4 : ... #

Patch Set 5 : Add CRYPTO_EXPORT_PRIVATE for unittests #

Patch Set 6 : ... and remember to include the header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -0 lines) Patch
M crypto/crypto.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
A crypto/ghash.h View 1 2 3 4 5 1 chunk +86 lines, -0 lines 0 comments Download
A crypto/ghash.cc View 1 2 3 1 chunk +257 lines, -0 lines 0 comments Download
A crypto/ghash_unittest.cc View 1 2 3 1 chunk +138 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
agl
8 years, 2 months ago (2012-10-19 20:56:08 UTC) #1
Ryan Sleevi
high level: I'm not enthused about this approach for a few reasons: 1) It's yet ...
8 years, 2 months ago (2012-10-19 21:28:03 UTC) #2
wtc
Patch set 2 LGTM. Thanks! You are really good at implementing finite fields :-) https://codereview.chromium.org/11175015/diff/2001/crypto/ghash.cc ...
8 years, 2 months ago (2012-10-19 21:35:21 UTC) #3
agl
On Fri, Oct 19, 2012 at 5:28 PM, <rsleevi@chromium.org> wrote: > 1) It's yet another ...
8 years, 2 months ago (2012-10-22 21:50:10 UTC) #4
agl
https://codereview.chromium.org/11175015/diff/2001/crypto/ghash.cc File crypto/ghash.cc (right): https://codereview.chromium.org/11175015/diff/2001/crypto/ghash.cc#newcode37 crypto/ghash.cc:37: memcpy(bytes, &x, 8); On 2012/10/19 21:35:22, wtc wrote: > ...
8 years, 2 months ago (2012-10-22 21:50:56 UTC) #5
wtc
Patch set 3 LGTM. I think this is a reasonable way to provide AES-GCM on ...
8 years, 2 months ago (2012-10-25 00:54:51 UTC) #6
agl
https://codereview.chromium.org/11175015/diff/7002/crypto/ghash.cc File crypto/ghash.cc (right): https://codereview.chromium.org/11175015/diff/7002/crypto/ghash.cc#newcode131 crypto/ghash.cc:131: } On 2012/10/25 00:54:51, wtc wrote: > > Nit: ...
8 years, 1 month ago (2012-10-25 16:38:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/11175015/12001
8 years, 1 month ago (2012-10-25 16:38:31 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years, 1 month ago (2012-10-25 16:53:33 UTC) #9
wtc
Patch set 4 LGTM. For the rest of AES-GCM: Another option would be to copy ...
8 years, 1 month ago (2012-10-25 17:35:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/11175015/21001
8 years, 1 month ago (2012-10-26 14:14:36 UTC) #11
commit-bot: I haz the power
8 years, 1 month ago (2012-10-26 17:54:40 UTC) #12
Retried try job too often for step(s) build

Powered by Google App Engine
This is Rietveld 408576698