summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-11-04 10:05:24 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2018-11-09 17:41:39 +0800
commit350885e5b23da21035933530003c99a32dffca26 (patch)
tree20cba790891994a1a2a29c0f43164fb07a1dee45 /crypto/testmgr.c
parent8289b99b6683641386e6c6f1b7db1c1c36a621bf (diff)
downloadlinux-crypto-350885e5b23da21035933530003c99a32dffca26.tar.gz
linux-crypto-350885e5b23da21035933530003c99a32dffca26.zip
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>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 84937ceb..512ebf69 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2812,6 +2812,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}, {
.alg = "cts(cbc(aes))",
.test = alg_test_skcipher,
+ .fips_allowed = 1,
.suite = {
.cipher = __VECS(cts_mode_tv_template)
}