Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/121577/?format=api
https://patches.dpdk.org/api/patches/121577/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230104143815.603524-2-vfialko@marvell.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230104143815.603524-2-vfialko@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230104143815.603524-2-vfialko@marvell.com", "date": "2023-01-04T14:38:13", "name": "[1/3] cryptodev: add SHAKE algorithm", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e7b271d621dcd7ab9f506102d6e041c75f617ac7", "submitter": { "id": 2390, "url": "https://patches.dpdk.org/api/people/2390/?format=api", "name": "Volodymyr Fialko", "email": "vfialko@marvell.com" }, "delegate": { "id": 6690, "url": "https://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230104143815.603524-2-vfialko@marvell.com/mbox/", "series": [ { "id": 26388, "url": "https://patches.dpdk.org/api/series/26388/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26388", "date": "2023-01-04T14:38:12", "name": "Add support for SHAKE", "version": 1, "mbox": "https://patches.dpdk.org/series/26388/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/121577/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/121577/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id AB234A00C2;\n\tWed, 4 Jan 2023 15:38:30 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9DD0142D15;\n\tWed, 4 Jan 2023 15:38:30 +0100 (CET)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 0042242D14\n for <dev@dpdk.org>; Wed, 4 Jan 2023 15:38:28 +0100 (CET)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 30442PIR001233; Wed, 4 Jan 2023 06:38:28 -0800", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3mtnftkx9s-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 04 Jan 2023 06:38:28 -0800", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42;\n Wed, 4 Jan 2023 06:38:26 -0800", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend\n Transport; Wed, 4 Jan 2023 06:38:26 -0800", "from cavium-DT10.. (unknown [10.28.34.39])\n by maili.marvell.com (Postfix) with ESMTP id 4D04A3F7054;\n Wed, 4 Jan 2023 06:38:24 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=RzozakU4JQ2FXvhXAOh0wW6Z3b0bgHzyDnLVggcZjJI=;\n b=MoBm4YSVio8sbkHJ8kZJlgqyhhL0CrL/0knl6twjXN4UW9vRqJ7xIFvb9tcoVfC3fDgl\n Vkxq/wEc7LFkTSpxGvLqOqf73fC8fKqeIJ8TKBIHyrJ/ldLLDFQFCKm4ANx5t3fchw0+\n fp61x/00cxdAMSoOGwnioDFGoYZvkztdF8UgJJNgDON2rN0t7WtZ+df66Q9dTCjso7Qp\n vAd+ZqKSvlZa7fWDz3v150Z88OjGsBEtDdDpONItWAaoBxf5gpigrVV4rcV0qO9Lsbj9\n rdmcuATZ4y2+yoY4NF6Nb9VtZC2gtf7MMwammfR7fcWSjuMzbptKr8TAtJsA0fmPaO/J 6Q==", "From": "Volodymyr Fialko <vfialko@marvell.com>", "To": "<dev@dpdk.org>, Akhil Goyal <gakhil@marvell.com>, Fan Zhang\n <fanzhang.oss@gmail.com>", "CC": "<jerinj@marvell.com>, <anoobj@marvell.com>, Volodymyr Fialko\n <vfialko@marvell.com>", "Subject": "[PATCH 1/3] cryptodev: add SHAKE algorithm", "Date": "Wed, 4 Jan 2023 15:38:13 +0100", "Message-ID": "<20230104143815.603524-2-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", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "JtpJaoJDrkM47wFgfofN3MuX5m1Hv-D8", "X-Proofpoint-ORIG-GUID": "JtpJaoJDrkM47wFgfofN3MuX5m1Hv-D8", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1\n definitions=2023-01-04_07,2023-01-04_02,2022-06-22_01", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Add SHAKE to enum of auth algorithms.\n\nSigned-off-by: Volodymyr Fialko <vfialko@marvell.com>\n---\n doc/guides/cryptodevs/features/default.ini | 2 ++\n lib/cryptodev/rte_crypto_sym.h | 7 ++++++-\n lib/cryptodev/rte_cryptodev.c | 5 ++++-\n 3 files changed, 12 insertions(+), 2 deletions(-)", "diff": "diff --git a/doc/guides/cryptodevs/features/default.ini b/doc/guides/cryptodevs/features/default.ini\nindex d51d80ff80..523da0cfa8 100644\n--- a/doc/guides/cryptodevs/features/default.ini\n+++ b/doc/guides/cryptodevs/features/default.ini\n@@ -99,6 +99,8 @@ SHA3_384 HMAC =\n SHA3_512 =\n SHA3_512 HMAC =\n SM3 =\n+SHAKE_128 =\n+SHAKE_256 =\n \n ;\n ; Supported AEAD algorithms of a default crypto driver.\ndiff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev/rte_crypto_sym.h\nindex dc847da7b8..2cfe66530c 100644\n--- a/lib/cryptodev/rte_crypto_sym.h\n+++ b/lib/cryptodev/rte_crypto_sym.h\n@@ -374,8 +374,13 @@ enum rte_crypto_auth_algorithm {\n \t/**< 512 bit SHA3 algorithm. */\n \tRTE_CRYPTO_AUTH_SHA3_512_HMAC,\n \t/**< HMAC using 512 bit SHA3 algorithm. */\n-\tRTE_CRYPTO_AUTH_SM3\n+\tRTE_CRYPTO_AUTH_SM3,\n \t/**< ShangMi 3 (SM3) algorithm */\n+\n+\tRTE_CRYPTO_AUTH_SHAKE_128,\n+\t/**< 128 bit SHAKE algorithm. */\n+\tRTE_CRYPTO_AUTH_SHAKE_256,\n+\t/**< 256 bit SHAKE algorithm. */\n };\n \n /** Authentication algorithm name strings */\ndiff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c\nindex 742a4c512e..17c70023ef 100644\n--- a/lib/cryptodev/rte_cryptodev.c\n+++ b/lib/cryptodev/rte_cryptodev.c\n@@ -226,7 +226,10 @@ crypto_auth_algorithm_strings[] = {\n \t[RTE_CRYPTO_AUTH_KASUMI_F9]\t= \"kasumi-f9\",\n \t[RTE_CRYPTO_AUTH_SNOW3G_UIA2]\t= \"snow3g-uia2\",\n \t[RTE_CRYPTO_AUTH_ZUC_EIA3]\t= \"zuc-eia3\",\n-\t[RTE_CRYPTO_AUTH_SM3]\t\t= \"sm3\"\n+\t[RTE_CRYPTO_AUTH_SM3]\t\t= \"sm3\",\n+\n+\t[RTE_CRYPTO_AUTH_SHAKE_128]\t = \"shake-128\",\n+\t[RTE_CRYPTO_AUTH_SHAKE_256]\t = \"shake-256\",\n };\n \n /**\n", "prefixes": [ "1/3" ] }{ "id": 121577, "url": "