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 9B67C42BA7; Fri, 26 May 2023 09:15:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F78640DDA; Fri, 26 May 2023 09:15:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 25D2740A89 for ; Fri, 26 May 2023 09:15:30 +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 34Q1qQQG031919; Fri, 26 May 2023 00:15:29 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2040.outbound.protection.outlook.com [104.47.66.40]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qtg6t1qpn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 May 2023 00:15:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ki58FqoeeYGL3A/2Ma4X1Pldd0rTTRD4E2ILauJdzp5CJmw5aZZEnHO3lxLHGg7gMEIkCncRExllpz4ZfYsgGE8M2JRBpkQ60qBR9d8vwbjbQf72kH0xIDaWRBNgEWF1vxWKOdKMJHqo08bQ7rvNSZble+KvAGLa2aq0fmelZc0uGucJhX/MktykTgQR5WBnYM4+WMKZBmAi1+8WjofhZlzEbc6rfX/yYPy7k2GP9ib3mRQvgX6FfprVNO5gXU48nT0i8BGOq3Ldrck1eTV9EuasgNiXCNIniCzqCv+MDIa6zIBPDPyaCrVMc1UrRFjjGb1Ou2sIAu7JnDBRgYtUGA== 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=4WA194FgLc2odsUXzOgYrNvvYNLJtkJQNd7AYeb8Yrk=; b=F8chVgwG2tD8NrIKBWw7HLTEgeceGlYCCdE+kOYErL/LEy2ls/qQIWhNg2m7YW0RzEHMTwS1dwCNiXAORYxlGYwvhaHB8DGNl88TsOo+O2eTRl3BSttIzF+gScyfyYq6AnQ1caooZk2fzMru0HB/8CzL2xW4WEsmjSwC9Gx9BpR+CTt9dikG5rjG11C8dWN7zvGHj/UjrWk8ZBdaeYQceP83LgHUu7asGWB/UDmoKICvo0Pj+Yhe/vCYKua3oXj8T5dLkDfv/3I/Gba4C470Y0yvAhq2aCGYXbMq280CTqB+JzhHLOfzgXIxVn04Dp7aDiTU22FarT/rydCSFVSrNg== 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=4WA194FgLc2odsUXzOgYrNvvYNLJtkJQNd7AYeb8Yrk=; b=bWyxKiRiqNME9upNSrq3WOh2uR9uCHN67280MgBH3P73TVVj7Ycgau4w36OkC/UG6/nhKwX05llilUOIM1SXkTTCz5oqQZmfTTmsLn97ETXN0Zq8yNnMSXv8qjWj2EzhaJqjiRpD+OcC2fD0wHu9XleYg/0hVAFzrDcHUSCgnWo= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by PH0PR18MB3814.namprd18.prod.outlook.com (2603:10b6:510::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.18; Fri, 26 May 2023 07:15:26 +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; Fri, 26 May 2023 07:15:26 +0000 From: Akhil Goyal To: Sunyang Wu , "dev@dpdk.org" CC: "kai.ji@intel.com" Subject: RE: [EXT] [PATCH v3 1/2] cryptodev: support SM3_HMAC,SM4_CFB and SM4_OFB Thread-Topic: [EXT] [PATCH v3 1/2] cryptodev: support SM3_HMAC,SM4_CFB and SM4_OFB Thread-Index: AQHZj2/9rNjgp00ve0OX6ILykJHfda9sJABQ Date: Fri, 26 May 2023 07:15:26 +0000 Message-ID: References: <20230526011811.3628-1-sunyang.wu@jaguarmicro.com> In-Reply-To: <20230526011811.3628-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?OWUzNWJcbXNnc1xtc2ctMTRiYjgwOTctZmI5NS0xMWVkLWEwOTMtOTRlNmY3?= =?us-ascii?Q?NjYxOTA3XGFtZS10ZXN0XDE0YmI4MDk5LWZiOTUtMTFlZC1hMDkzLTk0ZTZm?= =?us-ascii?Q?NzY2MTkwN2JvZHkudHh0IiBzej0iNDA5NiIgdD0iMTMzMjk1NTg5MjQ1MTcx?= =?us-ascii?Q?MTMzIiBoPSJjUW10SEp1ZmlUay91ZnFia1FkVWNrdXlON1k9IiBpZD0iIiBi?= =?us-ascii?Q?bD0iMCIgYm89IjEiIGNpPSJjQUFBQU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mQUhRQVpRQnlBRzBBYVFCdUFIVUFj?= =?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_|PH0PR18MB3814:EE_ x-ms-office365-filtering-correlation-id: 02e19c12-e536-4428-6a89-08db5db8facb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tVoyQeO2RGTb05Y0iULBzKa1TR31BZrfMNWNbZFesp6f1i7j678TpzN7FRwlXtlgRk5GIkLNF1LIxXSJFu36p1xsJsHwVvHJmDVoKo6SNA6FntEhkLno9u7JgdYN6hI+JFbjEFV23qjOz18fHdyff0Quxfb3fVlCIzi99f9AtdDVVoMGB/or3WAp88y3YW8y/oTfTGjP3noFyYBHyRg5A61FL2eL4KOtC0wzLE5dVGx7utphVSWbjb++ffKjOxQLt5ctium+bY1d5JFMZzD9uNxShE0AEcdDSDTtvUGq9oUn6BxBY8TL++IcByY3Jvp8w/oFwbrBwW8cWT/IV+PPT+w/hyl7jOfu0fbVU+6HGZnb218ZtpgWT+9wa6m2PkDdZGj6js/bjf228ZsgUzXgL/15P+gIwYTBMzZXDJxC8XQYq/03pdtDzuPT6AaRevStqcMEs0yqv5RT2FqIb+YHAao3dAgvHNfmYKw4iDqVx6Z+6Y6vP7v3snb92rvVYgUQe0I5JpUDKyzej2FWbq9ECZ4sgFzzPSHHf4539t/K5SUWKjkBYgFioZZvHFVQeOQ8JBxGkCdbRKSkaF/ycWJlhggGIuSKlCsJ9VRRUW9T2Uo= 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)(396003)(136003)(376002)(346002)(39860400002)(366004)(451199021)(38070700005)(83380400001)(186003)(76116006)(4326008)(41300700001)(2906002)(66946007)(66556008)(66476007)(66446008)(64756008)(6506007)(9686003)(26005)(55236004)(86362001)(52536014)(8936002)(8676002)(33656002)(966005)(38100700002)(5660300002)(55016003)(7696005)(71200400001)(122000001)(316002)(478600001)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?09Zf259e9g7w4e5OtzOmI+zHyv+taYKHD//bmKf0roCeCGFkOlaLSUOP5Lg1?= =?us-ascii?Q?CAiERVPOluU8l/sRbLk/cl6VD27DLsKVyIJN7sNE0lX5rqopAYZUpgmHg0Tl?= =?us-ascii?Q?8NkZaofENOJRV/FfzoWG5Epb/LfG+ipkw0JLV9LdmEEykcvMtKAzlkjEqEo2?= =?us-ascii?Q?VbiXzJd6yz93HBf48iRcfYOWbZrk8dz/OS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5IKd74NThKICCdEXrlXTpnl7Y7JV0Wdsuk8pU4A65D3?= =?us-ascii?Q?E7Xpo1GoLf2FkI4XkGy9zO+tSINQhuieoM8UDnC4XItEzre2XlZJCOsmsURl?= =?us-ascii?Q?+3qfDIQlq55xUnTjPfewBKGXiWQ97pP2ISMdEFR/rPOSL5ouHsJpd66dnaoQ?= =?us-ascii?Q?ZsZI7xgN/kzWSdviOMi9YGUYu02giiFK9eNpRea1e14Usk9UKxIefx4qRPvD?= =?us-ascii?Q?bCID+KOytOu/c1bFkNOoRF0AhqaCbsueul9P26vI6ZPYTmjSOfukeXGgGoA6?= =?us-ascii?Q?N11JkQpPF5t0eeqqEQQsnQS3Jj2PTpVGuJtyKw/GkLh6tcbGkTZrUsDo+SwK?= =?us-ascii?Q?e1OD6Tfip+QpuakJULlHnmcJ7FMXia5lSjfojJMALEjAQ3IuizqNfNUvHm3T?= =?us-ascii?Q?WrZbnhPfMXtnX1TvNRJ+m32fr87Wbt05CxoMqbTZn1hBh3TDFdrSD4ey8297?= =?us-ascii?Q?4oklHUMxVYkYbpHtyB8=3D?= 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: 02e19c12-e536-4428-6a89-08db5db8facb X-MS-Exchange-CrossTenant-originalarrivaltime: 26 May 2023 07:15:26.5553 (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: udL2GPTLUlu8PNDfI3QOXv9wvs/Cgkv6HtHLPeu2RABq/vpPWSNxsKTx+I8iN/OS44Ae0kjnAGOGNLNs1Yftow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB3814 X-Proofpoint-ORIG-GUID: 1U8efDI7xW_HDvQLqBjSdfpHmxFYVOMz X-Proofpoint-GUID: 1U8efDI7xW_HDvQLqBjSdfpHmxFYVOMz 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-26_01,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 | 5 ++++- > 4 files changed, 19 insertions(+), 2 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 */ You cannot insert in the middle of enum. This will result in ABI break. http://mails.dpdk.org/archives/test-report/2023-May/400475.html Please move this change to end of enum for this release. You can submit a patch for next release(which is an ABI break release.) to = move it back. >=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..4ff7046e97 100644 > --- a/lib/cryptodev/rte_cryptodev.c > +++ b/lib/cryptodev/rte_cryptodev.c > @@ -127,7 +127,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 > /** > @@ -227,6 +229,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-hmac", >=20 > [RTE_CRYPTO_AUTH_SHAKE_128] =3D "shake-128", > [RTE_CRYPTO_AUTH_SHAKE_256] =3D "shake-256", > -- > 2.19.0.rc0.windows.1