aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTaras Kondratiuk <taras.kondratiuk@linaro.org>2015-02-25 13:14:05 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-02-26 15:36:48 +0300
commit90ab5d20b1e432e0734d510a1b62f84354df7b66 (patch)
tree5d319841e7cb21e1b4e21cb2bafa80724652b154 /test
parent46d3f78ae6843e5510fffd1aea5dd778641ad925 (diff)
validation: crypto: don't check detailed operation status
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> Reviewed-and-tested-by: Robbie King <robking@cisco.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test')
-rw-r--r--test/validation/crypto/odp_crypto_test_async_inp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/validation/crypto/odp_crypto_test_async_inp.c b/test/validation/crypto/odp_crypto_test_async_inp.c
index 3e478848c..aff93dabd 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));