linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] crypto: arm64/aes-blk - cleanups and optimizations for XTS/CTS-CBC
@ 2018-09-10 14:41 Ard Biesheuvel
  2018-09-10 14:41 ` [PATCH 1/4] crypto: arm64/aes-blk - remove pointless (u8 *) casts Ard Biesheuvel
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ard Biesheuvel @ 2018-09-10 14:41 UTC (permalink / raw)
  To: linux-arm-kernel

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@google.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Steve Capper <steve.capper@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(-)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-09-21  5:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-10 14:41 [PATCH 0/4] crypto: arm64/aes-blk - cleanups and optimizations for XTS/CTS-CBC Ard Biesheuvel
2018-09-10 14:41 ` [PATCH 1/4] crypto: arm64/aes-blk - remove pointless (u8 *) casts Ard Biesheuvel
2018-09-10 14:41 ` [PATCH 2/4] crypto: arm64/aes-blk - revert NEON yield for skciphers Ard Biesheuvel
2018-09-10 14:41 ` [PATCH 3/4] crypto: arm64/aes-blk - add support for CTS-CBC mode Ard Biesheuvel
2018-09-10 14:41 ` [PATCH 4/4] crypto: arm64/aes-blk - improve XTS mask handling Ard Biesheuvel
2018-09-20 14:13 ` [PATCH 0/4] crypto: arm64/aes-blk - cleanups and optimizations for XTS/CTS-CBC Ard Biesheuvel
2018-09-21  5:44 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).