[openssl/openssl] f225fb: S390X: Fix Ed448ph

Juergen Christ noreply at github.com
Thu Jan 19 13:11:22 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: f225fbf9521395aff86e85883db9bcb083eab154
      https://github.com/openssl/openssl/commit/f225fbf9521395aff86e85883db9bcb083eab154
  Author: Juergen Christ <jchrist at linux.ibm.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M providers/implementations/signature/eddsa_sig.c

  Log Message:
  -----------
  S390X: Fix Ed448ph

CPACF does not support pre-hashing.  This was considered correctly for
Ed25519ph, but not for Ed448ph which lead to errors in the test_evp suite
(test vector 20 - pre-hashing without context string).  Fix this by using the
non-accelerated version of Ed448 also if no context string is provided, but
pre-hashing is performed.

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

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20067)




More information about the openssl-commits mailing list