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

Side by Side Diff: src/trusted/service_runtime/sys_random.h

Issue 537543003: Add a get_random_bytes() syscall to replace the SRPC-based implementation (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix glibc tests Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #ifndef NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_RANDOM_H_
8 #define NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_RANDOM_H_ 1
9
10 #include "native_client/src/include/nacl_base.h"
11 #include "native_client/src/include/portability.h"
12
13 EXTERN_C_BEGIN
14
15 struct NaClAppThread;
16
17 int32_t NaClSysGetRandomBytes(struct NaClAppThread *natp,
18 uint32_t buf_addr, uint32_t buf_size);
19
20 EXTERN_C_END
21
22 #endif
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/service_runtime.gyp ('k') | src/trusted/service_runtime/sys_random.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698