crypto: testmgr: add support for aes ofb mode
Subsystems (3)
PATCH v3 1/1 crypto: testmgr: add support for aes ofb mode
From: puneet saxena <[email protected]>
the fix add testcase for testing aes ofb mode.
Signed-off-by Puneet Saxena <[email protected]>
---
v3: fix indentation
crypto/testmgr.c | 16 ++++++++++++++ crypto/testmgr.h | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 76 insertions(+), 2 deletions(-)
crypto/testmgr.c +16 -0
@@ -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 = {
crypto/testmgr.h +60 -2
80 lines not on this page · raw message
Signature · 1 line
1.7.1.1
Quoted 5 lines · On Tue, Apr 26, 2011 at 02:41:11PM +0530…
From: puneet saxena <[email protected]>
the fix add testcase for testing aes ofb mode.
Signed-off-by Puneet Saxena <[email protected]>
Patch applied. Thanks!
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt