Back out NaCl since the old one with xmm6 salsa2012 does not support multi-block use and the new one is slower.

This commit is contained in:
Adam Ierymenko 2017-04-17 17:54:12 -07:00
parent db0edf154c
commit 7a94f63058
31 changed files with 18 additions and 792 deletions

View file

@ -10,8 +10,6 @@
#include "Constants.hpp"
#include "Salsa20.hpp"
#ifndef ZT_USE_LIBSODIUM
#define ROTATE(v,c) (((v) << (c)) | ((v) >> (32 - (c))))
#define XOR(v,w) ((v) ^ (w))
#define PLUS(v,w) ((uint32_t)((v) + (w)))
@ -1345,5 +1343,3 @@ void Salsa20::crypt20(const void *in,void *out,unsigned int bytes)
}
} // namespace ZeroTier
#endif // !ZT_USE_LIBSODIUM