From 7de081eae1a381597375556ef9e1abb4f37e6ba4 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 10 Oct 2022 12:56:45 +0200 Subject: [PATCH] sandy2x: align stack But we still need to handle the last step differently if the number of bits is odd or even. --- src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.S b/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.S index 9b3ec108..8d5884c6 100644 --- a/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.S +++ b/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.S @@ -19,7 +19,7 @@ _ladder: mov %rsp,%r11 and $31,%r11 -add $1864,%r11 +add $1888,%r11 sub %r11,%rsp movq %r11,1824(%rsp) movq %r12,1832(%rsp)