summaryrefslogtreecommitdiff
path: root/crypto/aegis128l.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-10 12:17:55 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-01-18 18:43:43 +0800
commitceb5ff32cdf5c67a69c97194334ca80f31996e91 (patch)
treec57e06a3b118200b7c0f5774abc647480f1df2b4 /crypto/aegis128l.c
parent7aa2493040d5afc954ef4622598e425b2ec3ad16 (diff)
downloadlinux-crypto-ceb5ff32cdf5c67a69c97194334ca80f31996e91.tar.gz
linux-crypto-ceb5ff32cdf5c67a69c97194334ca80f31996e91.zip
crypto: testmgr - handle endianness correctly in alg_test_crc32c()
The crc32c context is in CPU endianness, whereas the final digest is little endian. alg_test_crc32c() got this mixed up. Fix it. The test passes both before and after, but this patch fixes the following sparse warning: crypto/testmgr.c:1912:24: warning: cast to restricted __le32 Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/aegis128l.c')
0 files changed, 0 insertions, 0 deletions