Skip to content
Commit 6df6a44f authored by Juergen Christ's avatar Juergen Christ Committed by Tomas Mraz
Browse files

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: default avatarJuergen Christ <jchrist@linux.ibm.com>

Reviewed-by: default avatarHugo Landau <hlandau@openssl.org>
Reviewed-by: default avatarTomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18863)

(cherry picked from commit affc070a)
parent 61763c03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment