Home GnuPG

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

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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.

Cherry-picked master commit of:
137f1fd82bc9136d434ca41f58d62091b64df6db

  • 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
rCf2ab06bc3ccc: build: Allow build with -Oz.
Branches
Unknown
Tags
Unknown

Event Timeline