]> git.ipfire.org Git - thirdparty/openssl.git/commit
fix small footprint builds on arm
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 9 Sep 2024 15:09:34 +0000 (17:09 +0200)
committerPauli <ppzgs1@gmail.com>
Wed, 11 Sep 2024 23:10:28 +0000 (09:10 +1000)
commit43e804acc6dedff53e65376a16e229680b51bae7
treedd13f004ae0dbf6b533396d0e948285b55e47fb8
parentcd0819276d86f286c2079ac124cf6baedd1e7f7a
fix small footprint builds on arm

Building with '-D OPENSSL_SMALL_FOOTPRINT' for aarch64 fails due to
'gcm_ghash_4bit' being undeclared.  Fix that by not setting the function
pointer when building with OPENSSL_SMALL_FOOTPRINT, matching openssl
behavior on x86.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25419)

(cherry picked from commit 2a53df6947e195ac08bc04c9d2fec1fed977668f)
crypto/modes/gcm128.c