diff options
author | 2011-05-04 15:04:10 +1000 | |
---|---|---|
committer | 2011-05-04 15:04:10 +1000 | |
commit | ba0e14acc417eceb895efda1ff46366f4d1728f8 (patch) | |
tree | d2deee9515bf47356967053179bf678a586eab47 /crypto/testmgr.c | |
parent | crypto: caam - remove duplicate dev_err (diff) | |
download | linux-ba0e14acc417eceb895efda1ff46366f4d1728f8.tar.gz linux-ba0e14acc417eceb895efda1ff46366f4d1728f8.tar.bz2 linux-ba0e14acc417eceb895efda1ff46366f4d1728f8.zip |
crypto: testmgr - add support for aes ofb mode
the fix add testcase for testing aes ofb mode.
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 2854865f2434..b6b93d416351 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2219,6 +2219,22 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "ofb(aes)", + .test = alg_test_skcipher, + .fips_allowed = 1, + .suite = { + .cipher = { + .enc = { + .vecs = aes_ofb_enc_tv_template, + .count = AES_OFB_ENC_TEST_VECTORS + }, + .dec = { + .vecs = aes_ofb_dec_tv_template, + .count = AES_OFB_DEC_TEST_VECTORS + } + } + } + }, { .alg = "pcbc(fcrypt)", .test = alg_test_skcipher, .suite = { |