summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorPascal van Leeuwen <pascalvanl@gmail.com>2019-09-13 18:20:38 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-04 18:06:03 +0300
commit8194fd1d715243daf9b15b52270eeba6c1a8db74 (patch)
tree1a74b1c9782b9fc202f9c05369c7153f13cbf4bc /crypto/testmgr.c
parentaa3a43e6e41901a82e47aee172df1eb406470f94 (diff)
downloadlinux-8194fd1d715243daf9b15b52270eeba6c1a8db74.tar.xz
crypto: testmgr - Added testvectors for the hmac(sm3) ahash
Added testvectors for the hmac(sm3) ahash authentication algorithm changes since v1 & v2: -nothing Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index c39e39e55dc2..40d94ad706d4 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -4655,6 +4655,12 @@ static const struct alg_test_desc alg_test_descs[] = {
.hash = __VECS(hmac_sha512_tv_template)
}
}, {
+ .alg = "hmac(sm3)",
+ .test = alg_test_hash,
+ .suite = {
+ .hash = __VECS(hmac_sm3_tv_template)
+ }
+ }, {
.alg = "hmac(streebog256)",
.test = alg_test_hash,
.suite = {