diff options
author | Niels Möller <nisse@lysator.liu.se> | 2023-02-16 20:18:59 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2023-02-16 20:18:59 +0100 |
commit | d1d4505b0008752be1108171376a5e9176829f2d (patch) | |
tree | 317f244eb292e53814f0828f2cb36cb255e86691 | |
parent | a68f925b39ba6d43ddb2d3cb5ede389a57bec0f0 (diff) | |
download | nettle-d1d4505b0008752be1108171376a5e9176829f2d.tar.gz |
x86_64: Fix incorrect w64 setup in sha256_compress_n.asm.
Report and fix from Gisle Vanem.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | x86_64/sha256-compress-n.asm | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2023-02-16 Niels Möller <nisse@lysator.liu.se> + + * x86_64/sha256-compress-n.asm: Fix incorrect w64 setup. Report + and fix from Gisle Vanem. + 2023-02-08 Niels Möller <nisse@lysator.liu.se> * examples/nettle-benchmark.c (main): Benchmark ocb_aes128. diff --git a/x86_64/sha256-compress-n.asm b/x86_64/sha256-compress-n.asm index e10d260c..a143a2d0 100644 --- a/x86_64/sha256-compress-n.asm +++ b/x86_64/sha256-compress-n.asm @@ -134,7 +134,7 @@ define(`NOEXPN', ` ALIGN(16) PROLOGUE(_nettle_sha256_compress_n) - W64_ENTRY(3, 0) + W64_ENTRY(4, 0) test BLOCKS, BLOCKS jz .Lend @@ -228,6 +228,6 @@ PROLOGUE(_nettle_sha256_compress_n) add $120, %rsp .Lend: mov INPUT, %rax - W64_EXIT(3, 0) + W64_EXIT(4, 0) ret EPILOGUE(_nettle_sha256_compress_n) |