diff options
author | Stephan Mueller <smueller@chronox.de> | 2015-08-19 08:42:07 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-08-19 22:59:48 +0800 |
commit | a6c3ae02a6618beed541ded6c382ab0be90305d6 (patch) | |
tree | 04996cd78a21dba694b36e8c31e3d20554e72884 /crypto | |
parent | 3998613a7daabc01a557be3cbd959bd4186ecdaf (diff) | |
download | linux-crypto-a6c3ae02a6618beed541ded6c382ab0be90305d6.tar.gz linux-crypto-a6c3ae02a6618beed541ded6c382ab0be90305d6.zip |
crypto: cmac - allow usage in FIPS mode
CMAC is an approved cipher in FIPS 140-2. The patch allows the use
of CMAC with TDES and AES in FIPS mode.
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | crypto/testmgr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index d0a42bd3..a865ea99 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2476,6 +2476,7 @@ static const struct alg_test_desc alg_test_descs[] = { } }, { .alg = "cmac(aes)", + .fips_allowed = 1, .test = alg_test_hash, .suite = { .hash = { @@ -2485,6 +2486,7 @@ static const struct alg_test_desc alg_test_descs[] = { } }, { .alg = "cmac(des3_ede)", + .fips_allowed = 1, .test = alg_test_hash, .suite = { .hash = { |