diff options
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 941d75cd1f7c..8655309fe713 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c | |||
@@ -2336,6 +2336,21 @@ static const struct alg_test_desc alg_test_descs[] = { | |||
2336 | } | 2336 | } |
2337 | } | 2337 | } |
2338 | }, { | 2338 | }, { |
2339 | .alg = "ctr(des)", | ||
2340 | .test = alg_test_skcipher, | ||
2341 | .suite = { | ||
2342 | .cipher = { | ||
2343 | .enc = { | ||
2344 | .vecs = des_ctr_enc_tv_template, | ||
2345 | .count = DES_CTR_ENC_TEST_VECTORS | ||
2346 | }, | ||
2347 | .dec = { | ||
2348 | .vecs = des_ctr_dec_tv_template, | ||
2349 | .count = DES_CTR_DEC_TEST_VECTORS | ||
2350 | } | ||
2351 | } | ||
2352 | } | ||
2353 | }, { | ||
2339 | .alg = "ctr(serpent)", | 2354 | .alg = "ctr(serpent)", |
2340 | .test = alg_test_skcipher, | 2355 | .test = alg_test_skcipher, |
2341 | .suite = { | 2356 | .suite = { |