From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 50F6A37B4 for ; Mon, 19 Sep 2016 13:01:02 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 19 Sep 2016 04:01:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,361,1470726000"; d="scan'208";a="881405375" Received: from sie-lab-214-241.ir.intel.com (HELO silpixa00382162.ir.intel.com) ([10.237.214.241]) by orsmga003.jf.intel.com with ESMTP; 19 Sep 2016 04:01:00 -0700 From: Deepak Kumar Jain To: dev@dpdk.org Cc: pablo.de.lara.guarch@intel.com, Deepak Kumar Jain Date: Mon, 19 Sep 2016 12:00:54 +0100 Message-Id: <1474282856-118262-3-git-send-email-deepak.k.jain@intel.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1474282856-118262-1-git-send-email-deepak.k.jain@intel.com> References: <1472131419-89617-1-git-send-email-deepak.k.jain@intel.com> <1474282856-118262-1-git-send-email-deepak.k.jain@intel.com> Subject: [dpdk-dev] [PATCH v4 2/4] app/test: rename functions name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 11:01:03 -0000 Renamed authenticated encryption and encrypted authentication with easily recognixation names. Signed-off-by: Deepak Kumar Jain Acked-by: Fiona Trahe --- app/test/test_cryptodev.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 70606e6..61a474c 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -2647,7 +2647,7 @@ static int test_snow3g_decryption_oop(const struct snow3g_test_data *tdata) } static int -test_snow3g_authenticated_encryption(const struct snow3g_test_data *tdata) +test_snow3g_cipher_auth(const struct snow3g_test_data *tdata) { struct crypto_testsuite_params *ts_params = &testsuite_params; struct crypto_unittest_params *ut_params = &unittest_params; @@ -2730,7 +2730,7 @@ test_snow3g_authenticated_encryption(const struct snow3g_test_data *tdata) return 0; } static int -test_snow3g_encrypted_authentication(const struct snow3g_test_data *tdata) +test_snow3g_auth_cipher(const struct snow3g_test_data *tdata) { struct crypto_testsuite_params *ts_params = &testsuite_params; struct crypto_unittest_params *ut_params = &unittest_params; @@ -2964,15 +2964,15 @@ test_snow3g_decryption_test_case_5(void) return test_snow3g_decryption(&snow3g_test_case_5); } static int -test_snow3g_authenticated_encryption_test_case_1(void) +test_snow3g_cipher_auth_test_case_1(void) { - return test_snow3g_authenticated_encryption(&snow3g_test_case_3); + return test_snow3g_cipher_auth(&snow3g_test_case_3); } static int -test_snow3g_encrypted_authentication_test_case_1(void) +test_snow3g_auth_cipher_test_case_1(void) { - return test_snow3g_encrypted_authentication(&snow3g_test_case_6); + return test_snow3g_auth_cipher(&snow3g_test_case_6); } /* ***** AES-GCM Tests ***** */ @@ -4113,9 +4113,9 @@ static struct unit_test_suite cryptodev_qat_testsuite = { TEST_CASE_ST(ut_setup, ut_teardown, test_snow3g_hash_verify_test_case_3), TEST_CASE_ST(ut_setup, ut_teardown, - test_snow3g_authenticated_encryption_test_case_1), + test_snow3g_cipher_auth_test_case_1), TEST_CASE_ST(ut_setup, ut_teardown, - test_snow3g_encrypted_authentication_test_case_1), + test_snow3g_auth_cipher_test_case_1), /** HMAC_MD5 Authentication */ TEST_CASE_ST(ut_setup, ut_teardown, @@ -4314,9 +4314,9 @@ static struct unit_test_suite cryptodev_sw_snow3g_testsuite = { TEST_CASE_ST(ut_setup, ut_teardown, test_snow3g_hash_verify_test_case_6), TEST_CASE_ST(ut_setup, ut_teardown, - test_snow3g_authenticated_encryption_test_case_1), + test_snow3g_cipher_auth_test_case_1), TEST_CASE_ST(ut_setup, ut_teardown, - test_snow3g_encrypted_authentication_test_case_1), + test_snow3g_auth_cipher_test_case_1), TEST_CASES_END() /**< NULL terminate unit test array */ } -- 2.5.5