Skip to content

Commit

Permalink
crypto: vmx - Improved AES/XTS performance of 6-way unrolling for ppc
Browse files Browse the repository at this point in the history
Improve AES/XTS performance of 6-way unrolling for PowerPC up
to 17% with tcrypt.  This is done by using one instruction,
vpermxor, to replace xor and vsldoi.

The same changes were applied to OpenSSL code and a pull request was
submitted.

This patch has been tested with the kernel crypto module tcrypt.ko and
has passed the selftest.  The patch is also tested with
CONFIG_CRYPTO_MANAGER_EXTRA_TESTS enabled.

Signed-off-by: Danny Tsen <dtsen@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Danny Tsen authored and Herbert Xu committed Sep 15, 2023
1 parent 65029ee commit 6b36daf
Showing 1 changed file with 92 additions and 49 deletions.
Loading

0 comments on commit 6b36daf

Please sign in to comment.