diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-10-10 23:03:03 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-10-21 14:28:58 +0200 |
commit | 85b63e342c7ee0b9ac5281a5dfb0f1355bf6d75d (patch) | |
tree | 02b729aaddb380e65cff85da702cb785e1089a76 /crypto/testmgr.c | |
parent | 75b766258eb2b8255c628a994663bd5298f216e6 (diff) | |
download | lwn-85b63e342c7ee0b9ac5281a5dfb0f1355bf6d75d.tar.gz lwn-85b63e342c7ee0b9ac5281a5dfb0f1355bf6d75d.zip |
crypto: testmgr - add blowfish test-vectors
Add tests for parallel blowfish-x86_64 code paths.
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 b6b93d416351..466f9c01e480 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -1756,6 +1756,21 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "ctr(blowfish)", + .test = alg_test_skcipher, + .suite = { + .cipher = { + .enc = { + .vecs = bf_ctr_enc_tv_template, + .count = BF_CTR_ENC_TEST_VECTORS + }, + .dec = { + .vecs = bf_ctr_dec_tv_template, + .count = BF_CTR_DEC_TEST_VECTORS + } + } + } + }, { .alg = "cts(cbc(aes))", .test = alg_test_skcipher, .suite = { |