[openssl/openssl] affc07: s390x: Optimize kmac

Tomas Mraz noreply at reply.github.openssl.org
Tue Jul 26 14:27:50 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: affc070aabc930aeaba50f0dd6b3e0b7a2ddc399
      https://github.openssl.org/openssl/openssl/commit/affc070aabc930aeaba50f0dd6b3e0b7a2ddc399
  Author: Juergen Christ <jchrist at linux.ibm.com>
  Date:   2022-07-26 (Tue, 26 Jul 2022)

  Changed paths:
    M providers/implementations/digests/sha3_prov.c

  Log Message:
  -----------
  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 at linux.ibm.com>

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18863)




More information about the openssl-commits mailing list