Home GnuPG

rijndael-ppc: use vector registers for key schedule calculations

Description

rijndael-ppc: use vector registers for key schedule calculations

* cipher/rijndael-ppc.c (_gcry_aes_sbox4_ppc8): Remove.
(bcast_u32_to_vec, u32_from_vec): New.
(_gcry_aes_ppc8_setkey): Use vectors for round key calculation
variables.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Mar 6 2023, 6:46 PM
Parents
rC0b2da804ee81: Add PowerPC vector implementation of SM4
Branches
Unknown
Tags
Unknown