]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: testmgr - add hash finup tests
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 1 Jul 2018 07:02:35 +0000 (08:02 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 8 Jul 2018 16:33:35 +0000 (00:33 +0800)
commit76715095933b3a2e6082e171bc82ecd90baf9af0
tree99285819cd07febce9284d17db2aeb21cb267f07
parent26497e72a1aba4d27c50c4cbf0182db94e58a590
crypto: testmgr - add hash finup tests

The testmgr hash tests were testing init, digest, update and final
methods but not the finup method. Add a test for this one too.

While doing this, make sure we only run the partial tests once with
the digest tests and skip them with the final and finup tests since
they are the same.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c