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 loop. Cc: Eric Biggers <ebiggers@xxxxxxxxxx> Cc: Theodore Ts'o <tytso@xxxxxxx> Cc: Steve Capper <steve.capper@xxxxxxx> 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(-) -- 2.18.0