]> git.ipfire.org Git - thirdparty/openssl.git/commit
Workaround for RSA on AArch64 Big Endian
authorNikolay Nikolaev <nicknickolaev@gmail.com>
Tue, 24 Dec 2024 11:26:09 +0000 (13:26 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 15 Jan 2025 16:52:29 +0000 (17:52 +0100)
commitb26894ec6945656113fd9556527765aba08e4355
tree83c759c8979942eff036fa2edb5e6d99cc8e5a74
parent0b1d3ebb70a13917cf28ed934150c29819d95997
Workaround for RSA on AArch64 Big Endian

10646160125 introduced and optimized RSA NEON implementation
for AArch64 architecture, namely Cortex-A72 and Neoverse N1.
This implementation is broken in Big Endian mode, which is not
widely used, therefore not properly verified.
Here we disable this optimized implementation when Big Endian
platform is used.

Fixes: #22687
CLA: trivial

Signed-off-by: Nikolay Nikolaev <nicknickolaev@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26257)
crypto/bn/asm/armv8-mont.pl