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

Issue 12668022: Make CKM_AES_GCM usable. (Closed)

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

Description

Make CKM_AES_GCM usable. This requires fixing bugs in the underlying AES GCM code and adding the PK11_EncryptWithSymKey and PK11_DecryptWithSymKey functions to provide access to CKM_AES_GCM, which does not support multi-part operations. R=agl@chromium.org,rsleevi@chromium.org BUG=none TEST=to be covered by Aes128GcmEncrypterTest and Aes128GcmDecrypterTest in net_unittests

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -7 lines) Patch
M README.chromium View 1 chunk +6 lines, -0 lines 0 comments Download
M mozilla/security/nss/exports_win.def View 2 chunks +2 lines, -0 lines 0 comments Download
M mozilla/security/nss/lib/freebl/gcm.c View 2 chunks +5 lines, -5 lines 3 comments Download
M mozilla/security/nss/lib/freebl/rijndael.c View 2 chunks +2 lines, -2 lines 2 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11mech.c View 1 chunk +4 lines, -0 lines 1 comment Download
M mozilla/security/nss/lib/pk11wrap/pk11obj.c View 1 chunk +87 lines, -0 lines 2 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11pub.h View 1 chunk +11 lines, -0 lines 0 comments Download
A patches/nss-aes-gcm.patch View 1 chunk +66 lines, -0 lines 0 comments Download
A patches/nss-encrypt-with-sym-key.patch View 1 chunk +120 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
wtc
https://codereview.chromium.org/12668022/diff/1/mozilla/security/nss/lib/freebl/gcm.c File mozilla/security/nss/lib/freebl/gcm.c (right): https://codereview.chromium.org/12668022/diff/1/mozilla/security/nss/lib/freebl/gcm.c#newcode233 mozilla/security/nss/lib/freebl/gcm.c:233: gcm_reverse(T, tmp_buf, blocksize); The original code passes |X| as ...
7 years, 9 months ago (2013-03-26 18:24:46 UTC) #1
agl
LGTM. This probably means that we can't use QUIC (assuming that it's using AES-GCM) on ...
7 years, 9 months ago (2013-03-26 18:35:03 UTC) #2
Ryan Sleevi
lgtm https://codereview.chromium.org/12668022/diff/1/mozilla/security/nss/lib/freebl/rijndael.c File mozilla/security/nss/lib/freebl/rijndael.c (right): https://codereview.chromium.org/12668022/diff/1/mozilla/security/nss/lib/freebl/rijndael.c#newcode1224 mozilla/security/nss/lib/freebl/rijndael.c:1224: if (cx == NULL || output == NULL ...
7 years, 9 months ago (2013-03-26 18:39:14 UTC) #3
wtc
https://codereview.chromium.org/12668022/diff/1/mozilla/security/nss/lib/freebl/gcm.c File mozilla/security/nss/lib/freebl/gcm.c (right): https://codereview.chromium.org/12668022/diff/1/mozilla/security/nss/lib/freebl/gcm.c#newcode233 mozilla/security/nss/lib/freebl/gcm.c:233: gcm_reverse(T, tmp_buf, blocksize); If this bug in gcm_getX() only ...
7 years, 9 months ago (2013-03-26 18:41:55 UTC) #4
Ryan Sleevi
On 2013/03/26 18:35:03, agl wrote: > LGTM. > > This probably means that we can't ...
7 years, 9 months ago (2013-03-26 18:42:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/12668022/1
7 years, 9 months ago (2013-03-26 18:46:54 UTC) #6
commit-bot: I haz the power
7 years, 9 months ago (2013-03-26 18:47:06 UTC) #7
Message was sent while issue was closed.
Change committed as 190723

Powered by Google App Engine
This is Rietveld 408576698