Commit 73c24371 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: s390/sha3 - Use cpu byte-order when exporting



The sha3 partial hash on s390 is in little-endian just like the
final hash.  However the generic implementation produces native
or big-endian partial hashes.

Make s390 sha3 conform to that by doing the byte-swap on export
and import.

Reported-by: default avatarIngo Franzki <ifranzki@linux.ibm.com>
Fixes: 6f90ba70 ("crypto: s390/sha3 - Use API partial block handling")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1b39bc4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment