diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2018-10-20 02:01:53 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-11-09 17:41:38 +0800 |
commit | 7da66670775d201f633577f5b15a4bbeebaaa2b0 (patch) | |
tree | 9f4b19d1a0e900ca6f7ed02d069ab755ed2edbb9 /crypto/testmgr.c | |
parent | fa4600734b74f74d9169c3015946d4722f8bcf79 (diff) |
crypto: testmgr - add AES-CFB tests
Add AES128/192/256-CFB testvectors from NIST SP800-38A.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
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 b1f79c6bf409..84937ceb4bd8 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2691,6 +2691,13 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "cfb(aes)", + .test = alg_test_skcipher, + .fips_allowed = 1, + .suite = { + .cipher = __VECS(aes_cfb_tv_template) + }, + }, { .alg = "chacha20", .test = alg_test_skcipher, .suite = { |