]> git.baikalelectronics.ru Git - kernel.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)
commit35dd8fd96bf85aa5ff80d99b17a45253d82a8b16
tree99285819cd07febce9284d17db2aeb21cb267f07
parent414ea7f74afcc4481712f95fe5210ee683cc6d60
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