Home GnuPG

rijndael-ppc: small speed-up for CBC and CFB encryption

Description

rijndael-ppc: small speed-up for CBC and CFB encryption

* cipher/rijndael-ppc-common.h (AES_ENCRYPT_ALL): Remove
* cipher/rijndael-ppc-functions.h (CFB_ENC_FUNC)
(CBC_ENC_FUNC): Removed two block unrolled loop; Optimized single
block loop for shorter critical-path.

Patch gives small ~3% performance increase for CBC and CFB
encryption, tested with POWER8.

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

Details

Provenance
jukiviliAuthored on Jul 27 2022, 8:29 PM
Parents
rCe51d3b8330a1: sha512: add AArch64 crypto/SHA512 extension implementation
Branches
Unknown
Tags
Unknown