summaryrefslogtreecommitdiff
path: root/arch/powerpc/crypto/crc-vpmsum_test.c
AgeCommit message (Collapse)AuthorFilesLines
2017-03-24crypto: powerpc - Stress test for vpmsum implementationsDaniel Axtens1-0/+137
vpmsum implementations often don't kick in for short test vectors. This is a simple test module that does a configurable number of random tests, each up to 64kB and each with random offsets. Both CRC-T10DIF and CRC32C are tested. Cc: Anton Blanchard <anton@samba.org> Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>