From patchwork Thu Oct 26 08:15:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 308 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7DA1543206; Thu, 26 Oct 2023 10:15:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 636AA40EF0; Thu, 26 Oct 2023 10:15:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id AB3B540EE7 for ; Thu, 26 Oct 2023 10:15:21 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39Q6rDuO020032; Thu, 26 Oct 2023 01:15:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=b6TZo9RMCNT8v/Ayv+ENzzaO4pY+ONY+7kcm5Gl8du8=; b=bLdg16llWbmE5wZZCTqPN+TDXM330bGYEBHHjnsHI4DBAR75TjbypestYIdfp+cnx/hR YPO0myCfsj0cGPd1GHGTfWKG1HKQAQLttc6ESrqwFIWHlwi/57UWSUQVvsK/u3SqvlUp kHM0mpyBSTSjvEteACnJJ4wOZfYffhNfQYCxhbgVu7P2tiZzTSPbE0l7ZBPTJJYN9YoT ouGw4/3uNwkhixqRxeqW1jYbW7S6FJfuGMPNnMqU9hAGspfTryOf5vn4W1nMnhTVtH75 YhHDIoTOgOJDhL4P9+ZZMCa/qO+lkgrCpyd+QS+N2Cjtyf5yTfqnfixS4DGiE09aEdss Zg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3txcsr1b26-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 26 Oct 2023 01:15:20 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 26 Oct 2023 01:15:19 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 26 Oct 2023 01:15:19 -0700 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34]) by maili.marvell.com (Postfix) with ESMTP id 73E243F70D9; Thu, 26 Oct 2023 01:15:16 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: , Akhil Goyal , Fan Zhang , Gowrishankar Muthukrishnan Subject: [PATCH v1 0/4] test/cryptodev: add ECDH tests Date: Thu, 26 Oct 2023 13:45:08 +0530 Message-ID: X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 6PGek-32ViVBW_L8DzSGzGCOuwsx13jO X-Proofpoint-GUID: 6PGek-32ViVBW_L8DzSGzGCOuwsx13jO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-26_05,2023-10-25_01,2023-05-22_02 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 This patch series adds ECDH testsuite. It also enables ECDH support in CNXK PMD. Gowrishankar Muthukrishnan (4): test/cryptodev: add ECDH tests crypto/cnxk: use generic EC opcodes crypto/cnxk: change order of ECFPM params crypto/cnxk: add ECDH support app/test/test_cryptodev_asym.c | 729 ++++++++++++++++++ app/test/test_cryptodev_asym_util.h | 12 + app/test/test_cryptodev_ecdh_test_vectors.h | 577 ++++++++++++++ app/test/test_cryptodev_ecdsa_test_vectors.h | 3 + doc/guides/cryptodevs/features/cn10k.ini | 1 + doc/guides/cryptodevs/features/cn9k.ini | 1 + drivers/common/cnxk/roc_ae.h | 21 +- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 12 + drivers/crypto/cnxk/cnxk_ae.h | 240 ++++-- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 14 + 11 files changed, 1543 insertions(+), 69 deletions(-) create mode 100644 app/test/test_cryptodev_ecdh_test_vectors.h