]> git.ipfire.org Git - thirdparty/openssl.git/commit
don't use asm accelerated path on big endian power9
authorNeil Horman <nhorman@openssl.org>
Mon, 9 Feb 2026 17:55:50 +0000 (12:55 -0500)
committerNeil Horman <nhorman@openssl.org>
Tue, 17 Feb 2026 14:11:43 +0000 (09:11 -0500)
commitb02b04fbad809c82efbf1e3274e6a22caf997b8d
tree3b7e79d03be3ffa51610486c76f4142ba6a76bfb
parent713eb194a88203dab04423a0693ae0a0c88634ac
don't use asm accelerated path on big endian power9

https://github.com/openssl/openssl/issues/29845

Found that our hardware accelerated path doesn't work on big endian
systems, so make sure that we only use it when little endian is defined

We also noted that PPC_AES_GCM_CAPABLE gets defined to zero when the
capabilities register notes that the hardware isn't capable of the
needed instructions, but that still includes the asm path as
PPC_AES_GCM_CAPABLE is still defined.

Fix both issues

Fixes #29845

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
MergeDate: Tue Feb 17 14:11:46 2026
(Merged from https://github.com/openssl/openssl/pull/29968)
include/crypto/aes_platform.h