crypto: testmgr - identify test vectors by name rather than number
authorEric Biggers <ebiggers@google.com>
Fri, 12 Apr 2019 04:57:37 +0000 (21:57 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Apr 2019 14:15:03 +0000 (22:15 +0800)
commit951d13328a8a366a3bc2f9321636ee09e6f61c99
tree0610a3d0349f43ca25c919356cd005e48bd6854c
parent5283a8ee9badf699bd4a5a622011f9d4d50fecde
crypto: testmgr - identify test vectors by name rather than number

In preparation for fuzz testing algorithms against their generic
implementation, make error messages in testmgr identify test vectors by
name rather than index.  Built-in test vectors are simply "named" by
their index in testmgr.h, as before.  But (in later patches) generated
test vectors will be given more descriptive names to help developers
debug problems detected with them.

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