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 E807045AF3; Wed, 9 Oct 2024 16:16:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF84E427AB; Wed, 9 Oct 2024 16:16:48 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by mails.dpdk.org (Postfix) with ESMTP id 4FA244279D for ; Wed, 9 Oct 2024 16:16:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728483408; x=1760019408; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=y36YnZ2aMjj6nlsYt+j2SQ8+zHHM7lQfC7ee8LOVqu4=; b=cH+AShC4h+K16Ducl65/G+JZGlIs7uiYLZ0OTwIJRnwgzfeghqZ5WnPD QRe9Oq1SOK2SyaWj5nxtptZdIvRbqzXDYAUPJHA2NKx/Sg5z2g1Y6+ypO CRMx2DDtlTEQgrCQfPBJ6GpVm9M9idY33Yr+i8vOcfEX3caDabTmxJPe4 7htuv40XF8B6wM1aABONE/JzL1GULOX4RFlAfxjg1EPQZqdqaJSqPGAh9 LSIgs1GX+TwAyqUg/ZnuhWXuiicIIZ8Ttlh+FSloKJ6KxMe2AiKdveJ9E nekvU1xV0KFkdM1HnaWDnluHeAyXDktZQED38+bWCfpCM1xe3UyxCSrMP w==; X-CSE-ConnectionGUID: x86lAoO2RB+WLNNP1loMXQ== X-CSE-MsgGUID: b9Hs+u5sR0S7hjs5HuwLww== X-IronPort-AV: E=McAfee;i="6700,10204,11220"; a="27666298" X-IronPort-AV: E=Sophos;i="6.11,190,1725346800"; d="scan'208";a="27666298" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2024 07:16:47 -0700 X-CSE-ConnectionGUID: mUjvjwozT8adSz4+XpIPAg== X-CSE-MsgGUID: TJSzw0LnR/6Kb4LxEAnmuQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,190,1725346800"; d="scan'208";a="76585192" Received: from silpixa00399302.ir.intel.com ([10.237.214.22]) by fmviesa010.fm.intel.com with ESMTP; 09 Oct 2024 07:16:45 -0700 From: Arkadiusz Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, brian.dooley@intel.com, Arkadiusz Kusztal Subject: [PATCH v5 0/4] add ec points to sm2 op Date: Wed, 9 Oct 2024 14:01:43 +0100 Message-Id: <20241009130147.38280-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20241008181433.57591-3-arkadiuszx.kusztal@intel.com> References: <20241008181433.57591-3-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: series-33376 ("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 v5: - rebased - clarified usage of the partial flag 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 | 121 ++++++++++++-------- 8 files changed, 481 insertions(+), 58 deletions(-) -- 2.13.6