summaryrefslogtreecommitdiff
path: root/node/Utils.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-04-17 16:43:03 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-04-17 16:43:03 -0700
commitdf48738ac96a6eab5e3baa03f6dd1fb62bdc8040 (patch)
tree703957cc758a396cef0416bfe8571a47a8f4bebf /node/Utils.cpp
parentd8f5cfdee4665451960505d375bd7a20fb0d6f04 (diff)
downloadinfinitytier-df48738ac96a6eab5e3baa03f6dd1fb62bdc8040.tar.gz
infinitytier-df48738ac96a6eab5e3baa03f6dd1fb62bdc8040.zip
Enable use of NaCl for faster X64 Salsa20 implementations. Also include binary for OSX for easy build. Blazingly fast.
Diffstat (limited to 'node/Utils.cpp')
-rw-r--r--node/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Utils.cpp b/node/Utils.cpp
index fb448dd6..92d14d19 100644
--- a/node/Utils.cpp
+++ b/node/Utils.cpp
@@ -156,7 +156,7 @@ void Utils::getSecureRandom(void *buf,unsigned int bytes)
s20Key[1] = (uint64_t)buf; // address of buf
s20Key[2] = (uint64_t)s20Key; // address of s20Key[]
s20Key[3] = (uint64_t)&s20; // address of s20
- s20.init(s20Key,256,s20Key);
+ s20.init(s20Key,s20Key);
}
#ifdef __WINDOWS__