summaryrefslogtreecommitdiff
path: root/node/Salsa20.hpp
AgeCommit message (Collapse)Author
2017-05-03Another very small crypto optimization.Adam Ierymenko
2017-04-20Some code cleanup and make sure any type punning is guarded with ↵Adam Ierymenko
ZT_NO_TYPE_PUNNING.
2017-04-17Delete junk.Adam Ierymenko
2017-04-17Back out NaCl since the old one with xmm6 salsa2012 does not support ↵Adam Ierymenko
multi-block use and the new one is slower.
2017-04-17Enable use of NaCl for faster X64 Salsa20 implementations. Also include ↵Adam Ierymenko
binary for OSX for easy build. Blazingly fast.
2017-02-05Docs, code cleanup, and protect the extra new fields of HELLO with ↵Adam Ierymenko
encryption as a precaution.
2015-10-14Add uint16_t key to Hashtable, and make Salsa20 zero its keyspace on ↵Adam Ierymenko
destruction.
2015-10-09Unroll Salsa20 fully for a little more speed (non-SSE now almost as fast as SSE)Adam Ierymenko
2015-09-30Speed up Salsa20 just a bit.Adam Ierymenko
2015-07-02Revert slow non-SSE Salsa20 modification since it did not fix Android/ARM ↵Adam Ierymenko
issue. Also update Salsa20 comments and clean up a bit.
2015-06-01Apply @marning suggested SSE auto-detect to make builds easier on non-x86 ↵Adam Ierymenko
platforms: https://github.com/mwarning/ZeroTierOne/commit/aa2fd044cb69b97eef1ea38d5fefd18543aae22a
2014-09-16Get rid of __align stuff in Salsa20 -- not portable, does not seem to help ↵Adam Ierymenko
much on newer chips.
2014-07-15SSE optimized Salsa20 -- anywhere from 20% to 50% faster than plain C versionAdam Ierymenko
2013-12-06Dead code removal, fix for cleanup GitHub issue #28Adam Ierymenko
2013-10-18Make Salsa20 variable-round, allowing for Salsa20/12 to be used for Packet ↵Adam Ierymenko
encrypt and decrypt. Profiling analysis found that Salsa20 encrypt was accounting for a nontrivial percentage of CPU time, so it makes sense to cut this load fundamentally. There are no published attacks against Salsa20/12, and DJB believes 20 rounds to be overkill. This should be more than enough for our needs. Obviously incorporating ASM Salsa20 is among the next steps for performance.
2013-09-17More include formatting cleanup.Adam Ierymenko
2013-07-04New git repository for release - version 0.2.0 taggedAdam Ierymenko