Home GnuPG

camellia-aesni-avx: add acceleration for ECB/XTS/CTR32LE modes

Description

camellia-aesni-avx: add acceleration for ECB/XTS/CTR32LE modes

* cipher/camellia-aesni-avx-amd64.S (_gcry_camellia_aesni_avx_ecb_enc)
(_gcry_camellia_aesni_avx_ecb_dec): New.
* cipher/camellia-glue.c (_gcry_camellia_aesni_avx_ecb_enc)
(_gcry_camellia_aesni_avx_ecb_dec): New.
(camellia_setkey): Always enable XTS/ECB/CTR32LE bulk functions.
(camellia_encrypt_blk1_32, camellia_decrypt_blk1_32)
[USE_AESNI_AVX]: Add AESNI/AVX code-path.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Feb 22 2023, 7:19 PM
Parents
rC978b02fca682: sm4: add CTR-mode byte addition for AVX/AVX2/AVX512 implementations
Branches
Unknown
Tags
Unknown