aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Carlier <[email protected]>2019-03-07 20:17:02 +0000
committerDavid Carlier <[email protected]>2019-03-07 20:17:02 +0000
commit1da939d5101ae75c2d2cd942c262212ff8184381 (patch)
tree967a035d8f8f73d997dfc864c87be9d9c96652b8
parent9252df39094fc06106c340838411b1c753983199 (diff)
Android can possibly support arc4random API.
-rw-r--r--doc/os.rst2
-rw-r--r--src/build-data/os/android.txt3
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/os.rst b/doc/os.rst
index d62f298e2..8b151b2d1 100644
--- a/doc/os.rst
+++ b/doc/os.rst
@@ -34,7 +34,7 @@ A summary of OS features as defined in ``src/build-data/os``.
.. csv-table::
:header: "Feature", "a", "a", "c", "d", "d", "e", "f", "h", "h", "h", "i", "i", "l", "l", "m", "n", "n", "o", "q", "s", "u", "w"
- "arc4random", " ", " ", " ", "X", "X", " ", "X", " ", " ", " ", " ", "X", " ", " ", " ", " ", "X", "X", " ", " ", " ", " "
+ "arc4random", " ", "X", " ", "X", "X", " ", "X", " ", " ", " ", " ", "X", " ", " ", " ", " ", "X", "X", " ", " ", " ", " "
"cap_enter", " ", " ", " ", " ", " ", " ", "X", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "
"clock_gettime", "X", "X", " ", " ", "X", " ", "X", "X", "X", "X", " ", " ", "X", " ", " ", " ", "X", "X", "X", "X", " ", " "
"commoncrypto", " ", " ", " ", "X", " ", " ", " ", " ", " ", " ", " ", "X", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "
diff --git a/src/build-data/os/android.txt b/src/build-data/os/android.txt
index 3b0b0c09a..a88b81ec2 100644
--- a/src/build-data/os/android.txt
+++ b/src/build-data/os/android.txt
@@ -6,6 +6,9 @@ posix1
posix_mlock
clock_gettime
+# arc4random_buf preferably backed-up by Chacha20 rather
+# than RC4. can possibly be disabled by --without-os-feature=arc4random
+arc4random
dev_random
# getauxval is available in Android NDK for min API 18 and in Crystax NDK