aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-04 18:58:59 -0400
committerJack Lloyd <[email protected]>2018-09-04 21:00:00 -0400
commitf69979b0e6829f58925ebce9344d7f9d0f1650a4 (patch)
tree078814b2fbd904fe2078fcea32d69013aa9e7197 /src/build-data
parentbd523b1a08f9e9b7316b3613a5a589471c7785d4 (diff)
Remove Darwin SecRandomCopyBytes
It is the same RNG as arc4random and /dev/urandom. And arc4random seems to be working well for iOS and macOS.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/buildh.in4
-rw-r--r--src/build-data/os/darwin.txt1
-rw-r--r--src/build-data/policy/bsi.txt1
-rw-r--r--src/build-data/policy/modern.txt1
-rw-r--r--src/build-data/policy/nist.txt1
5 files changed, 2 insertions, 6 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 653c56bc7..023bfa5fe 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -170,8 +170,8 @@
* broken system RNG.
*/
#define BOTAN_ENTROPY_DEFAULT_SOURCES \
- { "rdseed", "rdrand", "darwin_secrandom", "getentropy", \
- "dev_random", "system_rng", "proc_walk", "system_stats" }
+ { "rdseed", "rdrand", "getentropy", "dev_random", \
+ "system_rng", "proc_walk", "system_stats" }
/* Multiplier on a block cipher's native parallelism */
#define BOTAN_BLOCK_CIPHER_PAR_MULT 4
diff --git a/src/build-data/os/darwin.txt b/src/build-data/os/darwin.txt
index 5f460b1c6..1a2f80690 100644
--- a/src/build-data/os/darwin.txt
+++ b/src/build-data/os/darwin.txt
@@ -14,7 +14,6 @@ posix1
posix_mlock
arc4random
dev_random
-security_framework
commoncrypto
sockets
diff --git a/src/build-data/policy/bsi.txt b/src/build-data/policy/bsi.txt
index f9950c7c7..5f601bfe2 100644
--- a/src/build-data/policy/bsi.txt
+++ b/src/build-data/policy/bsi.txt
@@ -65,7 +65,6 @@ sha2_32_x86
sha2_32_armv8
# entropy sources
-darwin_secrandom
dev_random
proc_walk
rdrand
diff --git a/src/build-data/policy/modern.txt b/src/build-data/policy/modern.txt
index ae659087c..f53322e79 100644
--- a/src/build-data/policy/modern.txt
+++ b/src/build-data/policy/modern.txt
@@ -82,7 +82,6 @@ rdrand_rng
system_rng
# entropy sources
-darwin_secrandom
dev_random
proc_walk
rdrand
diff --git a/src/build-data/policy/nist.txt b/src/build-data/policy/nist.txt
index d9f698e31..cbc08eacb 100644
--- a/src/build-data/policy/nist.txt
+++ b/src/build-data/policy/nist.txt
@@ -69,7 +69,6 @@ sha2_32_x86
sha2_32_armv8
# entropy sources
-darwin_secrandom
dev_random
proc_walk
rdrand