diff options
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index bb54b882d738..5674878ff6c1 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c | |||
@@ -1846,6 +1846,21 @@ static const struct alg_test_desc alg_test_descs[] = { | |||
1846 | } | 1846 | } |
1847 | } | 1847 | } |
1848 | }, { | 1848 | }, { |
1849 | .alg = "ctr(camellia)", | ||
1850 | .test = alg_test_skcipher, | ||
1851 | .suite = { | ||
1852 | .cipher = { | ||
1853 | .enc = { | ||
1854 | .vecs = camellia_ctr_enc_tv_template, | ||
1855 | .count = CAMELLIA_CTR_ENC_TEST_VECTORS | ||
1856 | }, | ||
1857 | .dec = { | ||
1858 | .vecs = camellia_ctr_dec_tv_template, | ||
1859 | .count = CAMELLIA_CTR_DEC_TEST_VECTORS | ||
1860 | } | ||
1861 | } | ||
1862 | } | ||
1863 | }, { | ||
1849 | .alg = "ctr(serpent)", | 1864 | .alg = "ctr(serpent)", |
1850 | .test = alg_test_skcipher, | 1865 | .test = alg_test_skcipher, |
1851 | .suite = { | 1866 | .suite = { |
@@ -2297,6 +2312,21 @@ static const struct alg_test_desc alg_test_descs[] = { | |||
2297 | } | 2312 | } |
2298 | } | 2313 | } |
2299 | }, { | 2314 | }, { |
2315 | .alg = "lrw(camellia)", | ||
2316 | .test = alg_test_skcipher, | ||
2317 | .suite = { | ||
2318 | .cipher = { | ||
2319 | .enc = { | ||
2320 | .vecs = camellia_lrw_enc_tv_template, | ||
2321 | .count = CAMELLIA_LRW_ENC_TEST_VECTORS | ||
2322 | }, | ||
2323 | .dec = { | ||
2324 | .vecs = camellia_lrw_dec_tv_template, | ||
2325 | .count = CAMELLIA_LRW_DEC_TEST_VECTORS | ||
2326 | } | ||
2327 | } | ||
2328 | } | ||
2329 | }, { | ||
2300 | .alg = "lrw(serpent)", | 2330 | .alg = "lrw(serpent)", |
2301 | .test = alg_test_skcipher, | 2331 | .test = alg_test_skcipher, |
2302 | .suite = { | 2332 | .suite = { |
@@ -2634,6 +2664,21 @@ static const struct alg_test_desc alg_test_descs[] = { | |||
2634 | } | 2664 | } |
2635 | } | 2665 | } |
2636 | }, { | 2666 | }, { |
2667 | .alg = "xts(camellia)", | ||
2668 | .test = alg_test_skcipher, | ||
2669 | .suite = { | ||
2670 | .cipher = { | ||
2671 | .enc = { | ||
2672 | .vecs = camellia_xts_enc_tv_template, | ||
2673 | .count = CAMELLIA_XTS_ENC_TEST_VECTORS | ||
2674 | }, | ||
2675 | .dec = { | ||
2676 | .vecs = camellia_xts_dec_tv_template, | ||
2677 | .count = CAMELLIA_XTS_DEC_TEST_VECTORS | ||
2678 | } | ||
2679 | } | ||
2680 | } | ||
2681 | }, { | ||
2637 | .alg = "xts(serpent)", | 2682 | .alg = "xts(serpent)", |
2638 | .test = alg_test_skcipher, | 2683 | .test = alg_test_skcipher, |
2639 | .suite = { | 2684 | .suite = { |