summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2011-10-18 06:32:34 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2011-11-08 22:52:19 -0500
commitd7bfc0fa31bc237a5d49e9c5638676a5dedff6fc (patch)
tree114034ebf848699484be1c1d8e50a5b0ab92901a /crypto/testmgr.c
parent6c2205b8ffec035f4925b8ee84b7758afeee58b5 (diff)
crypto: testmgr - add lrw(serpent) test vectors
Add test vectors for lrw(serpent). 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 49436b900081..3cfd8b05554c 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2237,6 +2237,21 @@ static const struct alg_test_desc alg_test_descs[] = {
2237 } 2237 }
2238 } 2238 }
2239 }, { 2239 }, {
2240 .alg = "lrw(serpent)",
2241 .test = alg_test_skcipher,
2242 .suite = {
2243 .cipher = {
2244 .enc = {
2245 .vecs = serpent_lrw_enc_tv_template,
2246 .count = SERPENT_LRW_ENC_TEST_VECTORS
2247 },
2248 .dec = {
2249 .vecs = serpent_lrw_dec_tv_template,
2250 .count = SERPENT_LRW_DEC_TEST_VECTORS
2251 }
2252 }
2253 }
2254 }, {
2240 .alg = "lzo", 2255 .alg = "lzo",
2241 .test = alg_test_comp, 2256 .test = alg_test_comp,
2242 .suite = { 2257 .suite = {