Home GnuPG

Reduce overhead on generic hash write function

Description

Reduce overhead on generic hash write function

* cipher/hash-common.c (_gcry_md_block_write): Remove recursive
function call; Use buf_cpy for copying buffers; Burn stack only once.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Mar 21 2019, 6:43 PM
Parents
rCf8d14df1abd6: sha1-avx: use vmovdqa instead of movdqa
Branches
Unknown
Tags
Unknown