crypto: vmx - Add support for VMS instructions by ASM
authorLeonidas S. Barbosa <leosilva@linux.vnet.ibm.com>
Fri, 6 Feb 2015 16:59:35 +0000 (14:59 -0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 28 Feb 2015 10:13:46 +0000 (23:13 +1300)
commit5c380d623ed30b71a2441fb4f2e053a4e1a50794
tree90caf15f95a1adc480bf91b9736a5d16028e6045
parentcc333cd68dfae191ce02308657a50f21d63b7cd5
crypto: vmx - Add support for VMS instructions by ASM

OpenSSL implements optimized ASM algorithms which support
VMX instructions on Power 8 CPU.

These scripts generate an endian-agnostic ASM implementation
in order to support both big and little-endian.
- aesp8-ppc.pl: implements suport for AES instructions
implemented by POWER8 processor.
- ghashp8-ppc.pl: implements support for  GHASH for Power8.
- ppc-xlate.pl:  ppc assembler distiller.

These code has been adopted from OpenSSL project in collaboration
with the original author (Andy Polyakov <appro@openssl.org>).

Signed-off-by: Leonidas S. Barbosa <leosilva@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/vmx/aesp8-ppc.pl [new file with mode: 0755]
drivers/crypto/vmx/ghashp8-ppc.pl [new file with mode: 0755]
drivers/crypto/vmx/ppc-xlate.pl [new file with mode: 0755]