summaryrefslogtreecommitdiff
path: root/crypto/lz4.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-04-11 21:57:39 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2019-04-18 22:15:03 +0800
commitd5b14e972b3bdf8b8ef1736f469f3d0267f46712 (patch)
tree966ec10c12ce02f401ceee7a9e9ca6ee2d4e5df5 /crypto/lz4.c
parent656596ade5de15f7dc7ba2ebf51054b0e8182215 (diff)
downloadlinux-crypto-d5b14e972b3bdf8b8ef1736f469f3d0267f46712.tar.gz
linux-crypto-d5b14e972b3bdf8b8ef1736f469f3d0267f46712.zip
crypto: testmgr - fuzz hashes against their generic implementation
When the extra crypto self-tests are enabled, test each hash algorithm against its generic implementation when one is available. This involves: checking the algorithm properties for consistency, then randomly generating test vectors using the generic implementation and running them against the implementation under test. Both good and bad inputs are tested. This has already detected a bug in the x86 implementation of poly1305, bugs in crct10dif, and an inconsistency in cbcmac. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/lz4.c')
0 files changed, 0 insertions, 0 deletions