From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 008A045AF3; Wed, 9 Oct 2024 13:25:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0C954065D; Wed, 9 Oct 2024 13:25:04 +0200 (CEST) Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 584084064C for ; Wed, 9 Oct 2024 13:25:03 +0200 (CEST) Received: from pps.filterd (m0431384.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4999VrMr014123; Wed, 9 Oct 2024 04:24:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=f 9m4KhAuCAa7HNbHVU6BB7b9QYmBFEwYTdE539/XIrA=; b=M9X6/9F31GiyGmblZ 4408T2b0fuG1LnTvxWcw+H8aUojG796UnZTQVcDUfG1vNgjMK0b9rdBfdy/QMiGo EpjS3aVGcQKVA7NfUvjIewnRZbT9snynAFnWJuCqwfuBi/k5YhHF7XaOIP444F1l /diPOIvjPFoPIJUZXDT80aUfcZoxWKyaVfBft4WtCUBlylIgCBlJOyp6BhCg9lCf imWAz073iITX+AG0TyMSvzwZKrFL4u5JmZWFcHc3Pw6xXbodWFPyaYaymkR/egfh 3Gdq6MZzAJM1jdspSK1jIvE9NW6yGHqX1vh0jwlmS4RDjTRH8rGCNOzGjeYxPWqO sh1QA== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 425q8r86vk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Oct 2024 04:24:55 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 9 Oct 2024 04:24:54 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Wed, 9 Oct 2024 04:24:54 -0700 Received: from localhost.localdomain (unknown [10.28.36.102]) by maili.marvell.com (Postfix) with ESMTP id 4FD893F7048; Wed, 9 Oct 2024 04:24:49 -0700 (PDT) From: Akhil Goyal To: CC: , , , , , , , , , , , , , , , , , , , Akhil Goyal Subject: [PATCH] cryptodev: remove unnecessary list end Date: Wed, 9 Oct 2024 16:54:45 +0530 Message-ID: <20241009112445.1691366-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240905101438.3888274-1-gakhil@marvell.com> References: <20240905101438.3888274-1-gakhil@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: pkMgTyg772BuZz0IIeCzFAz8KrykbJ1A X-Proofpoint-ORIG-GUID: pkMgTyg772BuZz0IIeCzFAz8KrykbJ1A X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.687,Hydra:6.0.235,FMLib:17.0.607.475 definitions=2020-10-13_15,2020-10-13_02,2020-04-07_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END and RTE_CRYPTO_RSA_PADDING_TYPE_LIST_END are not used anywhere and mostly it do not fulfil any objective. Rather it does not allow addition of new algorithms and new padding type as it result in ABI breakage. Hence, these are removed. Signed-off-by: Akhil Goyal --- lib/cryptodev/rte_crypto_asym.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h index 39d3da3952..524753e2b2 100644 --- a/lib/cryptodev/rte_crypto_asym.h +++ b/lib/cryptodev/rte_crypto_asym.h @@ -119,8 +119,6 @@ enum rte_crypto_asym_xform_type { * Performs Encrypt, Decrypt, Sign and Verify. * Refer to rte_crypto_asym_op_type. */ - RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END - /**< End of list */ }; /** @@ -168,7 +166,6 @@ enum rte_crypto_rsa_padding_type { /**< RSA PKCS#1 OAEP padding scheme */ RTE_CRYPTO_RSA_PADDING_PSS, /**< RSA PKCS#1 PSS padding scheme */ - RTE_CRYPTO_RSA_PADDING_TYPE_LIST_END }; /** -- 2.25.1