diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-09-10 17:41:14 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-09-21 08:24:50 +0300 |
commit | dd597fb33ff0d2a158d7dd098be6dc849b7c2bcc (patch) | |
tree | b3f3a1c2f95f4e5a087cabc435479b55a28bd4ab /arch/c6x | |
parent | 6e7de6af91b2a271ba111c6d055fc3fe1558c280 (diff) | |
download | linux-dd597fb33ff0d2a158d7dd098be6dc849b7c2bcc.tar.xz |
crypto: arm64/aes-blk - add support for CTS-CBC mode
Currently, we rely on the generic CTS chaining mode wrapper to
instantiate the cts(cbc(aes)) skcipher. Due to the high performance
of the ARMv8 Crypto Extensions AES instructions (~1 cycles per byte),
any overhead in the chaining mode layers is amplified, and so it pays
off considerably to fold the CTS handling into the SIMD routines.
On Cortex-A53, this results in a ~50% speedup for smaller input sizes.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions