get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109424,
    "url": "http://patches.dpdk.org/api/patches/109424/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220407134334.20226-1-arkadiuszx.kusztal@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20220407134334.20226-1-arkadiuszx.kusztal@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220407134334.20226-1-arkadiuszx.kusztal@intel.com",
    "date": "2022-04-07T13:43:34",
    "name": "cryptodev: add support for 25519 and 448 curves",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f07ff5f405c68961ed5915ea9248ec48406a3163",
    "submitter": {
        "id": 452,
        "url": "http://patches.dpdk.org/api/people/452/?format=api",
        "name": "Arkadiusz Kusztal",
        "email": "arkadiuszx.kusztal@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220407134334.20226-1-arkadiuszx.kusztal@intel.com/mbox/",
    "series": [
        {
            "id": 22411,
            "url": "http://patches.dpdk.org/api/series/22411/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22411",
            "date": "2022-04-07T13:43:34",
            "name": "cryptodev: add support for 25519 and 448 curves",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/22411/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/109424/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/109424/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 BB7E9A0032;\n\tThu,  7 Apr 2022 15:43:41 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AE1A7410EF;\n\tThu,  7 Apr 2022 15:43:41 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id AF2FE40689\n for <dev@dpdk.org>; Thu,  7 Apr 2022 15:43:39 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Apr 2022 06:43:38 -0700",
            "from silpixa00400308.ir.intel.com ([10.237.214.95])\n by fmsmga001.fm.intel.com with ESMTP; 07 Apr 2022 06:43:36 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1649339019; x=1680875019;\n h=from:to:cc:subject:date:message-id;\n bh=mQ7V1bHu5G1F+xIEjJTQ3fBrdykBQ9khWy+wV00Jw08=;\n b=oHBfXrL3ZtoKJoCpZ76qHQ/a7TZ0nFRrtlcZ4pZ/2zSY7PHvubYAbKI4\n 7cB03GiaLoTWf3rxDJxx6p6csgtTLkI23TeCiN0nIo7eW18n093riqDCm\n hhVAYxMdAns+2Ix6M6AWQ4p21mtrnM1IXsX2LqoHXcRhYksufb3r7oXJP\n 7y9Lf8OnlJAzX12nJ3oPp568XilpnS+KPpbkffQI+niAoxr7Jz9/EAclB\n qQFmcsMNMndbo00XmERF/hUCSEmFm/Ve/hXORVysRTdWnD8baA07cXTiw\n 9mb4SBJcnZJ1ZbonFWVSLbNvdu55CiBzfQKoTriU8poV4WHn9NrunZnnN Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10309\"; a=\"248851876\"",
            "E=Sophos;i=\"5.90,242,1643702400\"; d=\"scan'208\";a=\"248851876\"",
            "E=Sophos;i=\"5.90,242,1643702400\"; d=\"scan'208\";a=\"697795989\""
        ],
        "X-ExtLoop1": "1",
        "From": "Arek Kusztal <arkadiuszx.kusztal@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "gakhil@marvell.com, roy.fan.zhang@intel.com,\n Arek Kusztal <arkadiuszx.kusztal@intel.com>",
        "Subject": "[PATCH] cryptodev: add support for 25519 and 448 curves",
        "Date": "Thu,  7 Apr 2022 14:43:34 +0100",
        "Message-Id": "<20220407134334.20226-1-arkadiuszx.kusztal@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "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": "This commit adds support for following elliptic curves:\n1) Curve25519\n2) Curve448\n\nSigned-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>\n---\n lib/cryptodev/rte_crypto_asym.h | 14 ++++++++++++--\n 1 file changed, 12 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h\nindex cd24d4b07b..775b2f6277 100644\n--- a/lib/cryptodev/rte_crypto_asym.h\n+++ b/lib/cryptodev/rte_crypto_asym.h\n@@ -48,6 +48,8 @@ enum rte_crypto_ec_group {\n \tRTE_CRYPTO_EC_GROUP_SECP256R1 = 23,\n \tRTE_CRYPTO_EC_GROUP_SECP384R1 = 24,\n \tRTE_CRYPTO_EC_GROUP_SECP521R1 = 25,\n+\tRTE_CRYPTO_EC_GROUP_CURVE25519 = 29,\n+\tRTE_CRYPTO_EC_GROUP_CURVE448 = 30,\n };\n \n /**\n@@ -180,9 +182,17 @@ typedef rte_crypto_param rte_crypto_uint;\n  */\n struct rte_crypto_ec_point {\n \trte_crypto_param x;\n-\t/**< X coordinate */\n+\t/**<\n+\t * X coordinate\n+\t * For curve25519 and curve448 - little-endian integer\n+\t * otherwise, big-endian integer\n+\t */\n \trte_crypto_param y;\n-\t/**< Y coordinate */\n+\t/**<\n+\t * Y coordinate\n+\t * For curve25519 and curve448 - little-endian integer\n+\t * otherwise, big-endian integer\n+\t */\n };\n \n /**\n",
    "prefixes": []
}