Home GnuPG

cipher: Enable the fast path to ChaCha20 only when supported.

Description

cipher: Enable the fast path to ChaCha20 only when supported.

cipher/cipher-poly1305.c (_gcry_cipher_poly1305_encrypt)
(_gcry_cipher_poly1305_decrypt) [USE_CHACHA20]: Conditionalize.

  • GnuPG-bug-id: T6384
  • Reported-by: Andrew Collier
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 30 2023, 6:47 PM
Parents
rC278ba98497e1: cipher-gcm-ppc: tweak loop structure a bit
Branches
Unknown
Tags
Unknown
Tasks
T6384: libgcrypt link error if cipher chacha20 is not included