aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2011-10-18 06:33:17 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2011-11-08 22:57:56 -0500
commit18be20b9445731c57ef2fa0c7c9e71ac1b4a7872 (patch)
tree7126bae2743aae0061d4d493c1c2ece5d53bae48 /crypto/testmgr.c
parentce0045561e1edb92e4a509eb433ff52d3afaa258 (diff)
crypto: testmgr - add xts(serpent) test vectors
Add test vectors for xts(serpent). These are generated from xts(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 ae33d3075ce7..5e349a6bc98a 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2574,6 +2574,21 @@ static const struct alg_test_desc alg_test_descs[] = {
2574 } 2574 }
2575 } 2575 }
2576 }, { 2576 }, {
2577 .alg = "xts(serpent)",
2578 .test = alg_test_skcipher,
2579 .suite = {
2580 .cipher = {
2581 .enc = {
2582 .vecs = serpent_xts_enc_tv_template,
2583 .count = SERPENT_XTS_ENC_TEST_VECTORS
2584 },
2585 .dec = {
2586 .vecs = serpent_xts_dec_tv_template,
2587 .count = SERPENT_XTS_DEC_TEST_VECTORS
2588 }
2589 }
2590 }
2591 }, {
2577 .alg = "zlib", 2592 .alg = "zlib",
2578 .test = alg_test_pcomp, 2593 .test = alg_test_pcomp,
2579 .suite = { 2594 .suite = {