]> git.ipfire.org Git - thirdparty/openssl.git/commit
s390x: Optimize kmac
authorJuergen Christ <jchrist@linux.ibm.com>
Mon, 25 Jul 2022 09:31:20 +0000 (11:31 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 26 Jul 2022 14:27:21 +0000 (16:27 +0200)
commitaffc070aabc930aeaba50f0dd6b3e0b7a2ddc399
treeeb646bb7c4bb9703ca9b348333619b5ac777e869
parent7a86cb69830bf0a8845cd17e606f612109c7564b
s390x: Optimize kmac

Use hardware acceleration for kmac on s390x.  Since klmd does not support
kmac, perform padding of the last block by hand and use kimd.  Yields a
performance improvement of between 2x and 3x.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18863)
providers/implementations/digests/sha3_prov.c