]> 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)
commit5b3d86e23800961ddcd60b168187c544d32d661a
tree0610a3d0349f43ca25c919356cd005e48bd6854c
parent4021bd84b78994641890fe5ff225ce93bd689e97
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