S390X: Fix Ed448ph
authorJuergen Christ <jchrist@linux.ibm.com>
Tue, 17 Jan 2023 18:16:43 +0000 (19:16 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 19 Jan 2023 13:08:36 +0000 (14:08 +0100)
commitf225fbf9521395aff86e85883db9bcb083eab154
treee081c43ed91f15d5ec4ab7283bc515fdd5cfb8e5
parent235ef96049dbe337a3c3c5d419dacbb5a81df1b3
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@linux.ibm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20067)
providers/implementations/signature/eddsa_sig.c