Asymmetric cryptography algorithms may more likely use
sessionless API so there is need to extend API.

Signed-off-by: Arek Kusztal <arkadiuszx.kusz...@intel.com>
---
 lib/librte_cryptodev/rte_crypto_asym.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_cryptodev/rte_crypto_asym.h 
b/lib/librte_cryptodev/rte_crypto_asym.h
index 8672f21..5d69692 100644
--- a/lib/librte_cryptodev/rte_crypto_asym.h
+++ b/lib/librte_cryptodev/rte_crypto_asym.h
@@ -503,6 +503,8 @@ struct rte_crypto_dsa_op_param {
 struct rte_crypto_asym_op {
        struct rte_cryptodev_asym_session *session;
        /**< Handle for the initialised session context */
+       struct rte_crypto_asym_xform *xform;
+       /**< Session-less API crypto operation parameters */
 
        __extension__
        union {
-- 
2.7.4

Reply via email to