Home GnuPG

Burn stack in transform functions for SHA1 AMD64 implementations

Description

Burn stack in transform functions for SHA1 AMD64 implementations

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

This change reduces per call overhead for SHA1.

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

Details

Provenance
jukiviliAuthored on Apr 5 2019, 4:37 PM
Parents
rCb982900bfe64: Add AVX2/BMI2 implementation of SHA1
Branches
Unknown
Tags
Unknown