X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=test%2Ftest%2Ftest_cryptodev.c;h=a7218f476cedb4b1abfbd3752d38fecf7a35e271;hb=1dee7bc7f2085ae8090251fca1a16953b1842ff3;hp=493518d1e7e4e1d2b4cacb69e0635f1182c02df9;hpb=c1296f67b0e045e4e700273ddb3768f9a7b3b520;p=dpdk.git diff --git a/test/test/test_cryptodev.c b/test/test/test_cryptodev.c index 493518d1e7..a7218f476c 100644 --- a/test/test/test_cryptodev.c +++ b/test/test/test_cryptodev.c @@ -4348,6 +4348,22 @@ test_DES_cipheronly_qat_all(void) return TEST_SUCCESS; } +static int +test_DES_docsis_openssl_all(void) +{ + struct crypto_testsuite_params *ts_params = &testsuite_params; + int status; + + status = test_blockcipher_all_tests(ts_params->mbuf_pool, + ts_params->op_mpool, ts_params->valid_devs[0], + RTE_CRYPTODEV_OPENSSL_PMD, + BLKCIPHER_DES_DOCSIS_TYPE); + + TEST_ASSERT_EQUAL(status, 0, "Test failed"); + + return TEST_SUCCESS; +} + static int test_3DES_cipheronly_qat_all(void) { @@ -7712,6 +7728,8 @@ static struct unit_test_suite cryptodev_openssl_testsuite = { test_3DES_chain_openssl_all), TEST_CASE_ST(ut_setup, ut_teardown, test_3DES_cipheronly_openssl_all), + TEST_CASE_ST(ut_setup, ut_teardown, + test_DES_docsis_openssl_all), TEST_CASE_ST(ut_setup, ut_teardown, test_authonly_openssl_all),