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 1814EA0542; Tue, 31 May 2022 09:35:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A13840A84; Tue, 31 May 2022 09:35:29 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 20147400D6 for ; Tue, 31 May 2022 09:35:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653982527; x=1685518527; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=odKUMRZ1jKlhxhVcA8f7qdwdu5PusibgAcQGDa4BLhc=; b=YH5kPTB0+6xcqTEOrNGY7u9Pdzg+0ZLK7F43d+aVH5BF6NRVxYPqXwqD 3fEL+QJwnqdzo4JPt7FGrxdKhaSIgwdAycg/Gxkff+F54mlZZZbBxcriO iPP1LEOgVG+msm0aPm1OcI84XF4hQ2kbKzGmVD6LKPF1pVQN1XQlpRTWg 4GDJhMoaUn/7rgF/vB0sSsxlgkLC/DKwNnIgsR1Y0cfs8sv/eZUW2MOz/ 1tstXyMu62a1lbCckOKAIovXdO2HfKSArII41fUW8U5XpVjWTljOgKOkD zUqTYNF3+TyRGkxTMEqcFwnpkK3kB/ST7Ixpxlsonil9FeIcIii8nGMBQ w==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="273978510" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="273978510" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 00:35:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="706457281" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga004.jf.intel.com with ESMTP; 31 May 2022 00:35:25 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 31 May 2022 00:35:25 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 31 May 2022 00:35:25 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 31 May 2022 00:35:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S7bfTuTKpYcwgk3f3USy1vZBoKCd4CWyLBSBwMAlroDU48QwvlLg0h7jZtXHf+MnCJ23Fz+GjdMhupswjBb14+ZrOAvySTDiJFryE05p2lDseYAldAgi5GD7xCutaXrnUrGi7nK0cpe7XxIo0/OHWw4aAf0bjpFHXSj3YIrT5+soCDdilZ0tejf8GQJHqMa+CKdedQ0G7iGJvm/no+Hlj0xFd53Km0jATCexe+8i8ZFEfP/wy3ObUo9Tt1p3JATyRoPpa3T31snZeEEFH7Alpb8IexxzXjyAhb9LTt5IdiptHNYamLK6au6s3htJp+SHAVyabIA+V1aGUUqPrdpDAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=odKUMRZ1jKlhxhVcA8f7qdwdu5PusibgAcQGDa4BLhc=; b=aKsEUEpv7XEUdjorPTTazDYRXluwIjssxhe1uazd8WCwS4uNjPMnp4rXdkZILlr4YMJNmtBKDW/5KKUKYeHqQBazeJLV1fNvPqZPjE/DhJGrfaHOqQE+bfwcsAOXAsMBR3haNcv+sdMKo3m2EcFtIOE4ERySUWPepm36Tjc5qYntvYCt+Es7Ru0p54g1WYEGeqyVvK02EjYj4sRgxbdpffmsc9FYfhe3SuF77YCGkKh5yZuX0xJWAkduTozSCm5eCMSePshvQ5fXWwXSPAiOMqly1jQ3xrzfxSJycH1gGFkC4dolOZ9NAEuwgAA/mnWt/wSJrJrgoxQNAkOpGktXTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by DM5PR11MB1868.namprd11.prod.outlook.com (2603:10b6:3:114::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Tue, 31 May 2022 07:35:23 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::d070:886a:efa9:7ae4]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::d070:886a:efa9:7ae4%4]) with mapi id 15.20.5293.019; Tue, 31 May 2022 07:35:23 +0000 From: "Zhang, Roy Fan" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "gakhil@marvell.com" Subject: RE: [PATCH v4 04/12] cryptodev: clarify usage of private key in dh Thread-Topic: [PATCH v4 04/12] cryptodev: clarify usage of private key in dh Thread-Index: AQHYdK0Rs/x1jcOKXk6/ZmVK/AplS604mJOQ Date: Tue, 31 May 2022 07:35:23 +0000 Message-ID: References: <20220531040439.15862-1-arkadiuszx.kusztal@intel.com> <20220531040439.15862-5-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220531040439.15862-5-arkadiuszx.kusztal@intel.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 958860ce-75d8-4837-e6f0-08da42d81f89 x-ms-traffictypediagnostic: DM5PR11MB1868:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3fPpR5OBI7tQC53T7YIB0Zrlar0gzv8f/RYe6w/UADThcm94QbdatFW6xa0qC8gmwsLviHDqNwG2shHXaQLZ5YFXI7t8LiEgLy/luvI8S4Bi1F4jjXCLH3WTFGlr2BIt7l43WVfyePz/TYzjXCypwICtTY3tW7RE0OXZqsTI2IgLegMWpFIc+ggwAcJLHQgJ76kId165+cXTsfhobLokoz9GpdunNwF9hCzu8k6LqkjUmFQ4BoCey92/XiQkFrtT19A9iskwJSkcDJqjtjEACXj5qmgpzSxmjHaWzZyE8LBmL/vD2kTtpeIDVnowkgmgoKIW9Xr/tKHfdLF4vxmPJmjECJwALridxVEcoORkw0AK5CKyWCOUBWnZun+BUkJSf0u8geyFRPdz5dWyGug52pDmdDsdi9L18cC7EioiJPjPsoe1c4UFBCqUkDqIiS/vXgFOvWfa6x7F85BJKcClHwMoFassFKrr03/Oym/0ovTfDofuSyy6zZiqG4aa7x8l6y6XHehHkmj0kB+c9lRxiqdKmXP3Fzq4ACxx0W44ibDpYSkQbJIZcbywTkLh2yRzwbFg4EVwOsH1AjC5akyDQYihCbMZsgP7fcReFXVglbAbbUM02KFOawArp1NbfOj+3Y4dE7WP/7cF7Ww5UjwmuIqfiwPlwN4o96P6BSnsVPl+r6BJYSmr1AIc2vRqNQxj4zCuxiiSNf1tDPViyejzsQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(66446008)(64756008)(66476007)(66946007)(2906002)(71200400001)(508600001)(8676002)(66556008)(4326008)(76116006)(83380400001)(5660300002)(33656002)(53546011)(38070700005)(7696005)(26005)(186003)(9686003)(86362001)(6506007)(122000001)(55016003)(82960400001)(8936002)(110136005)(52536014)(4744005)(316002)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?L2TE/Ci9SzwA0ik6fSyyaP72WPSb8kGvCpBOYJ401+Nv1uvhvRPiE+c5?= =?Windows-1252?Q?FbKuM3xhHl938NKcrckBp0cFSZCOL+mmZvVZCBdBTsonyYrwnREzirAU?= =?Windows-1252?Q?pnr0YosrVfeUTMm+uu+MCTqHMEUef5i01gULbc4jNC2MZl508XSoUoCe?= =?Windows-1252?Q?f5tbScX4S8I4kxRQfHmUBq+T641bnNGTJLAYO7DJhHU2nBS26AaOC0zG?= =?Windows-1252?Q?ObeGSmG2QKL57Pn1vmxYcN9N8L7uhXmaHCt8Y6a2KsIXijGBVswHghEq?= =?Windows-1252?Q?b2BZdoB3SPLazJV7gX1+1rHzqwphwh1MkJheTCHudQ/eldDd+sMB+jPZ?= =?Windows-1252?Q?NTMHMvKW1FtvVcUeWs8qGQvRzzTL+8PZDrrKEX6uE68IpmmLcdIAWsjX?= =?Windows-1252?Q?+PJGHN3QX6Z88zQukCEOglmDrylF0J7eUFn5GZJhc5WtotEZgB8xUgah?= =?Windows-1252?Q?KhKOulH03nJeJCpe9Ibvx/qn5/RJnB9463X4ZoyvSnhdjA09d4yfJbaF?= =?Windows-1252?Q?/tGCd2JACj/oXlRcJp8ZKbct1X2XfJtiogTzu3IzyrgdU7j2wV9bFg3S?= =?Windows-1252?Q?c7b8H5msj07WSgsjTDF7pAW5p2ib4ECQjZu+sY8GBkfjBAi000T9L5Sb?= =?Windows-1252?Q?EMJ+SNtgOlz5isuPeUC5OPU7RvE3jDdtCvHVQZM5Bfotr/ubmf4lqqx9?= =?Windows-1252?Q?rc0JZq2cqt88Pav7KoWX71RH8CubQf8v8qJfn2JqNEd5CuyFrpbirAI0?= =?Windows-1252?Q?40hc8yMSG+gPlZCht1fxBQ+MQPB6ErNLe4B7juaVJ3OlS6dHgWQs0xYz?= =?Windows-1252?Q?zkKhx41bVpKbJYwAKqBtAbIrKj6dMlIuXxQxDd+hvy6qLL3rcxEV4yB4?= =?Windows-1252?Q?ELR7sd/YEcA438DOI7Jf9R8pJIva8nHyprubvcv+2GADRWhBGRbyd0M4?= =?Windows-1252?Q?iW3MxayPJv0u7jaLI2AbZyboRhylSah+4NuaoFp4wYPZt2jpt9SIAPDv?= =?Windows-1252?Q?1iAnirqAgDgtMoz91PrV2mrtcNzwFKRosAv/FnzBSIUS9vhyFMBoLmRT?= =?Windows-1252?Q?r/21a+7GipTsrulvshbn1P3miGNdwLJWlrhFTEekjlpyhnwh/8FZ05Oi?= =?Windows-1252?Q?YR9+Rt4h57zdxY8mHGruKaUgxG5atxYN1pKktyl9hVr1E/J2UqqpFgYg?= =?Windows-1252?Q?uyg62emelV4MUuaoLqiT0OOfufTz2oXawCfObyvD//a3VqmaK3Zxu5EQ?= =?Windows-1252?Q?eRDpS0fL6nYvuViG1a9YOlzqIVWi7tlefzpnqjH2FbOsgxp2mNrzspMU?= =?Windows-1252?Q?jXRncboFgszhvoohD8OJhS1QuQUVFqiF6fgZIUtE2634ht/VFr8+6pEX?= =?Windows-1252?Q?xJSpWp+eE+xyJ+duO9IhgTyKiipJXA7kBuInnrBCRyCpZsfXr0Tsp0l/?= =?Windows-1252?Q?qnP9A71hBRHR0DzmYL75S4US/02CuV8BV5IEICsvAP4KCjQhATxq17O+?= =?Windows-1252?Q?cFmdGhxhzHxmzYTsnYTo/lYRde+8lTiunDVgEHCvInQUchWrZeuV8k4e?= =?Windows-1252?Q?qxryA170WKQUhvTF4uiFJR/PzZkSsTq7jrPPbrVjYiavXn0D7B+QJUog?= =?Windows-1252?Q?4OgdNGiE7CPKCj8KP6wnQMz6Om3EVWwtQzjC/jcmpN6CUnfYlimzRQXI?= =?Windows-1252?Q?4EnTFjnK2pVAWx6MHRQHzlbQNTf6yiaaIVu1kNNUwSRjlS3nMSLkX6jk?= =?Windows-1252?Q?1u199db75tFwt6GHG8kQDWGq3mVvIWZaipA/+uQbupiCDtPlzPP01c5d?= =?Windows-1252?Q?BP1iesXmihPOvk9XrlPxvsU6WUjgVXf3VkDTMiznlGjhr9enG356A2pF?= =?Windows-1252?Q?99dFfZy55Sqg9A=3D=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 958860ce-75d8-4837-e6f0-08da42d81f89 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2022 07:35:23.5378 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MR2GnoQCBCI+Vui4B5gX1fCeUSazhzzB1XbyuokcYVBEOKpCmUOnbe7Om174zLWgA5435oLVBfLz3dYwsxASSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1868 X-OriginatorOrg: 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 > -----Original Message----- > From: Kusztal, ArkadiuszX > Sent: Tuesday, May 31, 2022 5:05 AM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Zhang, Roy Fan ; Kusztal= , > ArkadiuszX > Subject: [PATCH v4 04/12] cryptodev: clarify usage of private key in dh >=20 > - Clarified usage of private key in Diffie-Hellman. > CSRNG capable device should generate private key and then > use it for public key generation. >=20 > Signed-off-by: Arek Kusztal > --- Acked-by: Fan Zhang