summaryrefslogtreecommitdiff
path: root/node/Identity.cpp
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2018-06-07 17:25:27 -0700
committerJoseph Henry <josephjah@gmail.com>2018-06-07 17:25:27 -0700
commit9681fedbb44a25ffa1108b88a4795e017746ca6c (patch)
tree78ed8bd33e87863aa826f86656aa728bbf777ec8 /node/Identity.cpp
parentb6d97af4514ec433bfbb6d8e6b696a8d62e98bef (diff)
downloadinfinitytier-9681fedbb44a25ffa1108b88a4795e017746ca6c.tar.gz
infinitytier-9681fedbb44a25ffa1108b88a4795e017746ca6c.zip
Spellcheck sweep across codebase
Diffstat (limited to 'node/Identity.cpp')
-rw-r--r--node/Identity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Identity.cpp b/node/Identity.cpp
index 03f27083..1687746b 100644
--- a/node/Identity.cpp
+++ b/node/Identity.cpp
@@ -50,8 +50,8 @@ static inline void _computeMemoryHardHash(const void *publicKey,unsigned int pub
SHA512::hash(digest,publicKey,publicKeyBytes);
// Initialize genmem[] using Salsa20 in a CBC-like configuration since
- // ordinary Salsa20 is randomly seekable. This is good for a cipher
- // but is not what we want for sequential memory-harndess.
+ // ordinary Salsa20 is randomly seek-able. This is good for a cipher
+ // but is not what we want for sequential memory-hardness.
memset(genmem,0,ZT_IDENTITY_GEN_MEMORY);
Salsa20 s20(digest,(char *)digest + 32);
s20.crypt20((char *)genmem,(char *)genmem,64);