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 8CB83A00C3; Wed, 21 Sep 2022 21:37:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 775C740691; Wed, 21 Sep 2022 21:37:10 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id EE0F14067C for ; Wed, 21 Sep 2022 21:37:07 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28LJRQ4e023657; Wed, 21 Sep 2022 12:37:07 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2107.outbound.protection.outlook.com [104.47.70.107]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3jr0b7267j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Sep 2022 12:37:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NPZui8378VNCI8RmYug5wlm9vxZgaS+D4vH6TuNs5mZ67/fdsL6a7drwZqdPikWeqXUMOnEqdJ007f6urW2GmRGFElAV/vsgtb87Kg2+75x5HWeKJqedM2NCgTih0yObHD3FW10vRaPvsk4531wkcsfVzafswjd0qtRZBPPYUjOrk7Fzo0qcy47rv9so0vWj1bpI4HMGw8KkJA3C+blq3QxghW8lGSA9YyPYIW/dXSB7a39HfIqN5lw8UJKHF/lPL7CNwno+fvZhDJk+HFSooFxXYp6CSPng13CSCFYjCpIRDCyY/+PIpAof5clBQGUP0kxMr8oidP3BfbQeAJebPg== 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=0/kZvR0B7lOHiVtWirRBw2Xs6nxfVTmeCSpQugw2Ir4=; b=bMQC3MvYwtt/p8hM3X4C6IWBjX/q5BVc/H1daS1BB4Pe6/iFwq12r3RRxUHdShZYjYbvJZfmY3HA+OAWsTSSkNezuPT/SLgyxPwXvs5n3fCPp8IhK7M4ciX9eNBVN2kTD+XSGWlr/gOMy1IcwSoV7BaFMjl29Z6e4cRJJbpe58gyqbX+6Z52N9MJlqYuVaFWo6FJ1mWuxwohEDU3U8CO8ucH3CVxPpmGFyS5Mjpq458KKTl/DHDnbzClvy9JJc4EpcohdsCm0Vds0hGQ5/ywAknx90ECGJ3/G8fhzhC00sReThjLF3L4eYW+SlktY3Rjd9bfKU7wwQF3UJL17GG7tA== 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=0/kZvR0B7lOHiVtWirRBw2Xs6nxfVTmeCSpQugw2Ir4=; b=FjxwcfArjsHLrdky51rAcod7wfNJYZUuAgDR6siMNVEthpHhB1RYlo3/VKs3v1mP01PSD/VgvObMaOtgpG7ua7img2LgdG5ViWO6cF6sWzfYHqBtphQz2qb2KgApo4eQy2SSLDAh9ZMtN7N3r9fVx//DyQD1mj9kw3CuF1ieXFI= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by BL1PR18MB4232.namprd18.prod.outlook.com (2603:10b6:208:316::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.16; Wed, 21 Sep 2022 19:37:04 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7cea:d050:5433:8c74]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7cea:d050:5433:8c74%7]) with mapi id 15.20.5654.017; Wed, 21 Sep 2022 19:37:04 +0000 From: Akhil Goyal To: Arek Kusztal , "dev@dpdk.org" CC: "kai.ji@intel.com" 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: AQHYsgl3BO9kWizkn0idri2hJgGlxa3qfnCQ Date: Wed, 21 Sep 2022 19:37:03 +0000 Message-ID: References: <20220817060856.78582-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220817060856.78582-1-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|BL1PR18MB4232:EE_ x-ms-office365-filtering-correlation-id: 91032370-421f-4f45-7d7a-08da9c08a949 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Toiu33TCJW9Qi+EyyP6HKQY0t6YNncXE5PqBUtKGSTK2KiKzJLXeJHlynp4MkGtqz1o7KwPKhzPnPUG5bxR3yPGpbTyWw50pRwUaSfQZnyERU8JP6sM/Ff/WI7BciEy5ZhlsAWfgr/yWYac4DM7Y9PHmgGcJIoPGkgrXsyVSwmCc0HF+/CFTqLA/F6dmoShG8B4S+mj1JT/peU/hiU6E1UZAfuyLVKeMNQULcQ0LGaJPJeheMy4kNzxF7MAqFR2by1IG/1bWEZXx5QckhNPu4x+Z2EdcHvp+otSZ5r1o4dccA7Kbw2Ue+G1ApXf+RXg4ZhUOAHezPWTEQYVXBX//1raIGPlYzvdckMKWA7f3z/9yBCgCfP1FXt6If6SHujLvyUlFFas6oah6tpUz737i/HE6WdJTxS8h6ORXOamOz2Edkj7o2LCk+TFcH/bsNChHcxGjiEJ36hX80TZL+zY3gIpBLEF8+h+VFZGIYNGokhRRzA4AEE2Fvnhjg6XVbuv9y6tncWYLGNIskstG0IGvIWgHysJLCO8o0KbKhBIHsGa6rBJo1h5uMcmfJKObAUWZkbMqbeckH0fkAtd1G0+YdWW7wsNL8DKTOmZ2zgaovPTMmUOt06HdnwlGDEozwmJEjY/g6NXm6rxFc8Qdqrwr0ukjoatQ5rwf6WqhIjeyaAhHg4ikuVrsBuawnOAL2ZifguzW+/BfekaORJYjKNUzP8NsX3WFNNGqZ27nXJyTUYiIIW3lCtuOTHlfaQlNpaT/4OzW3hZP3QuxehYO+vI9SQ== 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:(13230022)(4636009)(376002)(346002)(39860400002)(366004)(396003)(136003)(451199015)(478600001)(6506007)(52536014)(55236004)(5660300002)(26005)(38100700002)(41300700001)(55016003)(53546011)(122000001)(9686003)(8936002)(2906002)(110136005)(316002)(76116006)(86362001)(66946007)(38070700005)(66556008)(71200400001)(64756008)(66446008)(66476007)(7696005)(8676002)(83380400001)(4326008)(33656002)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?feVI1K13f4Tug4zWFVyDEUjsj1geuo233N0oi+ExgZYkOO8uBFFhqvXSOPGv?= =?us-ascii?Q?BDZhyRkuGvQ0SJTFrDMOmf+wJokmTmZszvP36DzBnalbV/h6SWR9tZmSM07Y?= =?us-ascii?Q?UL6q7QZA0v10DgTw4jxZeFCYKfOAOn+7lXzWZ93R7XfNfqvPIANV1RBw4kJZ?= =?us-ascii?Q?Z4Bb0d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RgCFhP?= =?us-ascii?Q?pzX/6l9vXQSfrY/5yqbCG+bDwOZcFd6pCD9PtGLEQg2ou8HZpiRuQHa4GAw3?= =?us-ascii?Q?EkxmzjBTXB49DfD6S7V25+0G5oLn/cEHM8u0L62NXbYryTnMTC/pztrfKYO0?= =?us-ascii?Q?Q96ku15982SEj8o1NI0MGK+EgJUvPeNP3S2Y0FStlK74NmTW1oZ1Mb0loiP8?= =?us-ascii?Q?QC7dfR/0rMvxPD69PoyN2fB+V1WOYklCXmvEfPcFlAe5E1XAXeaCdhIYyNly?= =?us-ascii?Q?bNC8bGnvN8SQLacdPRO76j77bIIKvxVwexF58QIpVk9T+5m2SivOlqNR76sG?= =?us-ascii?Q?ThPR3yfMEPaOcTbRoaoA5indnz3n90d8YoYsko416FwzlAECoKay7bzWb5bH?= =?us-ascii?Q?fYoBWL47C34BJloEznjjxHQpydh867R9spx5WRLRFfjPKb/z6kwqifX3EuHX?= =?us-ascii?Q?icG7rPoonFFUb1YuborsB9RBgu4HNN5UcMvSfsYdRhI3ZxaiKWGJby4nOGKp?= =?us-ascii?Q?Q+Ug1zi0xAddlk6lbdI/dIBY90agRyXUYA15s1yr?= 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: 91032370-421f-4f45-7d7a-08da9c08a949 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2022 19:37:03.9558 (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: 5ctXKGA+F6Uf6xwWYHNmyB0AZD8pW2XxncRU53V4erHxLH6VGtC9q2uFcRRw6rWok/wD42iz64qiFentxbkniQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR18MB4232 X-Proofpoint-ORIG-GUID: -eVdLCYpJpkyjCB0A6I7l-Jfebq8kgV7 X-Proofpoint-GUID: -eVdLCYpJpkyjCB0A6I7l-Jfebq8kgV7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-21_10,2022-09-20_02,2022-06-22_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 > -----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 >=20 > External Email >=20 > ---------------------------------------------------------------------- > ShangMi 4 (SM4) is a block cipher used in the Chinese National Standard f= or > Wireless LAN WAPI and also used with Transport Layer Security. > ShangMi 3 (SM3) is a cryptographic hash function used in the > Chinese National Standard. Add these full forms in comments of the enums that are added in patch 1 and= 2 >=20 > This patcheset adds both to the Cryptodev. >=20 > 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 >=20 > 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(-) >=20 > -- > 2.13.6