get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/118644/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 118644,
    "url": "http://patchwork.dpdk.org/api/patches/118644/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20221019165418.1970445-6-ktejasree@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": "<20221019165418.1970445-6-ktejasree@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221019165418.1970445-6-ktejasree@marvell.com",
    "date": "2022-10-19T16:54:17",
    "name": "[5/6] test/crypto: add unit tests for DES and MD5",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "6b53579a4d10ff5a8e4ecb6bb7b6ebaf262b6d1a",
    "submitter": {
        "id": 1789,
        "url": "http://patchwork.dpdk.org/api/people/1789/?format=api",
        "name": "Tejasree Kondoj",
        "email": "ktejasree@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/20221019165418.1970445-6-ktejasree@marvell.com/mbox/",
    "series": [
        {
            "id": 25316,
            "url": "http://patchwork.dpdk.org/api/series/25316/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=25316",
            "date": "2022-10-19T16:54:12",
            "name": "update autotest with new algorithms",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/25316/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/118644/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/118644/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 6ED54A09E7;\n\tWed, 19 Oct 2022 18:54:55 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EE05442C41;\n\tWed, 19 Oct 2022 18:54:38 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id CF79A42C3B\n for <dev@dpdk.org>; Wed, 19 Oct 2022 18:54:37 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 29J8B0dI010462;\n Wed, 19 Oct 2022 09:54:37 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3kadg5a7by-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 19 Oct 2022 09:54:36 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Wed, 19 Oct 2022 09:54:35 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Wed, 19 Oct 2022 09:54:35 -0700",
            "from hyd1554.marvell.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id E33953F709E;\n Wed, 19 Oct 2022 09:54:32 -0700 (PDT)"
        ],
        "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=TuIOiJMIBNub4Ys7tAsq/R8c93q68wwW6L7GnoaW8cE=;\n b=fVsdpQO7Jd4PpYyc7+2+S62Peh/t/X5/I8QRbyNTTgvqRbIM4L0qtwc2gOtfy16S/BSY\n mPHn9xOwjM7ORA04BrAUAZmcf+pBx7k1pwADicBKzH270IHywajijyCXa5S9jLlp7cwS\n ww/7qq1v9p+LsD92HjIHavmJCZ4EfS7+6DsO8DPcD/5Vfkp23A762f2ySOnTFqJsJfWX\n sdBAKTxhdam82BQAxRkWinY0b50ebwq1XNxsWqfYh64ORrTxx3Ifs5BQHxDQH+fCGEEP\n dwciiwx36QqSjRhb4nLb+aExaTC5md3NynT9oTSv83dkJMWy2byTQTQLiuScv2hpgOnw LA==",
        "From": "Tejasree Kondoj <ktejasree@marvell.com>",
        "To": "Akhil Goyal <gakhil@marvell.com>, Fan Zhang <royzhang1980@gmail.com>,\n Ciara Power <ciara.power@intel.com>",
        "CC": "Vidya Sagar Velumuri <vvelumuri@marvell.com>, Anoob Joseph\n <anoobj@marvell.com>, <dev@dpdk.org>",
        "Subject": "[PATCH 5/6] test/crypto: add unit tests for DES and MD5",
        "Date": "Wed, 19 Oct 2022 22:24:17 +0530",
        "Message-ID": "<20221019165418.1970445-6-ktejasree@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20221019165418.1970445-1-ktejasree@marvell.com>",
        "References": "<20221019165418.1970445-1-ktejasree@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "DG_jqDTbgGxGuFdIu-n6cplgQBPYbTBg",
        "X-Proofpoint-ORIG-GUID": "DG_jqDTbgGxGuFdIu-n6cplgQBPYbTBg",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1\n definitions=2022-10-19_09,2022-10-19_04,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": "From: Vidya Sagar Velumuri <vvelumuri@marvell.com>\n\nAdd unit test cases for auth algo MD5.\nAdd unit test cases for cipher DES-CBC.\n\nSigned-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>\n---\n app/test/test_cryptodev.c                | 50 ++++++++++++++++++++++++\n app/test/test_cryptodev_security_ipsec.h |  2 +-\n 2 files changed, 51 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c\nindex c2b33686ed..96941dd55c 100644\n--- a/app/test/test_cryptodev.c\n+++ b/app/test/test_cryptodev.c\n@@ -15179,6 +15179,11 @@ static struct unit_test_suite ipsec_proto_testsuite  = {\n \t\t\t\"Outbound known vector (ESP tunnel mode IPv4 AES-CCM 256)\",\n \t\t\tut_setup_security, ut_teardown,\n \t\t\ttest_ipsec_proto_known_vec, &pkt_aes_256_ccm),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Outbound known vector (ESP tunnel mode IPv4 AES-CBC MD5 [12B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec,\n+\t\t\t&pkt_aes_128_cbc_md5),\n \t\tTEST_CASE_NAMED_WITH_DATA(\n \t\t\t\"Outbound known vector (ESP tunnel mode IPv4 AES-CBC 128 HMAC-SHA256 [16B ICV])\",\n \t\t\tut_setup_security, ut_teardown,\n@@ -15208,6 +15213,26 @@ static struct unit_test_suite ipsec_proto_testsuite  = {\n \t\t\tut_setup_security, ut_teardown,\n \t\t\ttest_ipsec_proto_known_vec,\n \t\t\t&pkt_null_aes_xcbc),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Outbound known vector (ESP tunnel mode IPv4 DES-CBC HMAC-SHA256 [16B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec,\n+\t\t\t&pkt_des_cbc_hmac_sha256),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Outbound known vector (ESP tunnel mode IPv4 DES-CBC HMAC-SHA384 [24B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec,\n+\t\t\t&pkt_des_cbc_hmac_sha384),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Outbound known vector (ESP tunnel mode IPv4 DES-CBC HMAC-SHA512 [32B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec,\n+\t\t\t&pkt_des_cbc_hmac_sha512),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Outbound known vector (ESP tunnel mode IPv6 DES-CBC HMAC-SHA256 [16B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec,\n+\t\t\t&pkt_des_cbc_hmac_sha256_v6),\n \t\tTEST_CASE_NAMED_WITH_DATA(\n \t\t\t\"Outbound known vector (AH tunnel mode IPv4 HMAC-SHA256)\",\n \t\t\tut_setup_security, ut_teardown,\n@@ -15248,6 +15273,11 @@ static struct unit_test_suite ipsec_proto_testsuite  = {\n \t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-CBC 128)\",\n \t\t\tut_setup_security, ut_teardown,\n \t\t\ttest_ipsec_proto_known_vec_inb, &pkt_aes_128_cbc_null),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-CBC MD5 [12B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec_inb,\n+\t\t\t&pkt_aes_128_cbc_md5),\n \t\tTEST_CASE_NAMED_WITH_DATA(\n \t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-CBC 128 HMAC-SHA256 [16B ICV])\",\n \t\t\tut_setup_security, ut_teardown,\n@@ -15277,6 +15307,26 @@ static struct unit_test_suite ipsec_proto_testsuite  = {\n \t\t\tut_setup_security, ut_teardown,\n \t\t\ttest_ipsec_proto_known_vec_inb,\n \t\t\t&pkt_null_aes_xcbc),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 DES-CBC HMAC-SHA256 [16B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec_inb,\n+\t\t\t&pkt_des_cbc_hmac_sha256),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 DES-CBC HMAC-SHA384 [24B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec_inb,\n+\t\t\t&pkt_des_cbc_hmac_sha384),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 DES-CBC HMAC-SHA512 [32B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec_inb,\n+\t\t\t&pkt_des_cbc_hmac_sha512),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv6 DES-CBC HMAC-SHA256 [16B ICV])\",\n+\t\t\tut_setup_security, ut_teardown,\n+\t\t\ttest_ipsec_proto_known_vec_inb,\n+\t\t\t&pkt_des_cbc_hmac_sha256_v6),\n \t\tTEST_CASE_NAMED_WITH_DATA(\n \t\t\t\"Inbound known vector (AH tunnel mode IPv4 HMAC-SHA256)\",\n \t\t\tut_setup_security, ut_teardown,\ndiff --git a/app/test/test_cryptodev_security_ipsec.h b/app/test/test_cryptodev_security_ipsec.h\nindex 9147d1c0d6..b98f4741b2 100644\n--- a/app/test/test_cryptodev_security_ipsec.h\n+++ b/app/test/test_cryptodev_security_ipsec.h\n@@ -196,7 +196,7 @@ static const struct crypto_param auth_list[] = {\n \t{\n \t\t.type = RTE_CRYPTO_SYM_XFORM_AUTH,\n \t\t.alg.auth =  RTE_CRYPTO_AUTH_MD5_HMAC,\n-\t\t.key_length = 12,\n+\t\t.key_length = 16,\n \t\t.digest_length = 12,\n \t},\n \t{\n",
    "prefixes": [
        "5/6"
    ]
}