diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-18 17:39:48 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-18 17:39:48 -0400 |
commit | 8c9b73f67b786d9c08ffc98cc4b0f9b7c44b7717 (patch) | |
tree | d75961901641f1d35ed51e604e3fe0fa7e8cb6a2 /ext | |
parent | 37e3bc3467d0f0648abe9dfb51f558465211fa87 (diff) | |
download | infinitytier-8c9b73f67b786d9c08ffc98cc4b0f9b7c44b7717.tar.gz infinitytier-8c9b73f67b786d9c08ffc98cc4b0f9b7c44b7717.zip |
Make Salsa20 variable-round, allowing for Salsa20/12 to be used for Packet 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.
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions