aboutsummaryrefslogtreecommitdiff
path: root/test/validation
diff options
context:
space:
mode:
authorJanne Peltonen <janne.peltonen@nokia.com>2023-05-22 16:08:14 +0300
committerMatias Elo <matias.elo@nokia.com>2023-05-25 10:05:23 +0300
commitbb1c38cdfab8b8e36310e87397f1d713f20eec1f (patch)
treee4134d7b2bbce55ea370f6005318fe118f6a2769 /test/validation
parent9b7baf5f9abfb77e3e1b42e24cf5b612a15144b4 (diff)
validation: crypto: re-enable testing of non-legacy op types
Removal of odp_crypto_operation() testing introduced a bug that disabled testing of the basic and out-of-place crypto operation types. Fix the problem and re-enable testing of non-legacy operation types by removing the leftover suite_context::packet field and its use now that all tests are of the "packet" type (i.e. not using the removed odp_crypto_operation() function). Remove also the stale pref_mode field. Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Diffstat (limited to 'test/validation')
-rw-r--r--test/validation/api/crypto/odp_crypto_test_inp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/validation/api/crypto/odp_crypto_test_inp.c b/test/validation/api/crypto/odp_crypto_test_inp.c
index c6a7767cc..6252f9143 100644
--- a/test/validation/api/crypto/odp_crypto_test_inp.c
+++ b/test/validation/api/crypto/odp_crypto_test_inp.c
@@ -28,9 +28,7 @@ static int full_test;
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
struct suite_context_s {
- odp_bool_t packet;
odp_crypto_op_mode_t op_mode;
- odp_crypto_op_mode_t pref_mode;
odp_pool_t pool;
odp_queue_t queue;
odp_queue_type_t q_type;
@@ -1078,9 +1076,6 @@ static void alg_test(odp_crypto_op_t op,
};
for (unsigned int n = 0; n < ARRAY_SIZE(op_types); n++) {
- if (!suite_context.packet &&
- op_types[n] != ODP_CRYPTO_OP_TYPE_LEGACY)
- continue;
alg_test_ses(op,
op_types[n],
cipher_alg,