diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-08-17 15:39:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 15:39:46 +0300 |
commit | 5d505fde6d4327b27446389699abf3a593c02a17 (patch) | |
tree | 937164d89e7b8679a42f0e3705e19243baaf0147 /test/validation/api/crypto/crypto_op_test.h | |
parent | de97121a2e3afa072f7c51a0570f4b3bed0236c2 (diff) | |
parent | 7a200d709b64e743c002dd9737cd71f54ccc54ac (diff) |
Merge ODP v1.42.0.0v1.42.0.0_DPDK_22.11
Merge ODP linux-generic v1.42.0.0 into linux-dpdk.
Diffstat (limited to 'test/validation/api/crypto/crypto_op_test.h')
-rw-r--r-- | test/validation/api/crypto/crypto_op_test.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/validation/api/crypto/crypto_op_test.h b/test/validation/api/crypto/crypto_op_test.h index 4b2f66c47..4f5957820 100644 --- a/test/validation/api/crypto/crypto_op_test.h +++ b/test/validation/api/crypto/crypto_op_test.h @@ -12,17 +12,21 @@ #include <stdint.h> #include "test_vectors.h" -typedef struct crypto_op_test_param_t { +typedef struct crypto_session_t { odp_crypto_session_t session; odp_crypto_op_t op; odp_crypto_op_type_t op_type; + odp_bool_t cipher_range_in_bits; + odp_bool_t auth_range_in_bits; +} crypto_session_t; + +typedef struct crypto_op_test_param_t { + crypto_session_t session; int32_t oop_shift; crypto_test_reference_t *ref; odp_packet_data_range_t cipher_range; odp_packet_data_range_t auth_range; uint32_t digest_offset; - odp_bool_t is_bit_mode_cipher; - odp_bool_t is_bit_mode_auth; odp_bool_t adjust_segmentation; odp_bool_t wrong_digest; uint32_t first_seg_len; |