diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-10-10 22:03:03 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-10-21 14:28:58 +0200 |
commit | 85b63e342c7ee0b9ac5281a5dfb0f1355bf6d75d (patch) | |
tree | 02b729aaddb380e65cff85da702cb785e1089a76 /crypto/testmgr.c | |
parent | crypto: Make hifn_795x build depend on !ARCH_DMA_ADDR_T_64BIT (diff) | |
download | linux-85b63e342c7ee0b9ac5281a5dfb0f1355bf6d75d.tar.xz linux-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 = { |