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 3F45C42B25; Wed, 17 May 2023 09:04:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A8244114A; Wed, 17 May 2023 09:04:57 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id CC7B74067B for ; Wed, 17 May 2023 09:04:55 +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 34H1VYBt027087; Wed, 17 May 2023 00:04:55 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2170.outbound.protection.outlook.com [104.47.57.170]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qmnba13ep-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 May 2023 00:04:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=No3b09n5t/UP9mpeyqVZsEftH9mUYOuL6wuEAIspSxTBphq37w02rmtCBEKn/32UUVSxqrQptVqCBEvYvaUTf0cTOC28FTONUIqpSRvDkebvS+6iIb5fzIG7jSTSqd0T5MvvH2ZmUcXPxn+sZjSFA3YStAw6aib1ZZKtGIyh9JQMtl/3vOnZXZCtc5y3kcAfaL/O1VHoAwdXJIrtPSUSw/W4wCBNBPYCwgnWTWsVuNUSCDhs7zFA5EBIJFL0z+S3VicA/TXRYosDOPzZ5aiRgJai1zck87bY3clVsD0Wg/AIx1znQKbcrvkqx6OGIqxpQ0fzGncIq70bNurAAbHHWQ== 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=LrbsiwwisQLXQhenRCVCQraR532/M6AKj1ACYuC1lY0=; b=aljRVAZDF6MBaj/eu5lJgrptz5cG6zaCbMdhh3HARtEm8PrzVpu3ldsNt+rzvKLIHUOaic1Fi2gCQvW2NferYLKQgwrtb69/cX+6QHfFkVXB1T3vv/b8bFktDyQTMAQA+I8venUVuTjlabEbqar7lTFnPGm5Vn4JkZE3AysMKZpV9280nIK+Uk8lCzGiMjJGZnU4gH6WzWvbyK4Q256Rw0UOsYdOt8cC6mmtn1lkU8fjo81fbSeYJZnkR8UoDzTyVLAphUERal1D10bRIn0PO8d9gNtcp71dUKtZdZDN/ZST9TvR1uVKtcrsN6JqWxE4cU2V3SStdx4KRNlAcJVrlA== 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=LrbsiwwisQLXQhenRCVCQraR532/M6AKj1ACYuC1lY0=; b=e6/G/uNwOqSG/ZogLjDtPqgczSkizx4+E8ONV1b9+/aRMrnhOLKQsWRo175L8Ie9mlJnrV9/RvIPjprKT7iwNb/oVTq8wkBzXslebHO7zYrTgTMIY9JzYj0MnO2Yh9VgLY4Cb4muJZW94w89cc7mPniCagX7n/Vx+hJnbICAoRM= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by MN2PR18MB2976.namprd18.prod.outlook.com (2603:10b6:208:3e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.29; Wed, 17 May 2023 07:04:51 +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.6387.033; Wed, 17 May 2023 07:04:51 +0000 From: Akhil Goyal To: Sunyang Wu , "dev@dpdk.org" CC: "kai.ji@intel.com" Subject: RE: [EXT] [PATCH 1/2] lib/cryptodev/: Add SM3_HMAC/SM4_CFB/SM4_OFB support in DPDK Thread-Topic: [EXT] [PATCH 1/2] lib/cryptodev/: Add SM3_HMAC/SM4_CFB/SM4_OFB support in DPDK Thread-Index: AQHZV7ToRRK3H+xJdki9fuR5q56MuK9eawUg Date: Wed, 17 May 2023 07:04:51 +0000 Message-ID: References: <20230316031026.32600-1-sunyang.wu@jaguarmicro.com> In-Reply-To: <20230316031026.32600-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?OWUzNWJcbXNnc1xtc2ctMWJmYTU4NmYtZjQ4MS0xMWVkLWEwOTMtOTRlNmY3?= =?us-ascii?Q?NjYxOTA3XGFtZS10ZXN0XDFiZmE1ODcxLWY0ODEtMTFlZC1hMDkzLTk0ZTZm?= =?us-ascii?Q?NzY2MTkwN2JvZHkudHh0IiBzej0iMTU2NSIgdD0iMTMzMjg3ODA2ODg1ODgy?= =?us-ascii?Q?MzgzIiBoPSJnMi9PRElKKzVYdEQxcHZtajliM2FJcFJDS0k9IiBpZD0iIiBi?= =?us-ascii?Q?bD0iMCIgYm89IjEiIGNpPSJ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|MN2PR18MB2976:EE_ x-ms-office365-filtering-correlation-id: 373e602b-8d34-4be9-a27e-08db56a50265 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Q9RDg46Xfz95fjfwRt56KeGDtiA6iuIShmMjN0iMXjd7Xfifrw+qR6mHpBth3cwjCOViUzM0ZqTMl8vuGfEExZB76X33xeXShCEIoZQ43D2lZxJf9I0s6eWlCS9/fs8ufV3Yit4cEIu8HJYjcKhVTrInesmFJb7usw/XgmPhcfygeN0nQ8xshCmMIhHmlHojhyb6MuuEkjCQO/gQeG0bblOTSFL39X+2jkO/l/sb38I9mo8kesopS9I7lWGn6MVux7Z4u13Y6wBsGWVOk5Sqsn0FC4gBlNT/yrdoVmhelPjTyOiOSKoJaE8jc0OkkkGx0arvWGwDzbtLIUx8Y77GFeNEhcSS5JrWTI5qqF3WWBGTjnGrOeXo9E+zZ83vWU1FyN0hqZMH9LnpToPm5+Mik3pfwABtM7CYVTCWnYxOo33JHBxMCaQ4CwsCK0Mzrpx/JtGcy4fUmyzRkXBD9PJsoiETGAtPgZcv6r4VgHmdgM27ngG0He0tIAuoyW013BoXQ1S+oBr4gLHTwjbLWQ3m1VfAtIz/J/RDsOD4A+pC70d7cSPDUjLoAv9sm54s/pPSfoTT0z93M+IQqgx1nSX4qzuKNUE/UZWqRcQawlQt36kBcByNXvJGbIbNVIJv9RYS 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)(346002)(39860400002)(136003)(366004)(376002)(451199021)(55016003)(6506007)(26005)(8936002)(9686003)(55236004)(8676002)(66446008)(66476007)(66946007)(5660300002)(7696005)(71200400001)(316002)(110136005)(64756008)(52536014)(33656002)(76116006)(4326008)(41300700001)(478600001)(186003)(38100700002)(66556008)(122000001)(86362001)(38070700005)(2906002)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?C8kqkhyBbZYl82gniZuwfJuTsKabScnsoRKxURqaToMlDLxjhhQvBvDQfApq?= =?us-ascii?Q?vgrpeQGw4Zf1OVooZXACZKq5+Vrj2CQnK6WuXKZMMhwdJ9+uofa0xDpx66tb?= =?us-ascii?Q?qVgibSXi6eURHIpqkd2fHxCalY9+1B7twC216cRb529JETV7XpP0aibMdXQF?= =?us-ascii?Q?pR5ByX5Ixs2Xdwsr8Dc6CbuwFtIKE4IpgQ9bgetcsWDFW7B1YsOu0WaKnAHC?= =?us-ascii?Q?SUtpaaaOSYzzTgmzfwZYTpqbcBl0WPJhwTYFBgsHx5T+xM1qwvfYaV5RAQKA?= =?us-ascii?Q?eLfbK57flyU3mmOfgoQGkT4pbrrq7qHVMhiHyWM9cSTGXQ34j5b7zK8DfE6p?= =?us-ascii?Q?mrOrrKM4j3FcYiKaAqM3FV3a9aGSlwdgR8fh0/5JoNq8hQnWgWGy/51WF0h9?= =?us-ascii?Q?o0GZlXdhv6K7YK7GH2bdzHgOFcLdi5OVJU4+aVhQT7cJHa2XKvaGjwDu5ezM?= =?us-ascii?Q?l66SC3QvYEmpCpjZrSw1Zi8S0P1Y1voJd1EltM42Ev4tU/8SZ+VB6cwL12G1?= =?us-ascii?Q?BRqgDWk4UWMa0PQLeep8j0ZZLp9Jyl+d0E/RhoiF6i/eXho17eSpJj8HyIA7?= =?us-ascii?Q?cIKxGuLAPPpyGfCRimUHLVLQHPCNBeTxLBp3wsNlVCD2h3oGf/x7YUIHkNJ7?= =?us-ascii?Q?neVcGK42a5afICLBbTES/+V/AtB3vzXDcxB3PfBg/RxEOr8WYNRuHvIC/nJO?= =?us-ascii?Q?0cC4w8O9leLPmoZgXQ3Te1nzai4b6gDOlsqk7MctBTCMx5fMGD69XAVyb/eX?= =?us-ascii?Q?A2j6Y/lcZyiS79TIR8lf112P5gZ4Pe9rACnI0u7fO/oYsUrh3nqxAVgG71j2?= =?us-ascii?Q?rlKtdaV6Jn12P46RlEh4kzxl7Ux3p82WZ9LLXhMIqYUI8EjyYy028ogaoQ/a?= =?us-ascii?Q?3vUAdWmPAQ7puDSbS2XyK4QUUGl6+lYq2iLf309H0esG9+/93mGMTgOlZXeX?= =?us-ascii?Q?pD3xdo1edUVSDI6o+xbq+q6J40XdPYOuF0y+a1hH3NhA7vhiZ7If4BBxsnf8?= =?us-ascii?Q?BgAnP/9Ohrk3q8gLyMA469kZAvT5uV0dIcvR7Om7XMDaIyQggX2lT0btLd5o?= =?us-ascii?Q?bq7/RwnddZCYRptzGIoSgCDaR0VZaVyyewwt/uf/2uGp2Kdwtzg/JSsbmF6E?= =?us-ascii?Q?0etmIfoqu6WUzvqxihkqYZKpm7Xa1tml5UQOLDfQuilY4hAXiif4W7o1FrsJ?= =?us-ascii?Q?ZyGEP6BUN2JR5t0OD+y+1wS+3LPExC9l+S5teq9k715QlXRoW/6DrpGsi8Sw?= =?us-ascii?Q?hyjmf2z7D+nWfb38s89B0kC/1FLk7OAeRkgPA/wnqwb/lc83N1LrfEn2rbKq?= =?us-ascii?Q?hNVKN4LOH8LALMfDt4YoRPQRZVNRdHsvr4yYPx0BEkXAYWHCXXe4+6kcJyWO?= =?us-ascii?Q?E4zkpgdaPBoVVb/dMLQLeOTM8QghoPJEqYexlaoTRwm7kcHJKnzOpQRspn8F?= =?us-ascii?Q?mf5m+oHfbl1iEcPTaJNm7tLbt16tIHESYW7t1NljX/IKUV/nb9TRoM0UDq8J?= =?us-ascii?Q?b9ZlPd+Iy+QDuC2XFQriNCgf8eS7kigLnyOQInexDSzs5Jf0MynORzVBsz9E?= =?us-ascii?Q?6khsec8SEaroChvmxd1pKL0emM1Th7MXCwnl2zOd?= 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: 373e602b-8d34-4be9-a27e-08db56a50265 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2023 07:04:51.2520 (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: RWo/7YtgXgfcsDIeXxwo75CsNpf21FmACCbjUcQ4GsRONVsDjKoLtC63YgixnxgPQdb4xZZPulL5fRCic0UUxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2976 X-Proofpoint-GUID: jWrK0mIwoqhl3-GlKqzj9tdk0x9MxjMk X-Proofpoint-ORIG-GUID: jWrK0mIwoqhl3-GlKqzj9tdk0x9MxjMk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-16_14,2023-05-16_01,2023-02-09_01 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 > --- > lib/cryptodev/rte_crypto_sym.h | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) >=20 Please add release notes and update doc/guides/cryptodevs/features/default.= ini. The update to crypto_auth/cipher_algorithm_strings is also missing. > diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev/rte_crypto_sy= m.h > index 2cfe66530c..c4572106dc 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 Chinese SM3 algorithm */ >=20 > RTE_CRYPTO_AUTH_SHAKE_128, > /**< 128 bit SHAKE algorithm. */ > -- > 2.19.0.rc0.windows.1