[openssl/openssl] d12b82: Fix HPKE and DHKEM for X25519 and X448 on s390x

Juergen Christ noreply at github.com
Tue Sep 27 14:55:36 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: d12b824ddaee502400c19bf8c32e1ada3111fc50
      https://github.com/openssl/openssl/commit/d12b824ddaee502400c19bf8c32e1ada3111fc50
  Author: Juergen Christ <jchrist at linux.ibm.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M providers/implementations/keymgmt/ecx_kmgmt.c

  Log Message:
  -----------
  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 at linux.ibm.com>

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19278)




More information about the openssl-commits mailing list