sha512: fix ARM/NEON implementation
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 21 May 2014 05:30:30 +0000 (08:30 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 21 May 2014 05:30:33 +0000 (08:30 +0300)
commitbeb901575f0d6cd6a0a27506ebea9a725754d0cc
treeb485c1abbed1d420d91c52a34d3de5370ea38f1d
parent994c758d8f5471c7e9c38c2834742cca2502d35f
sha512: fix ARM/NEON implementation

* cipher/sha512-armv7-neon.S
(_gcry_sha512_transform_armv7_neon): Byte-swap RW67q and RW1011q
correctly in multi-block loop.
* tests/basic.c (check_digests): Add large test vector for SHA512.
--

Patch fixes bug introduced to multi-block processing by commit df629ba53a6,
"Improve performance of SHA-512/ARM/NEON implementation". Patch also adds
multi-block test vector for SHA-512.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/sha512-armv7-neon.S
tests/basic.c