From 3e49337d9a773a5d805a908bc093b5d72985d8d9 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sat, 13 Jul 2013 13:26:27 -0400 Subject: Add a fast non-cryptographic PRNG. --- node/RuntimeEnvironment.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'node/RuntimeEnvironment.hpp') diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index 3b398e0c..b39a584f 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -31,6 +31,7 @@ #include #include "Identity.hpp" #include "Condition.hpp" +#include "CMWC4096.hpp" namespace ZeroTier { @@ -77,6 +78,9 @@ public: // signal() to prematurely interrupt main loop wait Condition mainLoopWaitCondition; + // non-cryptographic fast PRNG + CMWC4096 prng; + Identity configAuthority; Identity identity; -- cgit v1.2.3