]> git.ipfire.org Git - thirdparty/openssl.git/commit
s390x: Fix GCM setup
authorJuergen Christ <jchrist@linux.ibm.com>
Mon, 25 Jul 2022 08:34:26 +0000 (10:34 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 23 Nov 2022 17:21:42 +0000 (18:21 +0100)
commit61763c03235bcee37995e7eb68bfc56eeb1cc493
tree0ed413b1743643c9ce2747a26448c9388b1fa926
parent5c7a383d5e3efe7057a11cda4d7413bcdc23ef31
s390x: Fix GCM setup

Rework of GCM code did not include s390x causing NULL pointer dereferences on
GCM operations other than AES-GCM on platforms that support kma.  Fix this by
a proper setup of the function pointers.

Fixes: 92c9086e5c2b ("Use separate function to get GCM functions")
Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18862)

(cherry picked from commit 48e35b99bd0071207cfe39da22eb2502db5c09dc)
crypto/modes/gcm128.c