]> git.ipfire.org Git - thirdparty/openssl.git/commit
s390x: Add hardware acceleration for full AES-XTS
authorHolger Dengler <dengler@linux.ibm.com>
Tue, 6 Aug 2024 12:00:49 +0000 (14:00 +0200)
committerPauli <ppzgs1@gmail.com>
Thu, 12 Sep 2024 23:26:38 +0000 (09:26 +1000)
commit9cd4051e47c8da8398f93f42f0f56750552965f4
tree0a87c23541d26aea2035a51f7bf82fa73c1182a2
parentaf8b7e43e42c08ee5c94dacb1feec1284d47d06d
s390x: Add hardware acceleration for full AES-XTS

The CPACF instruction KM provides support for accelerating the full
AES-XTS algorithm on newer machines for AES_XTS_128 and AES_XTS_256.

Preliminary measurements showed performance improvements of up to 50%,
dependent on the message size.

Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25414)
providers/implementations/ciphers/build.info
providers/implementations/ciphers/cipher_aes_xts.c
providers/implementations/ciphers/cipher_aes_xts.h
providers/implementations/ciphers/cipher_aes_xts_s390x.inc [new file with mode: 0644]