Home
last modified time | relevance | path

Searched refs:getentropy (Results 1 – 8 of 8) sorted by relevance

/bionic/tests/
Dsys_random_test.cpp39 TEST(sys_random, getentropy) { in TEST() argument
44 ASSERT_EQ(0, getentropy(buf1, sizeof(buf1))); in TEST()
45 ASSERT_EQ(0, getentropy(buf2, sizeof(buf2))); in TEST()
57 ASSERT_EQ(-1, getentropy(nullptr, 1)); in TEST()
71 ASSERT_EQ(-1, getentropy(buf, sizeof(buf))); in TEST()
/bionic/libc/include/bits/
Dgetentropy.h51 int getentropy(void* _Nonnull __buffer, size_t __buffer_size) __wur __INTRODUCED_IN(28);
/bionic/libc/bionic/
Dgetentropy.cpp52 int getentropy(void* buffer, size_t buffer_size) { in getentropy() function
/bionic/libc/upstream-openbsd/lib/libc/crypt/
Darc4random.c93 if (getentropy(rnd, sizeof rnd) == -1) in _rs_stir()
/bionic/docs/
Dstatus.md147 * `getentropy`/`getrandom` (adding <sys/random.h>)
/bionic/libc/
Dlibc.map.txt1366 getentropy;
DAndroid.bp845 "bionic/getentropy.cpp",
/bionic/tools/versioner/platforms/
Dlibc.map.txt1366 getentropy;