# Re: \[PATCH v2\] crypto: vmx: Improved AES/XTS performance of 6-way unrolling for ppc.

- From: Herbert Xu \<herbert@gondor.apana.org.au\>
- Date: 2023-09-15 10:41:57 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/09/2336043
- Thread: https://ratatoskr.run/linux-crypto/2023/08/2319861/t.md

```text
On Wed, Aug 30, 2023 at 09:49:11AM -0400, Danny Tsen wrote:
> 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 <redacted>
> ---
>  drivers/crypto/vmx/aesp8-ppc.pl | 141 +++++++++++++++++++++-----------
>  1 file changed, 92 insertions(+), 49 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu [ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
```
