get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107813,
    "url": "http://patchwork.dpdk.org/api/patches/107813/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220218163443.3520756-3-pablo.de.lara.guarch@intel.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": "<20220218163443.3520756-3-pablo.de.lara.guarch@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220218163443.3520756-3-pablo.de.lara.guarch@intel.com",
    "date": "2022-02-18T16:34:41",
    "name": "[2/4] crypto/ipsec_mb: fix ZUC authentication verify",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1b1d929954e160b219109225c57d1f4fbc876570",
    "submitter": {
        "id": 9,
        "url": "http://patchwork.dpdk.org/api/people/9/?format=api",
        "name": "De Lara Guarch, Pablo",
        "email": "pablo.de.lara.guarch@intel.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/20220218163443.3520756-3-pablo.de.lara.guarch@intel.com/mbox/",
    "series": [
        {
            "id": 21739,
            "url": "http://patchwork.dpdk.org/api/series/21739/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=21739",
            "date": "2022-02-18T16:34:39",
            "name": "ipsec_mb fixes for ZUC algorithm",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/21739/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/107813/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/107813/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 1620EA0032;\n\tFri, 18 Feb 2022 17:35:10 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 09E6941143;\n\tFri, 18 Feb 2022 17:35:10 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 1ED4F4068B;\n Fri, 18 Feb 2022 17:35:07 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Feb 2022 08:35:07 -0800",
            "from silpixa00400493.ir.intel.com ([10.237.213.136])\n by orsmga008.jf.intel.com with ESMTP; 18 Feb 2022 08:35:06 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1645202108; x=1676738108;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=f2Qbj+GMcphl3pqIJVjVfUafV+l63hD/Uik1RYxAb+o=;\n b=KJLsUUMo0k4fSjczBiANTBdh6cHuE9kTy/uJJ2Jq9w7Wjj/i4aHoqAEF\n ADMRpUR5giOEtbjpfhIxEjdF4EkAzd9F30qp8IVT41nQMzXmFHr/sqkqL\n x7gefrhIpwtFR+FdJdEw8MiEY90lxX77FQwfwTBmGgoQqj1Dhyc++QEoZ\n YZHB9qJuLlrpnWVCM667Ou+yE8uhdabLi15I09VTknNIacdTOh+6GTRAb\n ZWU7JPRThfPIuMtanNCTsnrXtw9WT/g4+xsD0nkcO9oCceNuxkB4sn1BQ\n bo5CU941H9FYnLK7C/fRQ1Co8lXko9wWyFMOwd/QXbgdyKnhkvgKeAyRB w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10261\"; a=\"251101731\"",
            "E=Sophos;i=\"5.88,379,1635231600\"; d=\"scan'208\";a=\"251101731\"",
            "E=Sophos;i=\"5.88,379,1635231600\"; d=\"scan'208\";a=\"546344016\""
        ],
        "X-ExtLoop1": "1",
        "From": "Pablo de Lara <pablo.de.lara.guarch@intel.com>",
        "To": "roy.fan.zhang@intel.com",
        "Cc": "dev@dpdk.org, Pablo de Lara <pablo.de.lara.guarch@intel.com>,\n stable@dpdk.org",
        "Subject": "[PATCH 2/4] crypto/ipsec_mb: fix ZUC authentication verify",
        "Date": "Fri, 18 Feb 2022 16:34:41 +0000",
        "Message-Id": "<20220218163443.3520756-3-pablo.de.lara.guarch@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220218163443.3520756-1-pablo.de.lara.guarch@intel.com>",
        "References": "<20220218163443.3520756-1-pablo.de.lara.guarch@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "ZUC authentication is done over multiple buffers at a time.\nWhen authentication verification is done, multiple scratch buffers\nare using to generate the tags that will be compared afterwards.\nHowever, the same scratch buffer was used always, instead of having\ndifferent ones for each crypto operation.\n\nFixes: 0b133c36ad7d (\"crypto/zuc: support IPsec Multi-buffer lib v0.54\")\nCc: pablo.de.lara.guarch@intel.com\nCc: stable@dpdk.org\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n drivers/crypto/ipsec_mb/pmd_zuc.c      | 2 +-\n drivers/crypto/ipsec_mb/pmd_zuc_priv.h | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/crypto/ipsec_mb/pmd_zuc.c b/drivers/crypto/ipsec_mb/pmd_zuc.c\nindex ec83d96dfc..07cf1462d2 100644\n--- a/drivers/crypto/ipsec_mb/pmd_zuc.c\n+++ b/drivers/crypto/ipsec_mb/pmd_zuc.c\n@@ -166,7 +166,7 @@ process_zuc_hash_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops,\n \n \t\thash_keys[i] = sess->pKey_hash;\n \t\tif (sess->auth_op == RTE_CRYPTO_AUTH_OP_VERIFY)\n-\t\t\tdst[i] = (uint32_t *)qp_data->temp_digest;\n+\t\t\tdst[i] = (uint32_t *)qp_data->temp_digest[i];\n \t\telse\n \t\t\tdst[i] = (uint32_t *)ops[i]->sym->auth.digest.data;\n \ndiff --git a/drivers/crypto/ipsec_mb/pmd_zuc_priv.h b/drivers/crypto/ipsec_mb/pmd_zuc_priv.h\nindex 46d5bfae37..76fd6758c2 100644\n--- a/drivers/crypto/ipsec_mb/pmd_zuc_priv.h\n+++ b/drivers/crypto/ipsec_mb/pmd_zuc_priv.h\n@@ -75,7 +75,7 @@ struct zuc_session {\n \n struct zuc_qp_data {\n \n-\tuint8_t temp_digest[ZUC_DIGEST_LENGTH];\n+\tuint8_t temp_digest[ZUC_MAX_BURST][ZUC_DIGEST_LENGTH];\n \t/* *< Buffers used to store the digest generated\n \t * by the driver when verifying a digest provided\n \t * by the user (using authentication verify operation)\n",
    "prefixes": [
        "2/4"
    ]
}