cryptodev: separate key exchange operation enum
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Wed, 1 Jun 2022 09:02:39 +0000 (10:02 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 1 Jun 2022 16:56:23 +0000 (18:56 +0200)
commit5fa1fb299f76b11d643c23f7eff38a514e72c057
tree7cdd4833ea26ca00be753c66d2e35f2134c78e09
parent6b742fb85615e6f02f02dbbc05cf7a6e994d1c62
cryptodev: separate key exchange operation enum

- Separated key exchange enum from asym op type.
Key exchange and asymmetric crypto operations like signatures,
encryption/decryption should not share same operation enum as
its use cases are unrelated and mutually exclusive.
Therefore op_type was separate into:
1) operation type
2) key exchange operation type

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev_asym.c
drivers/crypto/openssl/rte_openssl_pmd.c
drivers/crypto/openssl/rte_openssl_pmd_ops.c
lib/cryptodev/rte_crypto_asym.h
lib/cryptodev/rte_cryptodev.c
lib/cryptodev/rte_cryptodev.h
lib/cryptodev/version.map