]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
sha: Add the missing W64_EXIT epilogue macro
authorMartin Storsjö <martin@martin.st>
Tue, 23 Apr 2013 14:54:59 +0000 (17:54 +0300)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 23 Apr 2013 16:46:46 +0000 (18:46 +0200)
ChangeLog
x86_64/sha256-compress.asm
x86_64/sha512-compress.asm

index 8dc48dee7de46e64e801d9f0e1919b796f7ae29b..4a1b169dc8432e8637d52da1edc231b067584605 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 2013-04-23  Niels Möller  <nisse@lysator.liu.se>
 
        From Martin Storsjö:
+       * x86_64/sha256-compress.asm: Add forgotten W64_EXIT.
+       * x86_64/sha512-compress.asm: Likewise.
        * x86_64/salsa20-crypt.asm (Lpartial): Don't return via W64_EXIT
        within this subfunction.
        * x86_64/machine.m4 (W64_ENTRY): Use movdqu instead of movdqa for
index 6bfb7a78c9f4087a88f70c29b18c897d1eabb1ae..385654c2d2725aec7ebc63cd8cf9b8bea2008829 100644 (file)
@@ -192,5 +192,6 @@ PROLOGUE(_nettle_sha256_compress)
        mov     112(%rsp),%r15
 
        add     $120, %rsp
+       W64_EXIT(3, 0)
        ret
 EPILOGUE(_nettle_sha256_compress)
index 21df82a2310e0f33f94f3fa973ad3c2985870489..663e68e960e6f9088f5c59de0c0e05dd3db78dcc 100644 (file)
@@ -192,5 +192,6 @@ PROLOGUE(_nettle_sha512_compress)
        mov     176(%rsp),%r15
 
        add     $184, %rsp
+       W64_EXIT(3, 0)
        ret
 EPILOGUE(_nettle_sha512_compress)