[openssl/openssl] c04877: Add translation for ECX group parameter

Juergen Christ noreply at github.com
Thu Oct 13 12:28:37 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: c048779520d47962316ddb436d08a050d5659666
      https://github.com/openssl/openssl/commit/c048779520d47962316ddb436d08a050d5659666
  Author: Juergen Christ <jchrist at linux.ibm.com>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M crypto/evp/ctrl_params_translate.c

  Log Message:
  -----------
  Add translation for ECX group parameter

Legacy EVP_PKEY_CTX objects did not support the "group" parameter for X25519
and X448.  The translation of this parameter resulted in an error.  This
caused errors for legacy keys and engines.

Fix this situation by adding a translation that simply checks that the correct
parameter is to be set, but does not actually set anything.  This is correct
since the group name is anyway optional for these two curves.

Fixes #19313

Signed-off-by: Juergen Christ <jchrist at linux.ibm.com>

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19348)




More information about the openssl-commits mailing list