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 CA8A345AE9; Tue, 8 Oct 2024 21:29:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC5B540261; Tue, 8 Oct 2024 21:29:33 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mails.dpdk.org (Postfix) with ESMTP id 0097F4025D for ; Tue, 8 Oct 2024 21:29:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728415773; x=1759951773; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=8KNMySDJ4psr9v27GjwiCDj4UguQnjM4DBsEcxvepHc=; b=UCvH4FcGcQ8u2Hk3gumjSduWf+WUFD8QzO578WeTafLF0W7CMTypgEg1 KSfHhoadu56yz18QiOJitZaJVcQNpBLY40cIf8XaoRZqhgqFj31uxoIme /XPeo13VdTnNoVteCe0b6NBRH6UhhtcIHf8oHfMsExDcbUKz8pJGTmEHa 8HKUrQTuDvsR4NuW4rfIdakyyxCwNzbYOx+hYqnI95f4zEbApnZz03Y7P CkML/ZO87F627RZydiz/pepYPwiaRC4Z+jJ3/KIZJhZ6zgFMSSJd/6uoV dZKXr3ASYf9w0TEwMoTqv8TQOim0GHul8v0zMnvvflXmIP3Q/r6sTJXfv Q==; X-CSE-ConnectionGUID: bLAhAZ5rSs6Vm1dhFjVT7Q== X-CSE-MsgGUID: w1Q3IYOhSr6646xsJASydg== X-IronPort-AV: E=McAfee;i="6700,10204,11219"; a="27808828" X-IronPort-AV: E=Sophos;i="6.11,187,1725346800"; d="scan'208";a="27808828" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2024 12:29:32 -0700 X-CSE-ConnectionGUID: voo4dBeiTuygujNaeOujXQ== X-CSE-MsgGUID: JKw3D6J9RHOkYJPIQ9v8PQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,187,1725346800"; d="scan'208";a="80540572" Received: from silpixa00399302.ir.intel.com ([10.237.214.22]) by fmviesa004.fm.intel.com with ESMTP; 08 Oct 2024 12:29:30 -0700 From: Arkadiusz Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, brian.dooley@intel.com, Arkadiusz Kusztal Subject: [PATCH v4 0/4] add ec points to sm2 op Date: Tue, 8 Oct 2024 19:14:29 +0100 Message-Id: <20241008181433.57591-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20241008062845.11071-1-arkadiuszx.kusztal@intel.com> References: <20241008062845.11071-1-arkadiuszx.kusztal@intel.com> 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 In the case when PMD cannot support the full process of the SM2, but elliptic curve computation only, additional fields are needed to handle such a case. Depends-on: patch-145188 ("[v2] cryptodev: add asymmetric operational capability") v2: - rebased against the 24.11 code v3: - added feature flag - added QAT patches - added test patches v4: - replaced feature flag with capability - split API patches Arkadiusz Kusztal (4): cryptodev: reorder structures in asym crypto header cryptodev: add ec points to sm2 op crypto/qat: add sm2 encryption/decryption function app/test: add test sm2 C1/Kp test cases app/test/test_cryptodev_asym.c | 138 ++++++++++++++++++++++- app/test/test_cryptodev_sm2_test_vectors.h | 112 ++++++++++++++++++- doc/guides/cryptodevs/features/qat.ini | 1 + doc/guides/rel_notes/release_24_11.rst | 4 + drivers/common/qat/qat_adf/icp_qat_fw_mmp_ids.h | 3 + drivers/common/qat/qat_adf/qat_pke.h | 20 ++++ drivers/crypto/qat/qat_asym.c | 140 +++++++++++++++++++++++- lib/cryptodev/rte_crypto_asym.h | 125 +++++++++++++-------- 8 files changed, 485 insertions(+), 58 deletions(-) -- 2.13.6