linux/lib/crypto/powerpc
Eric Biggers beeebffc80 lib/crypto: powerpc/aes: Fix rndkey_from_vsx() on big endian CPUs
I finally got a big endian PPC64 kernel to boot in QEMU.  The PPC64 VSX
optimized AES library code does work in that case, with the exception of
rndkey_from_vsx() which doesn't take into account that the order in
which the VSX code stores the round key words depends on the endianness.
So fix rndkey_from_vsx() to do the right thing on big endian CPUs.

Fixes: 7cf2082e74 ("lib/crypto: powerpc/aes: Migrate POWER8 optimized code into library")
Link: https://lore.kernel.org/r/20260216022104.332991-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2026-02-18 13:38:14 -08:00
..
.gitignore
aes-spe-core.S
aes-spe-keys.S
aes-spe-modes.S
aes-spe-regs.h
aes-tab-4k.S
aes.h lib/crypto: powerpc/aes: Fix rndkey_from_vsx() on big endian CPUs 2026-02-18 13:38:14 -08:00
aesp8-ppc.pl
chacha-p10le-8x.S
chacha.h
curve25519-ppc64le_asm.S
curve25519.h
md5-asm.S
md5.h
poly1305-p10le_64.S
poly1305.h
sha1-powerpc-asm.S
sha1-spe-asm.S
sha1.h
sha256-spe-asm.S
sha256.h