[PATCH 0/4] crypto: arm64/aes-blk - cleanups and optimizations for XTS/CTS-CBC
ard.biesheuvel at linaro.org
Thu Sep 20 07:13:59 PDT 2018
On 10 September 2018 at 07:41, Ard Biesheuvel <ard.biesheuvel at linaro.org> wrote:
> Some cleanups and optimizations for the arm64 AES skcipher routines.
> Patch #1 fixes the peculiar use of u8 arrays to refer to AES round keys,
> which are natively arrays of u32.
> Patch #2 partially reverts the use of NEON yield calls, which is not
> needed for skciphers.
> Patch #3 adds support for cts(cbc(aes)) in the NEON chaining mode handling.
> Patch #4 tweaks the XTS handling to remove a literal load from the inner
> Cc: Eric Biggers <ebiggers at google.com>
> Cc: Theodore Ts'o <tytso at mit.edu>
> Cc: Steve Capper <steve.capper at arm.com>
> Ard Biesheuvel (4):
> crypto: arm64/aes-blk - remove pointless (u8 *) casts
> crypto: arm64/aes-blk - revert NEON yield for skciphers
> crypto: arm64/aes-blk - add support for CTS-CBC mode
> crypto: aes/arm64-blk - improve XTS mask handling
> arch/arm64/crypto/aes-ce.S | 5 +
> arch/arm64/crypto/aes-glue.c | 212 +++++++++--
> arch/arm64/crypto/aes-modes.S | 400 ++++++++++----------
> arch/arm64/crypto/aes-neon.S | 6 +
> 4 files changed, 406 insertions(+), 217 deletions(-)
Eric, any thoughts on this?
More information about the linux-arm-kernel