crypto: testmgr: add support for aes ofb mode
Subsystems (2)
PATCH 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]>
--- crypto/testmgr.c | 16 ++++++++++++++ crypto/testmgr.h | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 76 insertions(+), 1 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 -1
79 lines not on this page · raw message
Signature · 9 lines
1.7.1.1 ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------