From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CEC5DA04B5; Wed, 30 Sep 2020 19:35:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 902F71D561; Wed, 30 Sep 2020 19:34:42 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0270B1D585 for ; Wed, 30 Sep 2020 19:34:39 +0200 (CEST) IronPort-SDR: 9tygHqDr9bGj1QhR/K5ZMxCygvVulLpRxTH6WsvzWEfP+xC8jrymrNtrnVaez+Yl/w0uRJvWWP Z1fTJhPEDzNw== X-IronPort-AV: E=McAfee;i="6000,8403,9760"; a="159839122" X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="159839122" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2020 10:34:39 -0700 IronPort-SDR: 95PB4UCQ0mzc0Ylu12mlyxApCEpCqM3b7fx9XvbCGwGggpH0uQKctZ55O/zpoU+ilTRGItvtrn rJMUaNDdCNHQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="325109844" Received: from unknown (HELO akusztax-MOBL1.ger.corp.intel.com) ([10.104.113.124]) by orsmga002.jf.intel.com with ESMTP; 30 Sep 2020 10:34:37 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: akhil.goyal@nxp.com, fiona.trahe@intel.com, ruifeng.wang@arm.com, michaelsh@marvell.com, Arek Kusztal Date: Wed, 30 Sep 2020 19:32:25 +0200 Message-Id: <20200930173226.770-5-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200930173226.770-1-arkadiuszx.kusztal@intel.com> References: <20200930173226.770-1-arkadiuszx.kusztal@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 4/5] cryptodev: remove list ends from asymmetric crypto api X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch removes RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END, RTE_CRYPTO_ASYM_OP_LIST_END, RTE_CRYPTO_RSA_PADDING_TYPE_LIST_END enumerators from asymmetric crypto API. When asymmetric API will no more be experimental adding new entries will be possible without ABI breakage. Signed-off-by: Arek Kusztal --- lib/librte_cryptodev/rte_crypto_asym.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/librte_cryptodev/rte_crypto_asym.h b/lib/librte_cryptodev/rte_crypto_asym.h index 9c866f553..915a586c1 100644 --- a/lib/librte_cryptodev/rte_crypto_asym.h +++ b/lib/librte_cryptodev/rte_crypto_asym.h @@ -92,10 +92,8 @@ enum rte_crypto_asym_xform_type { /**< Elliptic Curve Digital Signature Algorithm * Perform Signature Generation and Verification. */ - RTE_CRYPTO_ASYM_XFORM_ECPM, + RTE_CRYPTO_ASYM_XFORM_ECPM /**< Elliptic Curve Point Multiplication */ - RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END - /**< End of list */ }; /** @@ -114,9 +112,8 @@ enum rte_crypto_asym_op_type { /**< DH Private Key generation operation */ RTE_CRYPTO_ASYM_OP_PUBLIC_KEY_GENERATE, /**< DH Public Key generation operation */ - RTE_CRYPTO_ASYM_OP_SHARED_SECRET_COMPUTE, + RTE_CRYPTO_ASYM_OP_SHARED_SECRET_COMPUTE /**< DH Shared Secret compute operation */ - RTE_CRYPTO_ASYM_OP_LIST_END }; /** @@ -131,9 +128,8 @@ enum rte_crypto_rsa_padding_type { */ RTE_CRYPTO_RSA_PADDING_OAEP, /**< RSA PKCS#1 OAEP padding scheme */ - RTE_CRYPTO_RSA_PADDING_PSS, + RTE_CRYPTO_RSA_PADDING_PSS /**< RSA PKCS#1 PSS padding scheme */ - RTE_CRYPTO_RSA_PADDING_TYPE_LIST_END }; /** -- 2.17.1