linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] crypto: Accelerated AES/GCM stitched implementation
@ 2022-11-29 11:52 Danny Tsen
  2022-11-30  5:09 ` Eric Biggers
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Tsen @ 2022-11-29 11:52 UTC (permalink / raw)
  To: linux-crypto; +Cc: herbert, leitao, nayna, appro, linux-kernel, ltcgcw, dtsen

This patch series enable an accelerated AES/GCM stitched implementation for
Power10+ CPU(ppc64le).  This module supports AEAD algorithm.  The stitched
implementation provides 3.5X+ better performance than the baseline.

This patch has been tested with the kernel crypto module tcrypt.ko and has
passed the selftest.

Danny Tsen (7):
  powerpc/crypto: Define new module in Kconfig.
  powerpc/crypto: Create new module driver.
  powerpc/crypto: Functions to set round keys and encrypt data.
  powerpc/crypto: Functions for creating hash table and generate hash.
  powerpc/crypto: Glue code to create AEAD algorithm module.
  powerpc/crypto: Added new stitched AES/GCM implementation.
  powerpc/crypto: Perl script to process PowerPC asember source.


 arch/powerpc/crypto/Kconfig  | 11 +++++++++++
 arch/powerpc/crypto/Makefile | 10 ++++++++++
 arch/powerpc/crypto/p10-aes-gcm-glue.c | 341 +++++++++++++++++++++++++
 arch/powerpc/crypto/p10_aes_gcm.S | 1519 +++++++++++++++++++++++++++++
 arch/powerpc/crypto/aesp8-ppc.pl | 3846 ++++++++++++++++++++++++++++++
 arch/powerpc/crypto/ghashp8-ppc.pl | 370 +++++++++++++++++++++++++++++
 arch/powerpc/crypto/ppc-xlate.pl | 229 +++++++++++++++++++++++++++++++
 7 file changed, 6026 insertions(+)
 create mode 100644 arch/powerpc/crypto/p10-aes-gcm-glue.c
 create mode 100644 arch/powerpc/crypto/p10_aes_gcm.S
 create mode 100644 arch/powerpc/crypto/aesp8-ppc.pl
 create mode 100644 arch/powerpc/crypto/ghashp8-ppc.pl
 create mode 100644 arch/powerpc/crypto/ppc-xlate.pl
-- 
2.31.1




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

* Re: [PATCH 0/6] crypto: Accelerated AES/GCM stitched implementation
  2022-11-29 11:52 [PATCH 0/6] crypto: Accelerated AES/GCM stitched implementation Danny Tsen
@ 2022-11-30  5:09 ` Eric Biggers
  2022-11-30 11:08   ` Danny Tsen
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Biggers @ 2022-11-30  5:09 UTC (permalink / raw)
  To: Danny Tsen
  Cc: linux-crypto, herbert, leitao, nayna, appro, linux-kernel, ltcgcw

On Tue, Nov 29, 2022 at 07:52:30PM +0800, Danny Tsen wrote:
> This patch has been tested with the kernel crypto module tcrypt.ko and has
> passed the selftest.

Please make sure you've tested it with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y.

- Eric

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

* Re: [PATCH 0/6] crypto: Accelerated AES/GCM stitched implementation
  2022-11-30  5:09 ` Eric Biggers
@ 2022-11-30 11:08   ` Danny Tsen
  0 siblings, 0 replies; 3+ messages in thread
From: Danny Tsen @ 2022-11-30 11:08 UTC (permalink / raw)
  To: Eric Biggers
  Cc: linux-crypto, herbert, leitao, nayna, appro, linux-kernel, ltcgcw

Hi Eric,

I will test with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y and provide 
updates.  Please ignore my resend patch that I just sent so it is 
threaded under patch 0.

Thanks.

-Danny

On 11/30/22 1:09 PM, Eric Biggers wrote:
> On Tue, Nov 29, 2022 at 07:52:30PM +0800, Danny Tsen wrote:
>> This patch has been tested with the kernel crypto module tcrypt.ko and has
>> passed the selftest.
> Please make sure you've tested it with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y.
>
> - Eric

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

end of thread, other threads:[~2022-11-30 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 11:52 [PATCH 0/6] crypto: Accelerated AES/GCM stitched implementation Danny Tsen
2022-11-30  5:09 ` Eric Biggers
2022-11-30 11:08   ` Danny Tsen

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).