]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ee8494636760b01d572ef914aa97e3a9167b3b4
tree0610a3d0349f43ca25c919356cd005e48bd6854c
parent83323484920ba6bc82d731b450c6eacd1d01d2a9
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