[dpdk-dev] [PATCH] app/test: remove unnecessary hexdump from test_cryptodev.c

Arek Kusztal arkadiuszx.kusztal at intel.com
Tue Sep 27 11:20:41 CEST 2016


This patch removes unnecesssary hexdump calls from GMAC related
functions in test_cryptodev.c which hinder compilation when
RTE_LOG_DEBUG is specified

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>
---
 app/test/test_cryptodev.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index d744b37..23cf016 100644
--- a/app/test/test_cryptodev.c
+++ b/app/test/test_cryptodev.c
@@ -4288,8 +4288,6 @@ static int create_gmac_session(uint8_t dev_id,
 	ut_params->cipher_xform.cipher.key.data = cipher_key;
 	ut_params->cipher_xform.cipher.key.length = tdata->key.len;
 
-	TEST_HEXDUMP(stdout, "key:", key, key_len);
-
 	ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH;
 	ut_params->auth_xform.next = NULL;
 
@@ -4430,8 +4428,6 @@ test_AES_GMAC_authentication_verify(const struct gmac_test_data *tdata)
 	TEST_ASSERT_EQUAL(ut_params->op->status, RTE_CRYPTO_OP_STATUS_SUCCESS,
 			"crypto op processing failed");
 
-	TEST_HEXDUMP(stdout, "auth tag:", auth_tag, tdata->gmac_tag.len);
-
 	return 0;
 
 }
-- 
2.1.0



More information about the dev mailing list