From c5b5bd910507520f7974a156a1de9d187f23bc2f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 8 Jan 2017 15:28:37 -0800 Subject: New ISAAC pRNG. This replaces other local hacks for random data. Platforms must seed the pRNGs by offering an nni_plat_seed_prng() routine. Implementations for POSIX using various options (including the /dev/urandom device) are supplied. --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ac029bc9..12700a5c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -49,6 +49,8 @@ set (NNG_SOURCES core/platform.h core/protocol.c core/protocol.h + core/random.c + core/random.h core/socket.c core/socket.h core/thread.c @@ -63,6 +65,7 @@ set (NNG_SOURCES platform/posix/posix_clock.c platform/posix/posix_debug.c platform/posix/posix_net.c + platform/posix/posix_rand.c platform/posix/posix_thread.c protocol/pair/pair.c -- cgit v1.2.3-70-g09d2