Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/138295/?format=api
http://patchwork.dpdk.org/api/patches/138295/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240313055030.1685039-13-asasidharan@marvell.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20240313055030.1685039-13-asasidharan@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240313055030.1685039-13-asasidharan@marvell.com", "date": "2024-03-13T05:50:21", "name": "[v4,12/21] test/security: add more DTLS anti-replay window sz", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "76bb4b5874c8da548a98b4df91c77b0899d23e26", "submitter": { "id": 2800, "url": "http://patchwork.dpdk.org/api/people/2800/?format=api", "name": "Aakash Sasidharan", "email": "asasidharan@marvell.com" }, "delegate": { "id": 6690, "url": "http://patchwork.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240313055030.1685039-13-asasidharan@marvell.com/mbox/", "series": [ { "id": 31490, "url": "http://patchwork.dpdk.org/api/series/31490/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31490", "date": "2024-03-13T05:50:09", "name": "Improvements and new test cases", "version": 4, "mbox": "http://patchwork.dpdk.org/series/31490/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/138295/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/138295/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 E463A43C9A;\n\tWed, 13 Mar 2024 06:52:18 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 34DF242D35;\n\tWed, 13 Mar 2024 06:51:32 +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 45C6F42DC4\n for <dev@dpdk.org>; Wed, 13 Mar 2024 06:51:11 +0100 (CET)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id\n 42CImQNv025939; Tue, 12 Mar 2024 22:51:10 -0700", "from dc5-exch05.marvell.com ([199.233.59.128])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3wswdd0jn9-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 12 Mar 2024 22:51:10 -0700 (PDT)", "from DC5-EXCH05.marvell.com (10.69.176.209) by\n DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.1258.12; Tue, 12 Mar 2024 22:51:09 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com\n (10.69.176.209) with Microsoft SMTP Server id 15.2.1258.12 via Frontend\n Transport; Tue, 12 Mar 2024 22:51:09 -0700", "from localhost.localdomain (unknown [10.28.36.177])\n by maili.marvell.com (Postfix) with ESMTP id D4CFA3F7087;\n Tue, 12 Mar 2024 22:51:06 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding:content-type; s=\n pfpt0220; bh=hUtqU/yXA2GB0/nLUN23+hf9RM9VWcLiYWBADHi37hE=; b=OEk\n 9uLpbrdtoXlYyws4upZMVRQzk5ylU441kO+QiqSmDctP4bpwWvGa/aYC2DHFQxxq\n yEyHfWH+1oTfxjHZZuNphZ56mSD07CfedKoFfGFbEvS5IEyuqCBCUtf4ML7XGmLf\n HuiYy2UJa3Ln7pMIlYvaUn6gZkV+V0ekdfggPjZyqqCXOUg/TjsLy5TBxdU6kV7x\n 5dxzeHcWVKJz4wMqWp0BQZrjZIVES2xR6z56fQNnnSGxWlrgNWGEV0qRArAtTA11\n nffCldTsmHjJDS9chOwzZZsHP/rNTz1emCeFcav0athQrHgsoG+LYYUWM0RlHyh9\n sXOPcodf52hv9v8tnQg==", "From": "Aakash Sasidharan <asasidharan@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>, Fan Zhang <fanzhang.oss@gmail.com>", "CC": "<jerinj@marvell.com>, <anoobj@marvell.com>, <vvelumuri@marvell.com>,\n <asasidharan@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH v4 12/21] test/security: add more DTLS anti-replay window sz", "Date": "Wed, 13 Mar 2024 11:20:21 +0530", "Message-ID": "<20240313055030.1685039-13-asasidharan@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20240313055030.1685039-1-asasidharan@marvell.com>", "References": "<20240312175143.1664699-1-asasidharan@marvell.com>\n <20240313055030.1685039-1-asasidharan@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "cm1Gj02C7FbpeJoX7yPheSC4JMYkcwep", "X-Proofpoint-GUID": "cm1Gj02C7FbpeJoX7yPheSC4JMYkcwep", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2024-03-13_05,2024-03-12_01,2023-05-22_02", "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 anti-replay tests for window sizes 128, 256, 512, 1024,\n2048 and 4096 window sizes in DTLS 1.2 suite.\n\nSigned-off-by: Aakash Sasidharan <asasidharan@marvell.com>\n---\n app/test/test_cryptodev.c | 72 +++++++++++++++++++++++++++++++++++++--\n 1 file changed, 69 insertions(+), 3 deletions(-)", "diff": "diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c\nindex 904bad39d3..72d91d23a2 100644\n--- a/app/test/test_cryptodev.c\n+++ b/app/test/test_cryptodev.c\n@@ -12259,12 +12259,12 @@ test_dtls_pkt_replay(const uint64_t seq_no[],\n }\n \n static int\n-test_dtls_1_2_record_proto_antireplay(void)\n+test_dtls_1_2_record_proto_antireplay(uint64_t winsz)\n {\n \tstruct tls_record_test_flags flags;\n-\tuint64_t winsz = 64, seq_no[5];\n \tuint32_t nb_pkts = 5;\n \tbool replayed_pkt[5];\n+\tuint64_t seq_no[5];\n \n \tmemset(&flags, 0, sizeof(flags));\n \n@@ -12291,6 +12291,48 @@ test_dtls_1_2_record_proto_antireplay(void)\n \treturn test_dtls_pkt_replay(seq_no, replayed_pkt, nb_pkts, &flags);\n }\n \n+static int\n+test_dtls_1_2_record_proto_antireplay64(void)\n+{\n+\treturn test_dtls_1_2_record_proto_antireplay(64);\n+}\n+\n+static int\n+test_dtls_1_2_record_proto_antireplay128(void)\n+{\n+\treturn test_dtls_1_2_record_proto_antireplay(128);\n+}\n+\n+static int\n+test_dtls_1_2_record_proto_antireplay256(void)\n+{\n+\treturn test_dtls_1_2_record_proto_antireplay(256);\n+}\n+\n+static int\n+test_dtls_1_2_record_proto_antireplay512(void)\n+{\n+\treturn test_dtls_1_2_record_proto_antireplay(512);\n+}\n+\n+static int\n+test_dtls_1_2_record_proto_antireplay1024(void)\n+{\n+\treturn test_dtls_1_2_record_proto_antireplay(1024);\n+}\n+\n+static int\n+test_dtls_1_2_record_proto_antireplay2048(void)\n+{\n+\treturn test_dtls_1_2_record_proto_antireplay(2048);\n+}\n+\n+static int\n+test_dtls_1_2_record_proto_antireplay4096(void)\n+{\n+\treturn test_dtls_1_2_record_proto_antireplay(4096);\n+}\n+\n static int\n test_dtls_1_2_record_proto_sgl(void)\n {\n@@ -17609,7 +17651,31 @@ static struct unit_test_suite dtls12_record_proto_testsuite = {\n \t\tTEST_CASE_NAMED_ST(\n \t\t\t\"Antireplay with window size 64\",\n \t\t\tut_setup_security, ut_teardown,\n-\t\t\ttest_dtls_1_2_record_proto_antireplay),\n+\t\t\ttest_dtls_1_2_record_proto_antireplay64),\n+\t\tTEST_CASE_NAMED_ST(\n+\t\t\t\"Antireplay with window size 128\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_dtls_1_2_record_proto_antireplay128),\n+\t\tTEST_CASE_NAMED_ST(\n+\t\t\t\"Antireplay with window size 256\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_dtls_1_2_record_proto_antireplay256),\n+\t\tTEST_CASE_NAMED_ST(\n+\t\t\t\"Antireplay with window size 512\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_dtls_1_2_record_proto_antireplay512),\n+\t\tTEST_CASE_NAMED_ST(\n+\t\t\t\"Antireplay with window size 1024\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_dtls_1_2_record_proto_antireplay1024),\n+\t\tTEST_CASE_NAMED_ST(\n+\t\t\t\"Antireplay with window size 2048\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_dtls_1_2_record_proto_antireplay2048),\n+\t\tTEST_CASE_NAMED_ST(\n+\t\t\t\"Antireplay with window size 4096\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_dtls_1_2_record_proto_antireplay4096),\n \t\tTEST_CASES_END() /**< NULL terminate unit test array */\n \t}\n };\n", "prefixes": [ "v4", "12/21" ] }{ "id": 138295, "url": "