diff options
author | Pascal van Leeuwen <pascalvanl@gmail.com> | 2019-09-13 17:20:38 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-10-05 01:06:03 +1000 |
commit | 05723076220ed9c99b8df295d5411455d8c1dd8a (patch) | |
tree | 07b2fc54c0fdbb1a4a66c5b67a2a0aceb9451c7a /crypto/testmgr.c | |
parent | 236d747e214f7b2aac09da04eed85b4ccc396bb9 (diff) | |
download | linux-crypto-05723076220ed9c99b8df295d5411455d8c1dd8a.tar.gz linux-crypto-05723076220ed9c99b8df295d5411455d8c1dd8a.zip |
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index c39e39e5..40d94ad7 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 = { |