diff options
author | Pablo de Lara <pablo.de.lara.guarch@intel.com> | 2017-07-02 06:41:02 +0100 |
---|---|---|
committer | Pablo de Lara <pablo.de.lara.guarch@intel.com> | 2017-07-06 22:22:09 +0200 |
commit | 5209df0d3311e1fce783c86b4b39343ce927378e (patch) | |
tree | 76e4b19fcff6edc6ea74e02092cde7396c6074f8 /test | |
parent | 08a97874cee106b8d3cc40d3df7eab337e50a395 (diff) | |
download | dpdk-5209df0d3311e1fce783c86b4b39343ce927378e.zip dpdk-5209df0d3311e1fce783c86b4b39343ce927378e.tar.gz dpdk-5209df0d3311e1fce783c86b4b39343ce927378e.tar.xz |
cryptodev: move session type to generic crypto op
Session type (operation with or without session) is not
something specific to symmetric operations.
Therefore, the variable is moved to the generic crypto operation
structure.
Since this is an ABI change, the cryptodev library version
gets bumped.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test/test_cryptodev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test/test_cryptodev.c b/test/test/test_cryptodev.c index 8766cad..25c6650 100644 --- a/test/test/test_cryptodev.c +++ b/test/test/test_cryptodev.c @@ -5556,8 +5556,8 @@ test_AES_GCM_authenticated_encryption_sessionless( ut_params->op->sym->m_src = ut_params->ibuf; - TEST_ASSERT_EQUAL(ut_params->op->sym->sess_type, - RTE_CRYPTO_SYM_OP_SESSIONLESS, + TEST_ASSERT_EQUAL(ut_params->op->sess_type, + RTE_CRYPTO_OP_SESSIONLESS, "crypto op session type not sessionless"); /* Process crypto operation */ @@ -5636,8 +5636,8 @@ test_AES_GCM_authenticated_decryption_sessionless( ut_params->op->sym->m_src = ut_params->ibuf; - TEST_ASSERT_EQUAL(ut_params->op->sym->sess_type, - RTE_CRYPTO_SYM_OP_SESSIONLESS, + TEST_ASSERT_EQUAL(ut_params->op->sess_type, + RTE_CRYPTO_OP_SESSIONLESS, "crypto op session type not sessionless"); /* Process crypto operation */ |