scrypt: fix for big-endian systems
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 7 Sep 2013 08:52:05 +0000 (11:52 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 7 Sep 2013 08:52:05 +0000 (11:52 +0300)
commit38a038a135d82231eff9d84f1ae3c4a25c6a5e75
tree29ef40b903106b9d49fdbe1950a1b90f1240d1f7
parentf7135e299e659d78906aac3dfdf30f380b5cf9c6
scrypt: fix for big-endian systems

* cipher/scrypt.c (_salsa20_core): Fix endianess issues.
--

On big-endian systems 'tests/t-kdf' was failing scrypt tests. Patch fixes the
issue.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/scrypt.c