Home GnuPG

Chacha20/poly1305 - Optimized chacha20/poly1305 for P10 operation

Description

Chacha20/poly1305 - Optimized chacha20/poly1305 for P10 operation

* configure.ac: Added chacha20 and poly1305 assembly implementations.
* cipher/chacha20-p10le-8x.s: (New) - support 8 blocks (512 bytes)
unrolling.
* cipher/poly1305-p10le.s: (New) - support 4 blocks (128 bytes)
unrolling.
* cipher/Makefile.am: Added new chacha20 and poly1305 files.
* cipher/chacha20.c: Added PPC p10 le support for 8x chacha20.
* cipher/poly1305.c: Added PPC p10 le support for 4x poly1305.
* cipher/poly1305-internal.h: Added PPC p10 le support for poly1305.
---

[jk: cosmetic changes to C code]
[jk: fix building on ppc64be]

  • GnuPG-bug-id: T6006
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
dannytsenAuthored on Jun 12 2022, 8:30 PM
jukiviliCommitted on Jun 12 2022, 9:02 PM
Parents
rC6d32bf80846a: kdf: Add support for One-Step KDF with MAC.
Branches
Unknown
Tags
Unknown
Tasks
T6006: Optimize Chacha20 and Poly1305 for PPC P10 LE