crypto: testmgr - mark cts(cbc(aes)) as FIPS allowed

As per Sp800-38A addendum from Oct 2010[1], cts(cbc(aes)) is
allowed as a FIPS mode algorithm. Mark it as such.

[1] https://csrc.nist.gov/publications/detail/sp/800-38a/addendum/final

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Reviewed-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Gilad Ben-Yossef 2018-11-04 10:05:24 +00:00 committed by Herbert Xu
parent 37db69e0b4
commit 196ad6043e
1 changed files with 1 additions and 0 deletions

View File

@ -2812,6 +2812,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}, { }, {
.alg = "cts(cbc(aes))", .alg = "cts(cbc(aes))",
.test = alg_test_skcipher, .test = alg_test_skcipher,
.fips_allowed = 1,
.suite = { .suite = {
.cipher = __VECS(cts_mode_tv_template) .cipher = __VECS(cts_mode_tv_template)
} }