]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix HPKE and DHKEM for X25519 and X448 on s390x
authorJuergen Christ <jchrist@linux.ibm.com>
Mon, 26 Sep 2022 12:26:28 +0000 (14:26 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 27 Sep 2022 14:52:22 +0000 (16:52 +0200)
commitd12b824ddaee502400c19bf8c32e1ada3111fc50
tree23027d9bb7a3d676f913abcb3c171bdc07c1e90f
parent8bc703c2886c2104f1d472ab681bc7a8c081427a
Fix HPKE and DHKEM for X25519 and X448 on s390x

The IKM was not respected by the s390x specific implementations of X25519 and
X448 keygen.  This caused test failures and wrong results if the PCC
instruction was actually available and supported X25519 and/or X448.

Fixes: 78c44b05945b ("Add HPKE DHKEM provider support for EC, X25519 and X448.")
Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19278)
providers/implementations/keymgmt/ecx_kmgmt.c