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 6A8DE45BA1; Tue, 22 Oct 2024 22:20:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3864402E9; Tue, 22 Oct 2024 22:20:54 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mails.dpdk.org (Postfix) with ESMTP id 14AD740151 for ; Tue, 22 Oct 2024 22:20:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729628453; x=1761164453; h=from:to:cc:subject:date:message-id; bh=8yT49c6vp+6EU5leSj8RZe2cYqDia+JoH1EYQO1JEws=; b=WGD/t9vQBGQIKXY83KnGV47Ax/L185hfl0b6Ffi7BB95j5sOPsC8Z/Vm aV44yKWuJNsPaowQcEkKx8kYyVGzLUIENl9M5cGySiYcSTfo5YRrgt9mA sys5yaSmMzS5v7wKTC0greU9MCaG3unNSYoaKvblhLDD4V2BRXIRw9QFh b78esQEYmblrjNfznP3VJPvPOhnUYvE3Yva6PDPt5ovc9bOVObD0/NrN/ mDYbKiJOYkUiPgbzFBkwkDFYisc4dQX6hoZrr2k91yY1O4qjIoCTXbhai DTVuEDSYELDt4Q10VJU8uK0UeEbVgtr5W1fYeIUOpa5MpBx2xQ69m2W1Z g==; X-CSE-ConnectionGUID: lj7KQTbFSsOfGoA2yLj0GA== X-CSE-MsgGUID: HK/S1gURRw+uh50SQONNzw== X-IronPort-AV: E=McAfee;i="6700,10204,11233"; a="39808386" X-IronPort-AV: E=Sophos;i="6.11,223,1725346800"; d="scan'208";a="39808386" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2024 13:20:52 -0700 X-CSE-ConnectionGUID: jrh4y7btSYafhtwXcAPypg== X-CSE-MsgGUID: lLYr5u6zTmC0tUccxT4hgQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,223,1725346800"; d="scan'208";a="84598521" Received: from silpixa00399302.ir.intel.com ([10.237.214.22]) by fmviesa004.fm.intel.com with ESMTP; 22 Oct 2024 13:20:51 -0700 From: Arkadiusz Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, brian.dooley@intel.com, Arkadiusz Kusztal Subject: [PATCH v6 0/3] add ec points to sm2 op Date: Tue, 22 Oct 2024 20:05:57 +0100 Message-Id: <20241022190600.81169-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.13.6 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. 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 v5: - rebased - clarified usage of the partial flag v6: - removed already applied patch 1 - added ABI relase notes comment - removed camel case - added flag reference Arkadiusz Kusztal (3): 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 | 7 + .../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 | 56 +++++-- 8 files changed, 453 insertions(+), 24 deletions(-) -- 2.17.1