diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-12-14 11:23:03 +0200 |
---|---|---|
committer | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-12-14 11:23:03 +0200 |
commit | ffd9b2aa5abda7f4d7790ed48116ed5d71ab9995 (patch) | |
tree | 235836722016e1ca60416d4bd18fef1bb32d88e1 /cipher/sha256-ssse3-amd64.S | |
parent | c86c35534a153b13e880d0bb0ea3e48e1c0ecaf9 (diff) | |
download | libgcrypt-ffd9b2aa5abda7f4d7790ed48116ed5d71ab9995.tar.gz |
Minor fixes to SHA assembly implementations
* cipher/Makefile.am: Correct 'sha256-avx*.S' to 'sha512-avx*.S'.
* cipher/sha1-ssse3-amd64.S: First line, correct filename.
* cipher/sha256-ssse3-amd64.S: Return correct stack burn depth.
* cipher/sha512-avx-amd64.S: Use 'vzeroall' to clear registers.
* cipher/sha512-avx2-bmi2-amd64.S: Ditto and return correct stack burn
depth.
--
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'cipher/sha256-ssse3-amd64.S')
-rw-r--r-- | cipher/sha256-ssse3-amd64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/sha256-ssse3-amd64.S b/cipher/sha256-ssse3-amd64.S index bcf0e194..9b27f8f7 100644 --- a/cipher/sha256-ssse3-amd64.S +++ b/cipher/sha256-ssse3-amd64.S @@ -504,7 +504,7 @@ _gcry_sha256_transform_amd64_ssse3: pop rbp pop rbx - mov rax, STACK_SIZE + mov eax, STACK_SIZE + 5*8 ret |