diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-10-11 00:03:03 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-10-21 16:28:58 +0400 |
commit | 85b63e342c7ee0b9ac5281a5dfb0f1355bf6d75d (patch) | |
tree | 02b729aaddb380e65cff85da702cb785e1089a76 /crypto/testmgr.c | |
parent | 75b766258eb2b8255c628a994663bd5298f216e6 (diff) | |
download | linux-85b63e342c7ee0b9ac5281a5dfb0f1355bf6d75d.tar.xz |
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 = { |