diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-02-03 14:49:35 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-11 17:50:44 +0800 |
commit | 18a97eca5e764e0a6e4001f8ee88062aeb6531c6 (patch) | |
tree | 16ec723d6033ceae3b43ee7a12e0821467213e73 /crypto/testmgr.c | |
parent | dfc76a8b765ceb2e8edd86cb695375936cbc0af3 (diff) | |
download | linux-crypto-18a97eca5e764e0a6e4001f8ee88062aeb6531c6.tar.gz linux-crypto-18a97eca5e764e0a6e4001f8ee88062aeb6531c6.zip |
crypto: testmgr - add test cases for cbcmac(aes)
In preparation of splitting off the CBC-MAC transform in the CCM
driver into a separate algorithm, define some test cases for the
AES incarnation of cbcmac.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 98eb0978..f9c378af 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2514,6 +2514,13 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "cbcmac(aes)", + .fips_allowed = 1, + .test = alg_test_hash, + .suite = { + .hash = __VECS(aes_cbcmac_tv_template) + } + }, { .alg = "ccm(aes)", .test = alg_test_aead, .fips_allowed = 1, |