From 50914e6c186cf38f30af736c94565a6e36e1f4f7 Mon Sep 17 00:00:00 2001 From: Deepak Kumar Jain Date: Fri, 16 Sep 2016 09:57:17 +0100 Subject: [PATCH] app/test: add NULL operation for qat Added NULL algorithm to test file for Intel(R) QuickAssist Technology Driver. Signed-off-by: Deepak Kumar Jain Acked-by: Fiona Trahe --- app/test/test_cryptodev.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 855375956f..67ca912048 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -4136,6 +4136,16 @@ static struct unit_test_suite cryptodev_qat_testsuite = { TEST_CASE_ST(ut_setup, ut_teardown, test_MD5_HMAC_verify_case_2), + /** NULL tests */ + TEST_CASE_ST(ut_setup, ut_teardown, + test_null_auth_only_operation), + TEST_CASE_ST(ut_setup, ut_teardown, + test_null_cipher_only_operation), + TEST_CASE_ST(ut_setup, ut_teardown, + test_null_cipher_auth_operation), + TEST_CASE_ST(ut_setup, ut_teardown, + test_null_auth_cipher_operation), + TEST_CASES_END() /**< NULL terminate unit test array */ } }; -- 2.20.1