summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/Makefile
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-31 23:51:46 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-02-08 15:30:09 +0800
commit2cfcec303ca7d184eb21abeb6182f7439a6fa492 (patch)
tree830484e7fc03190ddd32f3df11c8aec9f782220a /crypto/asymmetric_keys/Makefile
parent34230ccbbbb4488dcce687e762130a823a090f13 (diff)
downloadlinux-crypto-2cfcec303ca7d184eb21abeb6182f7439a6fa492.tar.gz
linux-crypto-2cfcec303ca7d184eb21abeb6182f7439a6fa492.zip
crypto: testmgr - convert skcipher testing to use testvec_configs
Convert alg_test_skcipher() to use the new test framework, adding a list of testvec_configs to test by default. When the extra self-tests are enabled, randomly generated testvec_configs are tested as well. This improves skcipher test coverage mainly because now all algorithms have a variety of data layouts tested, whereas before each algorithm was responsible for declaring its own chunked test cases which were often missing or provided poor test coverage. The new code also tests both the MAY_SLEEP and !MAY_SLEEP cases, different IV alignments, and buffers that cross pages. This has already found a bug in the arm64 ctr-aes-neonbs algorithm. It would have easily found many past bugs. I removed the skcipher chunked test vectors that were the same as non-chunked ones, but left the ones that were unique. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/asymmetric_keys/Makefile')
0 files changed, 0 insertions, 0 deletions