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 9DAD5A00C2; Wed, 28 Sep 2022 12:56:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 480C44113D; Wed, 28 Sep 2022 12:56:40 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 137B34113C for ; Wed, 28 Sep 2022 12:56:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664362598; x=1695898598; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=YRbDcMCv3uOxMTeWq/eWx6dJuKufmaolVUKJ96pJ+dg=; b=MRGFc0XcI1eqK1Ank67QzG1P7DbC5kAn4RBojtkNcaUGpYq17V/Uxk1C PQfLUCszy7GrML4sTQTEpRUZtuaX8Yhl4PYcX8EaD9PzhlZA/F2O0PCb2 UN6WzjIlhwbQdDSRmfGIxuQ7wVRZ4jJ1JAYWcfUhXYkwQ5hbCS1UJrCQQ j/BUZLkupyeJLzaRZlViymVxWWGN41DuozVtBOPOJ1E8tb9OkLzRfpgIZ LQu+w0OnMD5KwSOFhcZveEldp15oTXG8vNeky/jW9eFoH8a5ITW7A/PA0 YmOLYKZTZ9cysMAES7I/6vybwzFgtH31z0oAiaje070e3FaBG2BdkDRRA Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10483"; a="284702404" X-IronPort-AV: E=Sophos;i="5.93,351,1654585200"; d="scan'208";a="284702404" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2022 03:56:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10483"; a="621881004" X-IronPort-AV: E=Sophos;i="5.93,351,1654585200"; d="scan'208";a="621881004" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga002.jf.intel.com with ESMTP; 28 Sep 2022 03:56:36 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 28 Sep 2022 03:56:36 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 28 Sep 2022 03:56:35 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 28 Sep 2022 03:56:35 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.108) 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.2375.31; Wed, 28 Sep 2022 03:56:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dGFuKCTBqzkXSWCHv44VwFM5VzSI8CLKKDP0ZaCcvGhHqsMm9+8XBE4WjAkMSwuzJCqQC+DU2DNgpFS0HB+1SsLRomkp4DOsSlIxWvMUuYL1GeEIcov9PuPwMDUuqdM3SW+HF5/D5uCP/cMCnvfkXWpzCHYQCZCIg4TNM+DQ0+LejfOz5z+cwWj+maKQhy8OMpLGIdah3LIey/cO/NXUpTzruIwZqODlvh8KG0Z5W8uQg14n+8kMK45jb6Rrp/v8gRqodlkrqhkay4GEabZpFU7GWD6BayvMJb6gvWrfRsui5XVnd79Vl5ikzgSmxdMqq6EifFu8maWNyhRwxUA6gg== 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=fK+wP3rcxM2PunQLL2B0LiFYevG4WhBs6AQHN2Nn0ak=; b=XlYM3eIFF4ZiZBjapWKYVTvt7vR6z3VzkYhoKyMFKp3svFWiQ8kJma7nBNVB/BpmpSN/svn5ULf1U8PP0nz5mJ+K/y0LAFMeqplItm1+Mkew/jqeRE0dC1oiU3bLaowGwixGbFomAo1qEcJcd/Eax1C4qPRQU6JlCG+DZ78rM3fWT7TqUAvuQCgXobjvdMb6xwy/fg/jU6NzcUeIJj3mp+LXtp7TP4k1p3SdGJ+3SN4aGqW3hso8EI5NnOE7AUA3k695IQBFxGqOrkXEVE+gQq6vnJLoZEGFayuSh6NGc9nTxQ66q+OspXnyeWA5Tz0wSBx1R17pECHpVrecTcj8/A== 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 PH0PR11MB5013.namprd11.prod.outlook.com (2603:10b6:510:30::21) by SJ0PR11MB5183.namprd11.prod.outlook.com (2603:10b6:a03:2d9::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.17; Wed, 28 Sep 2022 10:56:33 +0000 Received: from PH0PR11MB5013.namprd11.prod.outlook.com ([fe80::9979:9785:ada7:17f8]) by PH0PR11MB5013.namprd11.prod.outlook.com ([fe80::9979:9785:ada7:17f8%6]) with mapi id 15.20.5676.017; Wed, 28 Sep 2022 10:56:33 +0000 From: "Kusztal, ArkadiuszX" To: Akhil Goyal , "dev@dpdk.org" CC: "Ji, Kai" Subject: RE: [EXT] [PATCH 0/4] cryptodev: add SM3 and SM4 algorithms Thread-Topic: [EXT] [PATCH 0/4] cryptodev: add SM3 and SM4 algorithms Thread-Index: AQHYsgl1RbV9rAZpJESIsyDF18Aifq3qfvmAgAptRTA= Date: Wed, 28 Sep 2022 10:56:33 +0000 Message-ID: References: <20220817060856.78582-1-arkadiuszx.kusztal@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 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-traffictypediagnostic: PH0PR11MB5013:EE_|SJ0PR11MB5183:EE_ x-ms-office365-filtering-correlation-id: 1cf4c86a-c20d-4447-e745-08daa1401b4a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /98hiRaV8xJ8OanN1yOmJc42nGtV2856scHSFwqF908CPhBg+jjMrOAS+XFx39GQJOMANMuKv5CvY0v5wkqUSGbxt1JnbYtBhITSu/E8FDGX0GeCW68/uelySTk3iZW0OWvn8EuczZbm0wHhjIulvQO5ClSVJc8RlsLqjLFT9xU6Qq97+BAdqe/Bnq1yQ1Uks3B18MPCLulDpWHOPtqoocemCTDaBWx+SZGEtihEPAYin85c0RpHdI0gQnAP38iDB8xHgzCR4F3ONo3dKWR92z1eYDTshSDZ4J6HBBT+b8lzUbISExdvaKzD+ylyBlP7IM7I3vr8Gkr80MTSAjvhF/DfGacakSncPYPjgfDDOYRnb2bRPyfhD8ye5418CcwhTJ4RN67FgK09ftZBXrAu4RhV+UtoQb5z7+1qOdQua2pMG+hm3ZvXSaQDMYCSaX0xLFdnuTvkeuW4bFu2O8sV3f7KIpEKHTgBcRCdu2ZJn/LTEJle7vHLgqnBjq+4l9E5SkP7W7qnn7QUlji1p5135W9M2o3/LHZ/+j0MwB+Qw4SRV/skNZHhg3hsTGH+Yl/a/9JizXm4xR42Tbj3FwQ/3nSPqjbROnsqzr9Me1BNy3g2E3Ycbp9Gi50iVH0DgWsBFHDcA6vfEmyWzVFCuL0doHQAEqN382HkJmF9ZP2F8Lco3ao1f0573pIfZjxFX7N2ZU4rRsJbII9/QImXs3JQ/JL3Y6m5EGxfgSowyXwAuM5dCKW1pM/0rerCYk8/eGseUnSH7bVgZMcaRoKfBb4nsQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5013.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(396003)(346002)(376002)(136003)(366004)(451199015)(7696005)(53546011)(316002)(82960400001)(6506007)(52536014)(55016003)(26005)(110136005)(186003)(66476007)(86362001)(8936002)(8676002)(122000001)(2906002)(9686003)(41300700001)(33656002)(38070700005)(83380400001)(71200400001)(64756008)(38100700002)(66446008)(4326008)(66946007)(76116006)(66556008)(478600001)(107886003)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fJLFrZuXke8GvX/QdJyYRzAqODr5qSHGo6t9878cp37x6329AA9DgJZJF39T?= =?us-ascii?Q?pkIjh9BKZ34MnfdpMpf1RhyPM5wnP9PWy57VTCPXzjSXeHJGMYJn+WdeU9Rv?= =?us-ascii?Q?fALsG54wZ8GLDTuUwc0xj7dPTXjoR1HlzTxhWhzTKsEQrR9jvaquE1r6tZ3E?= =?us-ascii?Q?Wzc+1Tv+smMwx6+iVer82zzVesjjuifTVz1IfXSABcT1IG3u3dZc2QSm+3AQ?= =?us-ascii?Q?EJbS1db6ir1p9WYRm6PxSjwCDsQ5yQBdAW6W5L01yJqNbgg78YuD4MAtDX91?= =?us-ascii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Ls7vrmeq+EoE6AGTBtirrX3A5vaze?= =?us-ascii?Q?OYGrafUKYyCME2xOXMoBRzdYS/Ifl2KHm+maIEfMi39bjfQYU36WRK5lFtGY?= =?us-ascii?Q?jOieRSUUh2O8v1mRbmLwjXwXrRkMob/FyYehvOd7AJFY1W4d+GK05wNUkzC5?= =?us-ascii?Q?3ygAamoC7kMKU6OxHYbKDLv8NQj8nvnnKFl9cdcjoFtaRK3G5r6lOihL6RiS?= =?us-ascii?Q?OsYe0ag615gUJa+mkH7jxzZJ7qfbMZiQ+diEWHR+Aduag/od+OTzF0TAfTV+?= =?us-ascii?Q?SYFewgNOSi3vhARUEKl5g9G5ALY/EpTm4SHSWjGi2PUeLyQ56hS0O55FHKjB?= =?us-ascii?Q?Z+3CtbhfdPQAv6UHji2uNMkcZ0nfKqZSKVI1DpYVNPCeIgp94r1QokE40DSH?= =?us-ascii?Q?R7Z7EuY4z7njDNhyKc1KjMH9pG69zwspiaRM3lUl06x2z/PhdwJ0blr1DU3M?= =?us-ascii?Q?NA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5013.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1cf4c86a-c20d-4447-e745-08daa1401b4a X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2022 10:56:33.4062 (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: 0DKfsVBADCs6X5uF9fHIlYNLHjO4OTVSJgVBWP0OHTzlRiB33pULUDz1xpMse3H3GmuTN5/kl8h/A0n6240glY9uxIMd+U2tuty5apFlaB4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5183 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: Akhil Goyal > Sent: Wednesday, September 21, 2022 9:37 PM > To: Kusztal, ArkadiuszX ; dev@dpdk.org > Cc: Ji, Kai > Subject: RE: [EXT] [PATCH 0/4] cryptodev: add SM3 and SM4 algorithms >=20 >=20 >=20 > > -----Original Message----- > > From: Arek Kusztal > > Sent: Wednesday, August 17, 2022 11:39 AM > > To: dev@dpdk.org > > Cc: Akhil Goyal ; kai.ji@intel.com; Arek Kusztal > > > > Subject: [EXT] [PATCH 0/4] cryptodev: add SM3 and SM4 algorithms > > > > External Email > > > > ---------------------------------------------------------------------- > > ShangMi 4 (SM4) is a block cipher used in the Chinese National > > Standard for Wireless LAN WAPI and also used with Transport Layer Secur= ity. > > ShangMi 3 (SM3) is a cryptographic hash function used in the Chinese > > National Standard. >=20 > Add these full forms in comments of the enums that are added in patch 1 a= nd 2 I do not think we should, it is just current description of usage state of = SM3/4. Especially that we do not put much effort into other algorithms, particular= ly with 3gpp algorithms which are all over the place with naming and commen= ts. >=20 > > > > This patcheset adds both to the Cryptodev. > > > > Arek Kusztal (4): > > cryptodev: add SM4 encryption algorithm > > cryptodev: add SM3 hash algorithm > > crypto/qat: add SM4 encryption algorithm > > crypto/qat : add SM3 hash algorithm > > > > doc/guides/cryptodevs/features/default.ini | 4 ++++ > > doc/guides/cryptodevs/features/qat.ini | 4 ++++ > > doc/guides/rel_notes/release_22_11.rst | 16 ++++++++++++++ > > drivers/common/qat/qat_adf/icp_qat_hw.h | 2 +- > > drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 9 ++++++++ > > drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 9 ++++++++ > > drivers/crypto/qat/qat_sym_session.c | 32 > > +++++++++++++++++++++++++++- > > lib/cryptodev/rte_crypto_sym.h | 13 +++++++++-- > > lib/cryptodev/rte_cryptodev.c | 8 +++++-- > > 9 files changed, 91 insertions(+), 6 deletions(-) > > > > -- > > 2.13.6