Home GnuPG

rinjdael-aes: use zero offset vector load/store when possible

Description

rinjdael-aes: use zero offset vector load/store when possible

* cipher/rijndael-ppc-common.h (asm_aligned_ld, asm_aligned_st): Use
zero offset instruction variant when input offset is constant zero.
* cipher/rijndael-ppc.c (asm_load_be_noswap)
(asm_store_be_noswap): Likewise.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Feb 2 2020, 6:52 PM
Parents
rC114bbc45e971: Add POWER9 little-endian variant of PPC AES implementation
Branches
Unknown
Tags
Unknown