tor/changes/bug18943
Yawning Angel 8f292f1c33 Fix keccak-tiny portability on exotic platforms.
* 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.
2016-05-03 16:12:07 -04:00

7 lines
275 B
Plaintext

o Major bugfixes (crypto, portability):
- The SHA3 and SHAKE routines now produce the correct output on
Big Endian systems, unbreaking the unit tests. No code calls
either algorithm family yet, so this is primarily a build fix.
Closes ticket 18943.