diff mbox

[3/3] validation: crypto: don't check detailed operation status

Message ID 1424862845-18733-4-git-send-email-taras.kondratiuk@linaro.org
State Accepted
Commit 90ab5d20b1e432e0734d510a1b62f84354df7b66
Headers show

Commit Message

Taras Kondratiuk Feb. 25, 2015, 11:14 a.m. UTC
Detailed status have to be filled only in case of failed operation.
So don't verify it in case of success.

Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 test/validation/crypto/odp_crypto_test_async_inp.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox

Patch

diff --git a/test/validation/crypto/odp_crypto_test_async_inp.c b/test/validation/crypto/odp_crypto_test_async_inp.c
index 9f449e4..5675fd7 100644
--- a/test/validation/crypto/odp_crypto_test_async_inp.c
+++ b/test/validation/crypto/odp_crypto_test_async_inp.c
@@ -107,11 +107,6 @@  static void alg_test(enum odp_crypto_op op,
 	odp_crypto_compl_free(compl_event);
 
 	CU_ASSERT(result.ok);
-	CU_ASSERT(result.auth_status.alg_err == ODP_CRYPTO_ALG_ERR_NONE);
-	CU_ASSERT(result.auth_status.hw_err == ODP_CRYPTO_HW_ERR_NONE);
-	CU_ASSERT(result.cipher_status.alg_err == ODP_CRYPTO_ALG_ERR_NONE);
-	CU_ASSERT(result.cipher_status.hw_err == ODP_CRYPTO_HW_ERR_NONE);
-
 	CU_ASSERT(result.pkt == pkt);
 
 	CU_ASSERT(!memcmp(data_addr, output_vec, output_vec_len));