]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix aesv8 arm assembler code not working on 32 bit Android
authorArne Schwabe <arne@rfc2549.org>
Sat, 26 Apr 2025 18:21:28 +0000 (20:21 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 29 Apr 2025 17:42:09 +0000 (19:42 +0200)
commitb7f6519229a6002f944626ab3db216175dd0f142
tree7e2b138c24663e8703e3c6e77acb847594078bc8
parent5bb2abc26af2e043e34079807166c16e1f5dea08
Fix aesv8 arm assembler code not working on 32 bit Android

OpenSSL uses 'void' as perlasm for the 32 bit armeabi-arm target, which
most notably lacks a 32 or 64 in its name. So while most code that is
targeted for 32 uses !~ /64/ there is one instance that uses ~= /32/,
introduced by commit 8e69c18 between 3.4.0 and 3.5.0. This leaves out
that line on 32 bit android causing a segfault.

This fixes the compilation issue by replacing the ~= /32/ with !~ /64/
compilation taget (see 15-android.conf)

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27510)

(cherry picked from commit 77624f0c5bc7db67acb3134b28bc330533425ab6)
crypto/aes/asm/aesv8-armx.pl