diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-10-18 13:32:34 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-11-09 11:52:19 +0800 |
commit | 7602fe866c42c57b5fa87275a5bb594ada77ee54 (patch) | |
tree | e139cfcbacc4ca2ae8bf9860a04dd9b5d5757081 /crypto/testmgr.c | |
parent | debc7185410e3de8ce574703f2321514f0bc4b8a (diff) | |
download | linux-crypto-7602fe866c42c57b5fa87275a5bb594ada77ee54.tar.gz linux-crypto-7602fe866c42c57b5fa87275a5bb594ada77ee54.zip |
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.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 49436b90..3cfd8b05 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2237,6 +2237,21 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "lrw(serpent)", + .test = alg_test_skcipher, + .suite = { + .cipher = { + .enc = { + .vecs = serpent_lrw_enc_tv_template, + .count = SERPENT_LRW_ENC_TEST_VECTORS + }, + .dec = { + .vecs = serpent_lrw_dec_tv_template, + .count = SERPENT_LRW_DEC_TEST_VECTORS + } + } + } + }, { .alg = "lzo", .test = alg_test_comp, .suite = { |