Home GnuPG

sm4: fix use of GFNI/AVX2 accelerated key expansion

Description

sm4: fix use of GFNI/AVX2 accelerated key expansion

* cipher/sm4.c [USE_GFNI_AVX2] (_gcry_sm4_gfni_avx_expand_key): Remove.
[USE_GFNI_AVX2] (_gcry_sm4_gfni_avx2_expand_key): New.
(sm4_expand_key): Change '_gcry_sm4_gfni_avx_expand_key' to
'_gcry_sm4_gfni_avx2_expand_key'.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jun 28 2022, 12:39 PM
Parents
rC99b7375bd616: camellia-gfni-avx512: remove copy-paste / leftover extra instructions
Branches
Unknown
Tags
Unknown