Home GnuPG

Burn stack in transform functions for SHA2 AMD64 implementations

Description

Burn stack in transform functions for SHA2 AMD64 implementations

* cipher/sha256-avx-amd64.S: Burn stack inside transform functions.
* cipher/sha256-avx2-bmi2-amd64.S: Ditto.
* cipher/sha256-ssse3-amd64.S: Ditto.
* cipher/sha512-avx-amd64.S: Ditto.
* cipher/sha512-avx2-bmi2-amd64.S: Ditto.
* cipher/sha512-ssse3-amd64.S: Ditto.

This change reduces per call overhead for SHA256 & SHA512.

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Apr 5 2019, 4:38 PM
Parents
rCf3d4bd90662f: Burn stack in transform functions for SHA1 AMD64 implementations
Branches
Unknown
Tags
Unknown