]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - crypto/Kconfig
crypto: powerpc - Stress test for vpmsum implementations
authorDaniel Axtens <dja@axtens.net>
Wed, 15 Mar 2017 12:37:37 +0000 (23:37 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Mar 2017 14:02:54 +0000 (22:02 +0800)
commit146c8688d99c574d9ff0af17eca51bbd6402a57f
tree0bfe26c5cad237ed9aa49283fa7e72e24059a467
parentb01df1c16c9a6f7a14f843d3ac6b9eef5a7bb17e
crypto: powerpc - Stress test for vpmsum implementations

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>
arch/powerpc/crypto/Makefile
arch/powerpc/crypto/crc-vpmsum_test.c [new file with mode: 0644]
crypto/Kconfig