OSDN Git Service

crypto: testmgr - do comparison tests before inauthentic input tests
authorEric Biggers <ebiggers@google.com>
Wed, 4 Mar 2020 22:44:04 +0000 (14:44 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Mar 2020 12:00:13 +0000 (23:00 +1100)
commit8ff357a9d146b94d0a165449cad59adbe36f8b50
tree4e717a0f007d5f99cc18ff92c15e2d23ee0ffc74
parent6f3a06d959f4f38f2beb0a8f25b0e2d5c9792b18
crypto: testmgr - do comparison tests before inauthentic input tests

Do test_aead_vs_generic_impl() before test_aead_inauthentic_inputs() so
that any differences with the generic driver are detected before getting
to the inauthentic input tests, which intentionally use only the driver
being tested (so that they run even if a generic driver is unavailable).

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c