aboutsummaryrefslogtreecommitdiff
path: root/src/ext/keccak-tiny
AgeCommit message (Collapse)Author
2017-03-14Improve keccak-tiny performance by 15% on LE intelNick Mathewson
The 64-bit load and store code was generating pretty bad output with my compiler, so I extracted the code from csiphash and used that instead. Close ticket 21737
2016-05-03Fix keccak-tiny portability on `exotic` platforms.Yawning Angel
* SHA-3/SHAKE use little endian for certain things, so byteswap as needed. * The code was written under the assumption that unaligned access to quadwords is allowed, which isn't true particularly on non-Intel.
2015-12-19Use tor specific headers and memwipe() instead of memset_s(), and build.Yawning Angel
This is where things get tor specific. It's just replacing stdint.h and memset_s with the tor compat code so going back is trivial...
2015-12-19Expose an incremental API in addition to the one-shot routines.Yawning Angel
The digest routines use init/update/sum, where sum will automatically copy the internal state to support calculating running digests. The XOF routines use init/absorb/squeeze, which behave exactly as stated on the tin.
2015-12-18Clean import of keccak-tiny (https://github.com/coruus/keccak-tiny)Yawning Angel
As of commit: 64b6647514212b76ae7bca0dea9b7b197d1d8186