get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 111836,
    "url": "http://patches.dpdk.org/api/patches/111836/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220525155324.9288-13-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": "<20220525155324.9288-13-arkadiuszx.kusztal@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220525155324.9288-13-arkadiuszx.kusztal@intel.com",
    "date": "2022-05-25T15:53:22",
    "name": "[v2,12/14] cryptodev: clarify rsa verify with none padding",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c1fced6d5a2d9d3617619141b25a8367c8363f75",
    "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/20220525155324.9288-13-arkadiuszx.kusztal@intel.com/mbox/",
    "series": [
        {
            "id": 23159,
            "url": "http://patches.dpdk.org/api/series/23159/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=23159",
            "date": "2022-05-25T15:53:10",
            "name": "cryptodev: rsa, dh, ecdh changes",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/23159/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/111836/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/111836/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 D78C6A0555;\n\tWed, 25 May 2022 19:04:53 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 410624281B;\n\tWed, 25 May 2022 19:04:48 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 95D6340143\n for <dev@dpdk.org>; Wed, 25 May 2022 19:04:45 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 May 2022 10:01:30 -0700",
            "from silpixa00399302.ir.intel.com ([10.237.214.136])\n by FMSMGA003.fm.intel.com with ESMTP; 25 May 2022 10:01:29 -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=1653498286; x=1685034286;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=QyPgn3aDlbzkqiWt7OJw5WHwt9DuWABqy2trNnEMp+Q=;\n b=Z8gZQHD4LpiTseU6dyVxYIN944qZR8L7e56kHcBLHMten42loJBCpRlL\n ctxoh1FNa2tpfUYVbpSr5tMPALWDYtLPJnm9DEJTA+bzJyLXvijGadlV/\n WMr4btu0NmoLpCjzvqjjl0MIVL/Crstpl+5h0vlCJpOGbkjbVYZ1BaIz5\n 2iZcHkjqsfsOkMq98mduEqmZueXTZ92kP6HqG9LebSEJb1n2PJ3ugpC7Q\n 1cL+OFWX0Gajl8C1R+GVy+KX2VnJ5MT5RdiksNl40tXVoA1uOqP2wMT/e\n 3513pTxD+LHBBrhex6AdTUmkzdLnh22VYkVsyZHsDjGtDf3CWnTHRmnP7 g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10358\"; a=\"273596590\"",
            "E=Sophos;i=\"5.91,250,1647327600\"; d=\"scan'208\";a=\"273596590\"",
            "E=Sophos;i=\"5.91,250,1647327600\"; d=\"scan'208\";a=\"664502427\""
        ],
        "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 v2 12/14] cryptodev: clarify rsa verify with none padding",
        "Date": "Wed, 25 May 2022 16:53:22 +0100",
        "Message-Id": "<20220525155324.9288-13-arkadiuszx.kusztal@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20220525155324.9288-1-arkadiuszx.kusztal@intel.com>",
        "References": "<20220525155324.9288-1-arkadiuszx.kusztal@intel.com>",
        "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": "- Clarified where should output be stored of signature\ndecryption with padding none.\nPMD is not able to know what padding algorithm was used,\ntherefore decrypted signature should be returned to the user.\n\nSigned-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>\n---\n lib/cryptodev/rte_crypto_asym.h | 7 ++-----\n 1 file changed, 2 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h\nindex ee0988d3cf..9f7fba3758 100644\n--- a/lib/cryptodev/rte_crypto_asym.h\n+++ b/lib/cryptodev/rte_crypto_asym.h\n@@ -372,8 +372,6 @@ struct rte_crypto_rsa_op_param {\n \t * (i.e. must be at least RSA key size). The message.length\n \t * field should be 0 and will be overwritten by the PMD\n \t * with the decrypted length.\n-\t *\n-\t * All data is in Octet-string network byte order format.\n \t */\n \n \trte_crypto_param cipher;\n@@ -388,7 +386,8 @@ struct rte_crypto_rsa_op_param {\n \t * at least RSA key size). The cipher.length field should\n \t * be 0 and will be overwritten by the PMD with the encrypted length.\n \t *\n-\t * All data is in Octet-string network byte order format.\n+\t * When RTE_CRYPTO_RSA_PADDING_NONE and RTE_CRYPTO_ASYM_OP_VERIFY\n+\t * selected, this is an output of decrypted signature.\n \t */\n \n \trte_crypto_param sign;\n@@ -402,8 +401,6 @@ struct rte_crypto_rsa_op_param {\n \t * with enough memory to hold signature output (i.e. must be\n \t * at least RSA key size). The sign.length field should\n \t * be 0 and will be overwritten by the PMD with the signature length.\n-\t *\n-\t * All data is in Octet-string network byte order format.\n \t */\n \n \tstruct rte_crypto_rsa_padding padding;\n",
    "prefixes": [
        "v2",
        "12/14"
    ]
}