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 6082E42B9B; Thu, 25 May 2023 16:48:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3652140DF8; Thu, 25 May 2023 16:48:55 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 9137B40DDB for ; Thu, 25 May 2023 16:48:53 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34PA2Te0020237; Thu, 25 May 2023 07:48:52 -0700 Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2043.outbound.protection.outlook.com [104.47.56.43]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qt5jnh3ep-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 May 2023 07:48:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aqSiohsGcR8GQlTFtTeRl7cTH4ll+uA0nPcwz1o+W88lYZS06JBYPYto8ZbwQCDrSL4VxhWI7yh45BzDnmN15vDq6WlK3l3jArsVrP88UKhmP/7EYQRcuEDGSMlgO5a2+ySIfxOXscOUEru58Y4HJFkplCFCU2EgqzcLzI0VvZ1QF6UpLLr59O2/vUrzyRHCb6lNGUaZVlCHbuodC0jtFwxEh4gtaUzyoBfmovxf4cSOLsmAhc0hXDX7gXC0HeCVriloavmFqYTsddhDBLSdFESp513v/6J4ZXykedGHuCtTIWQwGEPbXJsOpFfR5xLtg4xMJqZr/WqA8z64Gars/Q== 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=0P5DG+uNjMfms9iUv4SOczIKXTuGOUFhbqJ/bFAqgUU=; b=L3e8i376EFtwhT2uh++JnyZkupIOBpuS5LDEMwL6BTsWtfiwBBpKPcg8U0K3T/aLpXJHVlzZ2URKIfqdGPAdVvdmFNubygZKppaCnIxaRlCIwS1qfQxgjoeMug7UVrdO6G6uuVBwRtDRnB2HPzaTZJeZpYy6lf8ZvwxYvE8gu96R1poYR5mUwes9EHwtg9cokBpIWj8Czpin/WOT04dXsXpf1ucBbIoYDQZw6k63San1X4pstiMRKgkeaJqlqz7hZNcl2iLEFw7YmXLhv4RKQblluBwD4kRfK+7iYwnWI6aIY2tcedeNG4vkz8sYvJa/zyIGykL9DN7i98hQgxRbmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0P5DG+uNjMfms9iUv4SOczIKXTuGOUFhbqJ/bFAqgUU=; b=JP8TGBqJyocIU4rJ67l0vCDuzM20cvrX85f2L/k2sqyu7KMjPq7iwESTCMnzBCJ/yLONl4XOs3dWRtkpP830KleMbnZCm89ylI2iEyxuZHzDDoLIGhWMoOMRkeKbR5XPpZL6/to1hDv2KC6jBW4M44iAEB3QlkZkvhuLza2XXjE= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by MW4PR18MB5181.namprd18.prod.outlook.com (2603:10b6:303:1b4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15; Thu, 25 May 2023 14:48:50 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::831b:85d2:9a45:8489]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::831b:85d2:9a45:8489%6]) with mapi id 15.20.6433.017; Thu, 25 May 2023 14:48:50 +0000 From: Akhil Goyal To: Sunyang Wu , "dev@dpdk.org" CC: "kai.ji@intel.com" Subject: RE: [EXT] [PATCH v2 1/2] cryptodev: support SM3_HMAC,SM4_CFB and SM4_OFB Thread-Topic: [EXT] [PATCH v2 1/2] cryptodev: support SM3_HMAC,SM4_CFB and SM4_OFB Thread-Index: AQHZjvDfm1lfTSic30ijfdWQksH3KK9rEY0w Date: Thu, 25 May 2023 14:48:50 +0000 Message-ID: References: <20230525100806.36992-1-sunyang.wu@jaguarmicro.com> In-Reply-To: <20230525100806.36992-1-sunyang.wu@jaguarmicro.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcZ2FraGlsXGFw?= =?us-ascii?Q?cGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEy?= =?us-ascii?Q?OWUzNWJcbXNnc1xtc2ctNDBlNWRiNmYtZmIwYi0xMWVkLWEwOTMtOTRlNmY3?= =?us-ascii?Q?NjYxOTA3XGFtZS10ZXN0XDQwZTVkYjcxLWZiMGItMTFlZC1hMDkzLTk0ZTZm?= =?us-ascii?Q?NzY2MTkwN2JvZHkudHh0IiBzej0iNDc1MyIgdD0iMTMzMjk0OTk3MjgwNzE4?= =?us-ascii?Q?ODUwIiBoPSIzUXEyS3ErNGRiNkIvY1Z2Z0RuRHVjczdyZ3M9IiBpZD0iIiBi?= =?us-ascii?Q?bD0iMCIgYm89IjEiIGNpPSJjQUFBQUVSSF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QVpRQnlBRzBBYVFCdUFIVUFj?= =?us-ascii?Q?d0FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFKNEFBQUJ0QUdFQWNnQjJB?= =?us-ascii?Q?R1VBYkFCc0FGOEFkd0J2QUhJQVpBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBRUFB?= =?us-ascii?Q?QUFBQUFBQUFnQUFBQUFBIi8+PC9tZXRhPg=3D=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|MW4PR18MB5181:EE_ x-ms-office365-filtering-correlation-id: 8c20c562-3e27-4cc9-a6e7-08db5d2f26f3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YTuavhHHnUjPF5Fioic9NV1AQs6oFtfAharsr0QZQ0rP7VJ8Vxn5Hgiimo6uusfGR4S5qoNrl7+QCDITYeVpSw4a7/PqK11czWwA2g/Db1xQBdcEzPzfdX8cg1UT2sdqne8K12RkEKko7BBzcKpnzydU0rEbfeAhMuwfr/HyjPBzPPpaHoHUm0bX4ZOOXyuT0H4XGnE9xPJkFoSiNL435a4RhSsQdmlVqoTiULgFTe2CohDTsj/fYHuX1uosvCdZDE0F9Vp4OPhIgOXxp9p57aVr+vWrTm94vyF0T8+SA7LYWkX+ZKNaRpCFpC0cw5Cu3DsIVZ3kSopVqNI6M4lp9mrX0KD7f78v/bqrpfK000GVhSNzu4FRPnLNPeR3gvPTTKgmTZCY42eDb57CdVi8twWaWPtU1MACDFHMeLC7dffG0cuXY88K5MiN9CLrSX2WASruDtOQX5MkNpHAAsWaGajcjbd6iE6XkTgX5lhoEwwZHpW2JdZGvMEH+5ALyQunMQ9C8uwF0e0fXuY05eMsBbmWbGvjaTFuP4swb/7xcQi64BXILNq0LLgabsdhyH4ym6XejvfqHOku+31cOuB5b3MqVow7wx5+ZzigkDBcdqT/md6GqOpXAcZG44TzBUay x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(451199021)(38070700005)(110136005)(478600001)(66446008)(66556008)(76116006)(66946007)(4326008)(64756008)(66476007)(86362001)(83380400001)(71200400001)(316002)(7696005)(41300700001)(5660300002)(2906002)(55016003)(52536014)(186003)(33656002)(122000001)(8676002)(8936002)(38100700002)(9686003)(55236004)(6506007)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?pdOMCKhQ+QukpP8piYy+pdCZ99ctCMg20bz0ntX7N8oKdRA/vYy+l5lJSBDm?= =?us-ascii?Q?kIiLBb6BWC0iIGMfZ685DFL82ZwnGqBy5tWnMbaNEaM3X0C1KTSGqWg9izMN?= =?us-ascii?Q?d8QErhF+OVPPiO4wgDWJiQn191BNHIJq2IPucxT1ML/A7Ip47UORJ/RmNL65?= =?us-ascii?Q?yLAC+eaRy+cQ28x9F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?Q?9sB8zs90UN9ZOClF0zQpIsCsXbad86gh3O+kKbqqe2pvGvg9GYLies6ghaKG?= =?us-ascii?Q?HzGVdrc977QVhtOA1u5dfDgpBvlLe6JU1J69/17m+gwg58xEgf7orPWts/Qh?= =?us-ascii?Q?gKF6L1T8/XYT0GIiSKuUmZ8BTTfmsHs5JJGlL0sncr2oA2BvE/rbynji8F7c?= =?us-ascii?Q?wGmf592srLfLKiOKPgEmqfsZgoaGU36aFxYu+nyX5kRCwcJk2pwEspPLk59h?= =?us-ascii?Q?W/mjDEaC3Q7RYfiXMhoHq2ARTqRJpQe+tQVvy5qY5f2FfcjUduhFbTrkDXaD?= =?us-ascii?Q?erBazaa7kY6ebNW9ShfVf49Bo/CfzBTm33zKnjRgoaQ4n8Twa9/Nzu+arZHR?= =?us-ascii?Q?o+gwIuJ7vNQKF3tGiprQL8eiyPsLgwKQGrCTG2Ky5KwP8gPjAm8u5TGg6OzK?= =?us-ascii?Q?vjOtKZEhKigEOr0/UgkoQq8GBtemf7X08SJ+itzoTe8+ehXmfdtXhcjmqpsD?= =?us-ascii?Q?4j0PBNxjTFOOrdVMEGs8TYOV8xLCLgP2HlbkpGN5?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c20c562-3e27-4cc9-a6e7-08db5d2f26f3 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2023 14:48:50.1018 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YRqdIr0aAP815WRxdRQhRx+ERdwgxU/bTbMfBmc/sz0Fcp8UL6Ll0zFSyjB/1/XNeX98NSe3bGDOAtd5n7u8jw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR18MB5181 X-Proofpoint-ORIG-GUID: d1PKENbejyr7WzP2SXIEy9QpAZXFp0i5 X-Proofpoint-GUID: d1PKENbejyr7WzP2SXIEy9QpAZXFp0i5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-25_08,2023-05-25_03,2023-05-22_02 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 > Add SM3_HMAC/SM4_CFB/SM4_OFB support in DPDK. >=20 > Signed-off-by: Sunyang Wu > --- > doc/guides/cryptodevs/features/default.ini | 3 +++ > doc/guides/rel_notes/release_23_07.rst | 5 +++++ > lib/cryptodev/rte_crypto_sym.h | 8 +++++++- > lib/cryptodev/rte_cryptodev.c | 12 +++++++++--- > 4 files changed, 24 insertions(+), 4 deletions(-) >=20 > diff --git a/doc/guides/cryptodevs/features/default.ini > b/doc/guides/cryptodevs/features/default.ini > index 523da0cfa8..8f54d4a2a5 100644 > --- a/doc/guides/cryptodevs/features/default.ini > +++ b/doc/guides/cryptodevs/features/default.ini > @@ -64,6 +64,8 @@ ZUC EEA3 =3D > SM4 ECB =3D > SM4 CBC =3D > SM4 CTR =3D > +SM4 CFB =3D > +SM4 OFB =3D >=20 > ; > ; Supported authentication algorithms of a default crypto driver. > @@ -99,6 +101,7 @@ SHA3_384 HMAC =3D > SHA3_512 =3D > SHA3_512 HMAC =3D > SM3 =3D > +SM3 HMAC =3D > SHAKE_128 =3D > SHAKE_256 =3D >=20 > diff --git a/doc/guides/rel_notes/release_23_07.rst > b/doc/guides/rel_notes/release_23_07.rst > index a9b1293689..405b34c6d2 100644 > --- a/doc/guides/rel_notes/release_23_07.rst > +++ b/doc/guides/rel_notes/release_23_07.rst > @@ -55,6 +55,11 @@ New Features > Also, make sure to start the actual text at the margin. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >=20 > +* **Added new algorithms to cryptodev.** > + > + * Added symmetric hash algorithm SM3-HMAC. > + * Added symmetric cipher algorithm ShangMi 4 (SM4) in CFB and OFB mode= s. > + >=20 > Removed Items > ------------- > diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev/rte_crypto_sy= m.h > index b43174dbec..428603d06e 100644 > --- a/lib/cryptodev/rte_crypto_sym.h > +++ b/lib/cryptodev/rte_crypto_sym.h > @@ -172,8 +172,12 @@ enum rte_crypto_cipher_algorithm { > /**< ShangMi 4 (SM4) algorithm in ECB mode */ > RTE_CRYPTO_CIPHER_SM4_CBC, > /**< ShangMi 4 (SM4) algorithm in CBC mode */ > - RTE_CRYPTO_CIPHER_SM4_CTR > + RTE_CRYPTO_CIPHER_SM4_CTR, > /**< ShangMi 4 (SM4) algorithm in CTR mode */ > + RTE_CRYPTO_CIPHER_SM4_OFB, > + /**< ShangMi 4 (SM4) algorithm in OFB mode */ > + RTE_CRYPTO_CIPHER_SM4_CFB > + /**< ShangMi 4 (SM4) algorithm in CFB mode */ > }; >=20 > /** Cipher algorithm name strings */ > @@ -376,6 +380,8 @@ enum rte_crypto_auth_algorithm { > /**< HMAC using 512 bit SHA3 algorithm. */ > RTE_CRYPTO_AUTH_SM3, > /**< ShangMi 3 (SM3) algorithm */ > + RTE_CRYPTO_AUTH_SM3_HMAC, > + /** < HMAC using ShangMi 3 (SM3) algorithm */ >=20 > RTE_CRYPTO_AUTH_SHAKE_128, > /**< 128 bit SHAKE algorithm. */ > diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.= c > index a96114b2da..3e5e65dc58 100644 > --- a/lib/cryptodev/rte_cryptodev.c > +++ b/lib/cryptodev/rte_cryptodev.c > @@ -94,7 +94,9 @@ rte_crypto_cipher_algorithm_strings[] =3D { > [RTE_CRYPTO_CIPHER_ZUC_EEA3] =3D "zuc-eea3", > [RTE_CRYPTO_CIPHER_SM4_ECB] =3D "sm4-ecb", > [RTE_CRYPTO_CIPHER_SM4_CBC] =3D "sm4-cbc", > - [RTE_CRYPTO_CIPHER_SM4_CTR] =3D "sm4-ctr" > + [RTE_CRYPTO_CIPHER_SM4_CTR] =3D "sm4-ctr", > + [RTE_CRYPTO_CIPHER_SM4_CFB] =3D "sm4-cfb", > + [RTE_CRYPTO_CIPHER_SM4_OFB] =3D "sm4-ofb" > }; >=20 > /** > @@ -127,7 +129,9 @@ crypto_cipher_algorithm_strings[] =3D { > [RTE_CRYPTO_CIPHER_ZUC_EEA3] =3D "zuc-eea3", > [RTE_CRYPTO_CIPHER_SM4_ECB] =3D "sm4-ecb", > [RTE_CRYPTO_CIPHER_SM4_CBC] =3D "sm4-cbc", > - [RTE_CRYPTO_CIPHER_SM4_CTR] =3D "sm4-ctr" > + [RTE_CRYPTO_CIPHER_SM4_CTR] =3D "sm4-ctr", > + [RTE_CRYPTO_CIPHER_SM4_CFB] =3D "sm4-cfb", > + [RTE_CRYPTO_CIPHER_SM4_OFB] =3D "sm4-ofb" > }; >=20 > /** > @@ -182,7 +186,8 @@ rte_crypto_auth_algorithm_strings[] =3D { > [RTE_CRYPTO_AUTH_KASUMI_F9] =3D "kasumi-f9", > [RTE_CRYPTO_AUTH_SNOW3G_UIA2] =3D "snow3g-uia2", > [RTE_CRYPTO_AUTH_ZUC_EIA3] =3D "zuc-eia3", > - [RTE_CRYPTO_AUTH_SM3] =3D "sm3" > + [RTE_CRYPTO_AUTH_SM3] =3D "sm3", > + [RTE_CRYPTO_AUTH_SM3_HMAC] =3D "sm3-hmac" > }; >=20 > /** > @@ -227,6 +232,7 @@ crypto_auth_algorithm_strings[] =3D { > [RTE_CRYPTO_AUTH_SNOW3G_UIA2] =3D "snow3g-uia2", > [RTE_CRYPTO_AUTH_ZUC_EIA3] =3D "zuc-eia3", > [RTE_CRYPTO_AUTH_SM3] =3D "sm3", > + [RTE_CRYPTO_AUTH_SM3_HMAC] =3D "sm3", >=20 > [RTE_CRYPTO_AUTH_SHAKE_128] =3D "shake-128", > [RTE_CRYPTO_AUTH_SHAKE_256] =3D "shake-256", > -- I asked you to update only the crypto_auth_algorithm_strings And crypto_cipher_algorithm_strings and not the rte_ ones. Changing rte_ will create ABI break and these are deprecated arrays, so it should not be changed.