Hi,

This series of patches creates a new target for ppc64le and updates the
current assembly code for ppc64 in order to use the correct byte-order
when need.

Different approaches where tested to byte swap bytes, including the use
of instructions such as lwbrw, but the current version performed 5%
faster than the others.

Regards,
Marcelo Cerri

Marcelo Cerri (4):
  ppc64: add little-endian platform to Configure
  ppc64: adapt SHA1 assembly code to little-endian
  ppc64: adapt SHA2 assembly code to little-endian
  ppc64: adapt AES assembly code to little-endian

 Configure                    |   1 +
 config                       |   5 +-
 crypto/aes/asm/aes-ppc.pl    |  43 ++++++++++
 crypto/sha/asm/sha1-ppc.pl   |  32 ++++++-
 crypto/sha/asm/sha512-ppc.pl | 196 +++++++++++++++++++++++++++++--------------
 5 files changed, 208 insertions(+), 69 deletions(-)

-- 
1.7.12

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to