[dpdk-dev] [PATCH] app/test: add tests with corrupted data for QAT test suite

2016-10-17 Thread De Lara Guarch, Pablo


> -Original Message-
> From: Jain, Deepak K
> Sent: Friday, October 14, 2016 1:14 AM
> To: Kusztal, ArkadiuszX; dev at dpdk.org
> Cc: Trahe, Fiona; De Lara Guarch, Pablo; Griffin, John
> Subject: RE: [PATCH] app/test: add tests with corrupted data for QAT test
> suite
> 
> 
> 
> > -Original Message-
> > From: Kusztal, ArkadiuszX
> > Sent: Thursday, October 13, 2016 11:04 AM
> > To: dev at dpdk.org
> > Cc: Trahe, Fiona ; Jain, Deepak K
> > ; De Lara Guarch, Pablo
> > ; Griffin, John  > intel.com>;
> > Kusztal, ArkadiuszX 
> > Subject: [PATCH] app/test: add tests with corrupted data for QAT test suite
> >
> > This commit adds tests with corrupted data to the Intel QuickAssist
> > Technology tests suite in test_cryptodev.c
> >
> > Signed-off-by: Arek Kusztal 
> > ---
> >  app/test/test_cryptodev.c | 14 ++
> >  1 file changed, 14 insertions(+)
> >
> >  };
> > --
> > 2.1.0
> Acked-by: Deepak Kumar Jain 

Applied to dpdk-next-crypto.
Thanks,

Pablo


[dpdk-dev] [PATCH] app/test: add tests with corrupted data for QAT test suite

2016-10-14 Thread Jain, Deepak K


> -Original Message-
> From: Kusztal, ArkadiuszX
> Sent: Thursday, October 13, 2016 11:04 AM
> To: dev at dpdk.org
> Cc: Trahe, Fiona ; Jain, Deepak K
> ; De Lara Guarch, Pablo
> ; Griffin, John  intel.com>;
> Kusztal, ArkadiuszX 
> Subject: [PATCH] app/test: add tests with corrupted data for QAT test suite
> 
> This commit adds tests with corrupted data to the Intel QuickAssist
> Technology tests suite in test_cryptodev.c
> 
> Signed-off-by: Arek Kusztal 
> ---
>  app/test/test_cryptodev.c | 14 ++
>  1 file changed, 14 insertions(+)
> 
>  };
> --
> 2.1.0
Acked-by: Deepak Kumar Jain 


[dpdk-dev] [PATCH] app/test: add tests with corrupted data for QAT test suite

2016-10-13 Thread Arek Kusztal
This commit adds tests with corrupted data to the Intel QuickAssist
Technology tests suite in test_cryptodev.c

Signed-off-by: Arek Kusztal 
---
 app/test/test_cryptodev.c | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 2917454..83b8253 100644
--- a/app/test/test_cryptodev.c
+++ b/app/test/test_cryptodev.c
@@ -6135,6 +6135,20 @@ static struct unit_test_suite cryptodev_qat_testsuite  = 
{
TEST_CASE_ST(ut_setup, ut_teardown,
test_kasumi_cipher_auth_test_case_1),

+   /** Negative tests */
+   TEST_CASE_ST(ut_setup, ut_teardown,
+   authentication_verify_HMAC_SHA1_fail_data_corrupt),
+   TEST_CASE_ST(ut_setup, ut_teardown,
+   authentication_verify_HMAC_SHA1_fail_tag_corrupt),
+   TEST_CASE_ST(ut_setup, ut_teardown,
+   authentication_verify_AES128_GMAC_fail_data_corrupt),
+   TEST_CASE_ST(ut_setup, ut_teardown,
+   authentication_verify_AES128_GMAC_fail_tag_corrupt),
+   TEST_CASE_ST(ut_setup, ut_teardown,
+   auth_decryption_AES128CBC_HMAC_SHA1_fail_data_corrupt),
+   TEST_CASE_ST(ut_setup, ut_teardown,
+   auth_decryption_AES128CBC_HMAC_SHA1_fail_tag_corrupt),
+
TEST_CASES_END() /**< NULL terminate unit test array */
}
 };
-- 
2.1.0