This patch series adds the initial support for POWER8 new cryptographic
instructions.

Different versions of the ppc_vcipher_AES_[en|de]crypt were tested and
no significant performance gains where found, even using multiple vector
registers to load all sub-keys in advance. Because of that, the version
included in this series was chosen based on readability. The performance
gain is about 5x in a non-final hardware.

The patch "perlasm/ppc-xlate.pl: vcipher instructions support" is not
necessary for newer versions of GCC and I'd like to hear opinions if
it's worth to include it or not.

Feel free to ask me any questions regarding the code.

Regards,
Marcelo

Marcelo Cerri (4):
  perlasm/ppc-xlate.pl: VMX and VSX register support
  perlasm/ppc-xlate.pl: vcipher instructions support
  ppc: include probe for vcipher support
  ppc: add AES support for POWER8

 Configure                   |  6 +--
 crypto/aes/aes_core.c       |  3 ++
 crypto/aes/asm/aes-ppc.pl   | 96 +++++++++++++++++++++++++++++++++++----------
 crypto/perlasm/ppc-xlate.pl | 51 +++++++++++++++++++++++-
 crypto/ppccap.c             | 36 +++++++++++++++++
 crypto/ppccpuid.pl          |  9 +++++
 6 files changed, 176 insertions(+), 25 deletions(-)

-- 
1.7.12

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to