]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ef134aaa3f252652305a50d18af80ff93d2715f
tree90caf15f95a1adc480bf91b9736a5d16028e6045
parent17be19a0f4f701fd3c27cab94e9fcf3098d66dcf
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]