mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
crypto: testmgr - Add a test case for import()/export()
Modify __test_hash() so that hash import/export can be tested from within the kernel. The test is unconditionally done when a struct hash_testvec has its .np > 1. v3: make the test unconditional v2: Leverage template[i].np as suggested by Tim Chen Signed-off-by: Rui Wang <rui.y.wang@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
1e0a6e1747
commit
018ba95c71
1 changed files with 133 additions and 0 deletions
133
crypto/testmgr.c
133
crypto/testmgr.c
Loading…
Add table
Add a link
Reference in a new issue