diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-13 13:26:27 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-13 13:26:27 -0400 |
| commit | 3e49337d9a773a5d805a908bc093b5d72985d8d9 (patch) | |
| tree | dd8bf524287442c1c3a30f9390d712b77c0e53d0 /node/RuntimeEnvironment.hpp | |
| parent | c6dd5b239ff30a192c5bc6e784fd5d4b3085646d (diff) | |
| download | infinitytier-3e49337d9a773a5d805a908bc093b5d72985d8d9.tar.gz infinitytier-3e49337d9a773a5d805a908bc093b5d72985d8d9.zip | |
Add a fast non-cryptographic PRNG.
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <string> #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; |
