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

Issue 334353004: Use nacl_secure_random() in rand_util_nacl.cc (Closed)

Created:
6 years, 6 months ago by Peng
Modified:
6 years, 6 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Use nacl_secure_random() in rand_util_nacl.cc The rand_util_nacl.cc will be used inside the IRT and outside the IRT. So we need to use nacl_secure_random() which will work for both. BUG=nativeclient:3881 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277853

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -31 lines) Patch
M base/DEPS View 1 1 chunk +0 lines, -1 line 0 comments Download
M base/rand_util_nacl.cc View 1 2 chunks +15 lines, -30 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Peng
PTAL. Thanks.
6 years, 6 months ago (2014-06-16 23:31:54 UTC) #1
Mark Seaborn
Please set BUG= to the NaCl issue you filed. https://codereview.chromium.org/334353004/diff/1/base/rand_util_nacl.cc File base/rand_util_nacl.cc (right): https://codereview.chromium.org/334353004/diff/1/base/rand_util_nacl.cc#newcode17 base/rand_util_nacl.cc:17: ...
6 years, 6 months ago (2014-06-16 23:39:25 UTC) #2
Mark Seaborn
https://codereview.chromium.org/334353004/diff/1/base/rand_util_nacl.cc File base/rand_util_nacl.cc (right): https://codereview.chromium.org/334353004/diff/1/base/rand_util_nacl.cc#newcode10 base/rand_util_nacl.cc:10: #include "native_client/src/untrusted/nacl/nacl_random.h" I think it should work to #include ...
6 years, 6 months ago (2014-06-16 23:47:38 UTC) #3
Peng
https://codereview.chromium.org/334353004/diff/1/base/rand_util_nacl.cc File base/rand_util_nacl.cc (right): https://codereview.chromium.org/334353004/diff/1/base/rand_util_nacl.cc#newcode10 base/rand_util_nacl.cc:10: #include "native_client/src/untrusted/nacl/nacl_random.h" On 2014/06/16 23:47:38, Mark Seaborn wrote: > ...
6 years, 6 months ago (2014-06-16 23:57:26 UTC) #4
Mark Seaborn
LGTM, thanks
6 years, 6 months ago (2014-06-17 00:07:10 UTC) #5
Peng
The CQ bit was checked by penghuang@chromium.org
6 years, 6 months ago (2014-06-17 18:11:56 UTC) #6
Peng
The CQ bit was unchecked by penghuang@chromium.org
6 years, 6 months ago (2014-06-17 18:13:02 UTC) #7
Mark Mentovai
LGTM
6 years, 6 months ago (2014-06-17 18:19:57 UTC) #8
Peng
On 2014/06/17 18:19:57, Mark Mentovai wrote: > LGTM Thanks for review.
6 years, 6 months ago (2014-06-17 18:26:49 UTC) #9
Peng
The CQ bit was checked by penghuang@chromium.org
6 years, 6 months ago (2014-06-17 18:26:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/penghuang@chromium.org/334353004/40001
6 years, 6 months ago (2014-06-17 18:29:47 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 20:28:50 UTC) #12
Message was sent while issue was closed.
Change committed as 277853

Powered by Google App Engine
This is Rietveld 408576698