diff options
author | Yawning Angel <yawning@schwanenlied.me> | 2016-05-02 10:24:35 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-03 16:12:07 -0400 |
commit | 8f292f1c33b033f36e17969f206c9332c0241e9a (patch) | |
tree | d9d8f6e96a7395922216bdd6358e802e86ece74f /changes/bug18943 | |
parent | 054d9398531b148d8b41c382da36c83c0381e09e (diff) | |
download | tor-8f292f1c33b033f36e17969f206c9332c0241e9a.tar.gz tor-8f292f1c33b033f36e17969f206c9332c0241e9a.zip |
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.
Diffstat (limited to 'changes/bug18943')
-rw-r--r-- | changes/bug18943 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug18943 b/changes/bug18943 new file mode 100644 index 0000000000..53569f05cb --- /dev/null +++ b/changes/bug18943 @@ -0,0 +1,6 @@ + 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. + |