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

Issue 13327005: PK11_DecryptWithSymKey and PK11_EncryptWithSymKey have been (Closed)

Created:
7 years, 8 months ago by wtc
Modified:
7 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

PK11_DecryptWithSymKey and PK11_EncryptWithSymKey have been renamed PK11_Decrypt and PK11_Encrypt. gcm.c: Don't call PORT_Memcpy with a NULL source buffer pointer. Use a better error code if the input buffer is too small. ecp_256_32.c: Remove the extra BYTESWAP32 and BYTESWAP64 for big-endian processors. R=rsleevi@chromium.org,rtenneti@chromium.org BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191424

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -198 lines) Patch
M README.chromium View 1 chunk +3 lines, -3 lines 0 comments Download
M mozilla/security/nss/exports_win.def View 2 chunks +2 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/freebl/ecl/ecp_256_32.c View 1 chunk +2 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/freebl/gcm.c View 2 chunks +4 lines, -2 lines 0 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11obj.c View 4 chunks +21 lines, -21 lines 2 comments Download
M mozilla/security/nss/lib/pk11wrap/pk11pub.h View 2 chunks +11 lines, -11 lines 0 comments Download
M patches/nss-aes-gcm.patch View 4 chunks +24 lines, -4 lines 0 comments Download
D patches/nss-encrypt-with-sym-key.patch View 1 chunk +0 lines, -120 lines 0 comments Download
A + patches/nss-pk11-encrypt.patch View 5 chunks +42 lines, -33 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
wtc
7 years, 8 months ago (2013-03-29 19:25:19 UTC) #1
Ryan Sleevi
lgtm
7 years, 8 months ago (2013-03-29 19:26:41 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/13327005/1
7 years, 8 months ago (2013-03-29 19:27:31 UTC) #3
commit-bot: I haz the power
Failed to apply patch for third_party/nss/patches/nss-pk11-encrypt.patch: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-03-29 19:27:39 UTC) #4
wtc
Committed patchset #1 manually as r191424 (presubmit successful).
7 years, 8 months ago (2013-03-29 19:28:54 UTC) #5
ramant (doing other things)
lgtm https://codereview.chromium.org/13327005/diff/1/mozilla/security/nss/lib/pk11wrap/pk11obj.c File mozilla/security/nss/lib/pk11wrap/pk11obj.c (right): https://codereview.chromium.org/13327005/diff/1/mozilla/security/nss/lib/pk11wrap/pk11obj.c#newcode904 mozilla/security/nss/lib/pk11wrap/pk11obj.c:904: *outLen = len; nit: why delete spaces between ...
7 years, 8 months ago (2013-03-29 19:35:10 UTC) #6
wtc
7 years, 8 months ago (2013-03-29 20:52:19 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/13327005/diff/1/mozilla/security/nss/lib/pk11...
File mozilla/security/nss/lib/pk11wrap/pk11obj.c (right):

https://codereview.chromium.org/13327005/diff/1/mozilla/security/nss/lib/pk11...
mozilla/security/nss/lib/pk11wrap/pk11obj.c:904: *outLen = len;

On 2013/03/29 19:35:10, ramant wrote:
> nit: why delete spaces between arguments in line# 903?

What I did here was to reorder the PK11_Encrypt and PK11_Decrypt
functions, listing PK11_Decrypt before Pk11_Encrypt.
In one function there were no spaces between the arguments.

NSS doesn't have a good Style Guide, so this kind of
inconsistency is common.

Powered by Google App Engine
This is Rietveld 408576698