diff options
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index a2ca7431760a..7a91e540563f 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c | |||
@@ -1818,6 +1818,21 @@ static const struct alg_test_desc alg_test_descs[] = { | |||
1818 | } | 1818 | } |
1819 | } | 1819 | } |
1820 | }, { | 1820 | }, { |
1821 | .alg = "cbc(cast5)", | ||
1822 | .test = alg_test_skcipher, | ||
1823 | .suite = { | ||
1824 | .cipher = { | ||
1825 | .enc = { | ||
1826 | .vecs = cast5_cbc_enc_tv_template, | ||
1827 | .count = CAST5_CBC_ENC_TEST_VECTORS | ||
1828 | }, | ||
1829 | .dec = { | ||
1830 | .vecs = cast5_cbc_dec_tv_template, | ||
1831 | .count = CAST5_CBC_DEC_TEST_VECTORS | ||
1832 | } | ||
1833 | } | ||
1834 | } | ||
1835 | }, { | ||
1821 | .alg = "cbc(des)", | 1836 | .alg = "cbc(des)", |
1822 | .test = alg_test_skcipher, | 1837 | .test = alg_test_skcipher, |
1823 | .suite = { | 1838 | .suite = { |
@@ -2054,6 +2069,21 @@ static const struct alg_test_desc alg_test_descs[] = { | |||
2054 | } | 2069 | } |
2055 | } | 2070 | } |
2056 | }, { | 2071 | }, { |
2072 | .alg = "ctr(cast5)", | ||
2073 | .test = alg_test_skcipher, | ||
2074 | .suite = { | ||
2075 | .cipher = { | ||
2076 | .enc = { | ||
2077 | .vecs = cast5_ctr_enc_tv_template, | ||
2078 | .count = CAST5_CTR_ENC_TEST_VECTORS | ||
2079 | }, | ||
2080 | .dec = { | ||
2081 | .vecs = cast5_ctr_dec_tv_template, | ||
2082 | .count = CAST5_CTR_DEC_TEST_VECTORS | ||
2083 | } | ||
2084 | } | ||
2085 | } | ||
2086 | }, { | ||
2057 | .alg = "ctr(serpent)", | 2087 | .alg = "ctr(serpent)", |
2058 | .test = alg_test_skcipher, | 2088 | .test = alg_test_skcipher, |
2059 | .suite = { | 2089 | .suite = { |