]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix ed25519-donna with SSP on non-x86.
authorYawning Angel <yawning@schwanenlied.me>
Mon, 27 Jul 2015 00:49:11 +0000 (00:49 +0000)
committerYawning Angel <yawning@schwanenlied.me>
Mon, 27 Jul 2015 00:49:11 +0000 (00:49 +0000)
commitc0106118fadb35e22fdbb038c3dfac2a89f816de
treee7f0cf4fe1702f7278a8e4784db68c67e523d2d7
parent5be36a46cab7626c52e0c50e55ca73703698e399
Fix ed25519-donna with SSP on non-x86.

The only reason 16 byte alignment is required is for SSE2 load and
store operations, so only align datastructures to 16 byte boundaries
when building with SSE2 support.

This fixes builds with GCC SSP on platforms that don't have special
case code to do dynamic stack re-alignment (everything not x86/x86_64).

Fixes bug #16666.
src/ext/ed25519/donna/README.tor
src/ext/ed25519/donna/ed25519-donna-portable.h