linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: arm64/aes-ce - implement 5-way interleave for some modes
@ 2019-06-24 17:38 Ard Biesheuvel
  2019-06-24 17:38 ` [PATCH 1/2] crypto: arm64/aes-ce - add 5 way interleave routines Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2019-06-24 17:38 UTC (permalink / raw)
  To: linux-crypto
  Cc: ebiggers, Ard Biesheuvel, herbert, linux-arm-kernel, steve.capper

As it turns out, even a 4-way interleave is not sufficient to saturate
the ThunderX2 pipeline with AES instructions, so this series implements
5-way interleave for modes that can be modified without running out of
registers to maintain chaining mode state across the encryption operation,
i.e., ECB, CBC-decryption and CTR.

Ard Biesheuvel (2):
  crypto: arm64/aes-ce - add 5 way interleave routines
  crypto: arm64/aes-ce - implement 5 way interleave for ECB, CBC and CTR

 arch/arm64/crypto/aes-ce.S    |  60 ++++++----
 arch/arm64/crypto/aes-modes.S | 118 +++++++++++++++-----
 arch/arm64/crypto/aes-neon.S  |  48 +-------
 3 files changed, 127 insertions(+), 99 deletions(-)

-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-07-03 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-24 17:38 [PATCH 0/2] crypto: arm64/aes-ce - implement 5-way interleave for some modes Ard Biesheuvel
2019-06-24 17:38 ` [PATCH 1/2] crypto: arm64/aes-ce - add 5 way interleave routines Ard Biesheuvel
2019-06-24 17:38 ` [PATCH 2/2] crypto: arm64/aes-ce - implement 5 way interleave for ECB, CBC and CTR Ard Biesheuvel
2019-07-03 14:27 ` [PATCH 0/2] crypto: arm64/aes-ce - implement 5-way interleave for some modes 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).