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

Issue 515383002: Avoids MSVC warnings about possible value truncation. (Closed)

Created:
6 years, 3 months ago by wtc
Modified:
6 years, 3 months ago
Reviewers:
agl, Peter Kasting
CC:
chromium-reviews
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Also add a PRUint32 cast to counter >> 32. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M nss/lib/freebl/chacha20/chacha20.c View 1 1 chunk +2 lines, -2 lines 0 comments Download
M nss/lib/freebl/poly1305/poly1305.c View 1 chunk +4 lines, -4 lines 0 comments Download
M patches/nss-chacha20-poly1305.patch View 1 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
wtc
https://codereview.chromium.org/515383002/diff/1/nss/lib/freebl/chacha20/chacha20.c File nss/lib/freebl/chacha20/chacha20.c (right): https://codereview.chromium.org/515383002/diff/1/nss/lib/freebl/chacha20/chacha20.c#newcode82 nss/lib/freebl/chacha20/chacha20.c:82: input[13] = counter >> 32; Just wanted to confirm: ...
6 years, 3 months ago (2014-08-28 20:45:11 UTC) #1
agl
lgtm https://codereview.chromium.org/515383002/diff/1/nss/lib/freebl/chacha20/chacha20.c File nss/lib/freebl/chacha20/chacha20.c (right): https://codereview.chromium.org/515383002/diff/1/nss/lib/freebl/chacha20/chacha20.c#newcode82 nss/lib/freebl/chacha20/chacha20.c:82: input[13] = counter >> 32; On 2014/08/28 20:45:11, ...
6 years, 3 months ago (2014-08-28 20:51:31 UTC) #2
Peter Kasting
https://codereview.chromium.org/515383002/diff/1/nss/lib/freebl/chacha20/chacha20.c File nss/lib/freebl/chacha20/chacha20.c (right): https://codereview.chromium.org/515383002/diff/1/nss/lib/freebl/chacha20/chacha20.c#newcode82 nss/lib/freebl/chacha20/chacha20.c:82: input[13] = counter >> 32; On 2014/08/28 20:51:30, agl ...
6 years, 3 months ago (2014-08-28 21:11:44 UTC) #3
wtc
Please review patch set 2. I added a cast to 'counter >> 32'.
6 years, 3 months ago (2014-08-28 21:17:31 UTC) #4
wtc
The CQ bit was checked by wtc@chromium.org
6 years, 3 months ago (2014-08-28 22:13:48 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/515383002/20001
6 years, 3 months ago (2014-08-28 22:14:16 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 291717
6 years, 3 months ago (2014-08-28 22:14:47 UTC) #7
agl
6 years, 3 months ago (2014-08-29 00:22:51 UTC) #8
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698