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 47B3145C75; Mon, 4 Nov 2024 10:36:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 68DE5402AF; Mon, 4 Nov 2024 10:36:16 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by mails.dpdk.org (Postfix) with ESMTP id 1D83B4021F for ; Mon, 4 Nov 2024 10:36:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730712974; x=1762248974; h=from:to:cc:subject:date:message-id; bh=THmTx3XywWPCVKvzNfnXUbP1ZMCkvTrJWaC6e6V6Wdk=; b=IUNoiXaB4ItnMTKuTJb8ti9T3sI8I7VWIquLwVwH2F7QR6rtGQBxgvxB WsmYerILavi3kq/OlObMbbMouXcbJZyvMuTDcKxa/eqV13RI6ORdIxCKI wmlJz7CwTbLWQ9nYvTDejThCoCtxxpBRUwNvEMVp7wFf6nMQTQPmJsYiu uEgEJERGEHY6nqkqhzFWpuyH9D1d9sDevV2Szr9nv7w7TtyaJ9XYTteB9 EmolOqyMQgVTneVj9XLAlioGPOFiDTwr67H5JkUTaMBejJYolGsxEVpmi FcPg60orH+Y5/oJpkyed9oGrtBVxQpswofGuC72ZbH9dWaQQduak+EWJ/ A==; X-CSE-ConnectionGUID: nUXuc+XDRzmvX/uh+gLgqA== X-CSE-MsgGUID: vrP6l/VNQA6txGcXD1BAVA== X-IronPort-AV: E=McAfee;i="6700,10204,11245"; a="29828796" X-IronPort-AV: E=Sophos;i="6.11,256,1725346800"; d="scan'208";a="29828796" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2024 01:36:13 -0800 X-CSE-ConnectionGUID: ivKBqPnxTbik0yBuTwqC/w== X-CSE-MsgGUID: 8LjQrbs/QSKZ6z/lProFvA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,256,1725346800"; d="scan'208";a="106950425" Received: from silpixa00400308.ir.intel.com ([10.237.214.154]) by fmviesa002.fm.intel.com with ESMTP; 04 Nov 2024 01:36:12 -0800 From: Arkadiusz Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, brian.dooley@intel.com, Arkadiusz Kusztal Subject: [PATCH v8 0/3] add ec points to sm2 op Date: Mon, 4 Nov 2024 09:36:07 +0000 Message-Id: <20241104093610.20426-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.17.1 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 v7: - removed SM2 from auth features, in asym it was added in SM2 ECDSA patch v8: - fixed an openssl test issue - added the partial_flag to QAT capabilities 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 | 134 +++++++++++++++++ app/test/test_cryptodev_sm2_test_vectors.h | 112 +++++++++++++- 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/dev/qat_crypto_pmd_gen4.c | 72 ++++++++- drivers/crypto/qat/qat_asym.c | 140 +++++++++++++++++- lib/cryptodev/rte_crypto_asym.h | 56 +++++-- 8 files changed, 520 insertions(+), 24 deletions(-) -- 2.34.1