From patchwork Thu Jan 12 10:47:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Fialko X-Patchwork-Id: 121890 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37799423B5; Thu, 12 Jan 2023 11:47:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1EE2B40A7D; Thu, 12 Jan 2023 11:47:44 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id B451040156 for ; Thu, 12 Jan 2023 11:47:42 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30C9dq86021078 for ; Thu, 12 Jan 2023 02:47:42 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=o4n+8IYumjr4iOZPTU41saSOp5u/LBKDlXkRVGn3ygs=; b=IRMR6awcyCuiJ5mVuyXrQEQj3bZtnTY+e12lHKCbYud8/BTOLhb9fny+0XLzAErvPL96 2kTES4bEC8YI9eNok/rzUhniT+9rAIzOqfuZaBI9Y794NaU5dkp9Jz9P1ZWXVzL414Oe r53JvqvyaXrrl1EsEpZCgf2Rn8Z3/MAuwPXS+LdAehTZoAOkYsbYHR9OBJv8kTDmBXk9 BjVBaAJRcAzpHKizqYERRlG+oTTGC82DJI28nJEbxtKizqR8xgRnUpSgKCNbZmOvwU9q c7WjeuhyzMKNrPAH6sG5pxOJoLg4OhiNvMA8aLc2LMGU8fnCnesRAEno+DOniJ0C/VtY 5g== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3n1k56yk9s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 12 Jan 2023 02:47:41 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 12 Jan 2023 02:47:38 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Thu, 12 Jan 2023 02:47:38 -0800 Received: from cavium-DT10.. (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 845455B6923; Thu, 12 Jan 2023 02:47:36 -0800 (PST) From: Volodymyr Fialko To: CC: , , Volodymyr Fialko Subject: [PATCH v2 0/3] Add support for SHAKE Date: Thu, 12 Jan 2023 11:47:30 +0100 Message-ID: <20230112104733.1835722-1-vfialko@marvell.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230104143815.603524-1-vfialko@marvell.com> References: <20230104143815.603524-1-vfialko@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: fO72crlTHDJhE17rlazHWdv6HuDCVOZB X-Proofpoint-GUID: fO72crlTHDJhE17rlazHWdv6HuDCVOZB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-12_06,2023-01-12_01,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 This series defines new enums for SHAKE128 and SHAKE256 authentication algorithms and implements support for CNXK crypto PMD. v2: - rebased for dpdk-next-crypto Volodymyr Fialko (3): cryptodev: add SHAKE algorithm app/test: add SHAKE test cases crypto/cnxk: add support for SHAKE hash app/test/test_cryptodev_hash_test_vectors.h | 66 +++++++++++++++++++ doc/guides/cryptodevs/cnxk.rst | 2 + doc/guides/cryptodevs/features/cn10k.ini | 2 + doc/guides/cryptodevs/features/cn9k.ini | 2 + doc/guides/cryptodevs/features/default.ini | 2 + drivers/common/cnxk/roc_se.h | 4 +- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 40 +++++++++++ drivers/crypto/cnxk/cnxk_se.h | 15 +++++ lib/cryptodev/rte_crypto_sym.h | 7 +- lib/cryptodev/rte_cryptodev.c | 5 +- 11 files changed, 142 insertions(+), 5 deletions(-)