diff options
author | Juergen Christ <jchrist@linux.ibm.com> | 2022-07-13 15:07:16 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-07-14 18:27:26 +0200 |
commit | 086d88a637ecf537af62260e16d4e0011dbb8d1b (patch) | |
tree | 58c074051df88e34d812f97c180323d43ea2c0ef /providers/implementations/digests/null_prov.c | |
parent | 180c8d7ae56378992b90ace9626d6df6ab1d4de8 (diff) | |
download | openssl-new-086d88a637ecf537af62260e16d4e0011dbb8d1b.tar.gz |
s390x: Fix Keccak implementation
s390x does not directly support keccak via CPACF since these instructions
hard-code the padding to either SHA-3 or SHAKE for the "compute last message
digest" function. This caused test errors on Keccak digests. Fix it by using
"compute intermediate message digest" and manually computing the padding for
Keccak.
Fixes: a8b238f0e4c1 ("Fix SHA, SHAKE, and KECCAK ASM flag passing")
Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18794)
Diffstat (limited to 'providers/implementations/digests/null_prov.c')
0 files changed, 0 insertions, 0 deletions