Re: [PATCH 2/4] ppc64: adapt SHA1 assembly code to little-endian

2013-10-31 Thread Andy Polyakov
SHA1 algorithm is defined using 32-bit variables in big-endian. This patch updates sha1-ppc.pl to generate code that byte swaps the input data when needed. Signed-off-by: Marcelo Cerri mhce...@linux.vnet.ibm.com --- crypto/sha/asm/sha1-ppc.pl | 32 1 file

[PATCH 2/4] ppc64: adapt SHA1 assembly code to little-endian

2013-10-29 Thread Marcelo Cerri
SHA1 algorithm is defined using 32-bit variables in big-endian. This patch updates sha1-ppc.pl to generate code that byte swaps the input data when needed. Signed-off-by: Marcelo Cerri mhce...@linux.vnet.ibm.com --- crypto/sha/asm/sha1-ppc.pl | 32 1 file