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 A66EAA0548; Tue, 31 May 2022 07:12:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB9B142B72; Tue, 31 May 2022 07:12:43 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 8F286427F0 for ; Tue, 31 May 2022 07:12:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653973960; x=1685509960; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=wZ5DBqXfnqdcIGZwqal1S9d/1ecUNMSQI/cDtHOfjLw=; b=jIW80dRQ0dwBBVjot1EEq2cVKRMQpWBuZ++H9M3xVflNx1uKqDDdPs9a rTV4JhnJLAMregCvNr/ExMTBkpN+j8XDZLZBt4mobn0/0AskUCq/k1qgb eU/1SSPnBu2v7Sl1d20P98zT54GJsbR980Ffa9yQZgzAn820wbBgmGP7S VV/ebf1uPY7b4Hi9iYRPUgk0227HnK+ZlDpkVId4jDBYwWdM/RDqAE+El VplMZaCMH7TGZqgq8bRCpa+QbZJTYonXRCPkXsbYdVm+xjnbewzzljTSN EKElU4HqC7k65Zvv7sgWS5ZHnOfFI+c6g+5oBo2athqRSjYeKz4IBgdgl A==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="338181286" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="338181286" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 22:12:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="576220401" Received: from silpixa00399302.ir.intel.com ([10.237.214.136]) by orsmga007.jf.intel.com with ESMTP; 30 May 2022 22:12:38 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, Arek Kusztal Subject: [PATCH v4 03/12] cryptodev: remove comment about using ephemeral key in dsa Date: Tue, 31 May 2022 05:04:30 +0100 Message-Id: <20220531040439.15862-4-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20220531040439.15862-1-arkadiuszx.kusztal@intel.com> References: <20220531040439.15862-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 - Removed comment that stated DSA can be used with Diffie Hellman ephemeral key. DH and DSA integration allowed to use ephemeral keys for random integer, but not for private keys. Signed-off-by: Arek Kusztal --- lib/cryptodev/rte_crypto_asym.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h index e496588c7a..eb753b4016 100644 --- a/lib/cryptodev/rte_crypto_asym.h +++ b/lib/cryptodev/rte_crypto_asym.h @@ -292,13 +292,7 @@ struct rte_crypto_dsa_xform { rte_crypto_uint g; /**< Generator of the subgroup */ rte_crypto_uint x; - /**< x: Private key of the signer in octet-string network - * byte order format. - * Used when app has pre-defined private key. - * Valid only when xform chain is DSA ONLY. - * if xform chain is DH private key generate + DSA, then DSA sign - * compute will use internally generated key. - */ + /**< x: Private key of the signer */ }; /** -- 2.13.6