aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2011-10-18 06:32:50 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2011-11-08 22:53:31 -0500
commit0b2a15510699754b7c777a0f17520f1960c0d13a (patch)
tree0ea4bc3c073941d49f749833594c2394f3b2d8d7 /crypto/testmgr.c
parent87aae4bfb2912d18f2c92a4484b9edcc8c7b3f21 (diff)
crypto: testmgr - add lrw(twofish) test vectors
Add test vectors for lrw(twofish). These are generated from lrw(aes) test vectors. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 3cfd8b05554c..ae33d3075ce7 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2252,6 +2252,21 @@ static const struct alg_test_desc alg_test_descs[] = {
2252 } 2252 }
2253 } 2253 }
2254 }, { 2254 }, {
2255 .alg = "lrw(twofish)",
2256 .test = alg_test_skcipher,
2257 .suite = {
2258 .cipher = {
2259 .enc = {
2260 .vecs = tf_lrw_enc_tv_template,
2261 .count = TF_LRW_ENC_TEST_VECTORS
2262 },
2263 .dec = {
2264 .vecs = tf_lrw_dec_tv_template,
2265 .count = TF_LRW_DEC_TEST_VECTORS
2266 }
2267 }
2268 }
2269 }, {
2255 .alg = "lzo", 2270 .alg = "lzo",
2256 .test = alg_test_comp, 2271 .test = alg_test_comp,
2257 .suite = { 2272 .suite = {