get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 89184,
    "url": "http://patches.dpdk.org/api/patches/89184/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1615877501-164036-1-git-send-email-matan@nvidia.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": "<1615877501-164036-1-git-send-email-matan@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1615877501-164036-1-git-send-email-matan@nvidia.com",
    "date": "2021-03-16T06:51:41",
    "name": "cryptodev: formalize key wrap method in API",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2ae0ed907b155241fe509c835acaa570a4652740",
    "submitter": {
        "id": 1911,
        "url": "http://patches.dpdk.org/api/people/1911/?format=api",
        "name": "Matan Azrad",
        "email": "matan@nvidia.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/1615877501-164036-1-git-send-email-matan@nvidia.com/mbox/",
    "series": [
        {
            "id": 15682,
            "url": "http://patches.dpdk.org/api/series/15682/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=15682",
            "date": "2021-03-16T06:51:41",
            "name": "cryptodev: formalize key wrap method in API",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/15682/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/89184/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/89184/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 54985A054F;\n\tTue, 16 Mar 2021 07:51:48 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C58EB4069F;\n\tTue, 16 Mar 2021 07:51:47 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 0943040042\n for <dev@dpdk.org>; Tue, 16 Mar 2021 07:51:45 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n matan@nvidia.com) with SMTP; 16 Mar 2021 08:51:45 +0200",
            "from pegasus25.mtr.labs.mlnx. (pegasus25.mtr.labs.mlnx\n [10.210.16.10])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 12G6pics002224;\n Tue, 16 Mar 2021 08:51:44 +0200"
        ],
        "From": "Matan Azrad <matan@nvidia.com>",
        "To": "dev@dpdk.org",
        "Cc": "akhil.goyal@nxp.com, Declan Doherty <declan.doherty@intel.com>,\n Somalapuram Amaranath <asomalap@amd.com>,\n Ruifeng Wang <ruifeng.wang@arm.com>,\n Ajit Khaparde <ajit.khaparde@broadcom.com>,\n Anoob Joseph <anoobj@marvell.com>, Fan Zhang <roy.fan.zhang@intel.com>,\n John Griffin <john.griffin@intel.com>,\n Pablo de Lara <pablo.de.lara.guarch@intel.com>,\n Michael Shamis <michaelsh@marvell.com>,\n Nagadheeraj Rottela <rnagadheeraj@marvell.com>,\n Ankur Dwivedi <adwivedi@marvell.com>,\n Gagandeep Singh <g.singh@nxp.com>, Jay Zhou <jianjay.zhou@huawei.com>,\n ArkadiuszX Kusztal <arkadiuszx.kusztal@intel.com>, sashakot@nvidia.com,\n oren@nvidia.com, Shiri Kuzin <shirik@nvidia.com>",
        "Date": "Tue, 16 Mar 2021 06:51:41 +0000",
        "Message-Id": "<1615877501-164036-1-git-send-email-matan@nvidia.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH] cryptodev: formalize key wrap method in API",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The Key Wrap approach is used by applications in order to protect keys\nlocated in untrusted storage or transmitted over untrusted\ncommunications networks. The constructions are typically built from\nstandard primitives such as block ciphers and cryptographic hash\nfunctions.\n\nThe Key Wrap method and its parameters are a secret between the keys\nprovider and the device, means that the device is preconfigured for\nthis method using very secured way.\n\nThe key wrap method may change the key length and layout.\n\nAdd a description for the cipher transformation key to allow wrapped key\nto be forwarded by the same API.\n\nSigned-off-by: Matan Azrad <matan@nvidia.com>\n---\n lib/librte_cryptodev/rte_crypto_sym.h | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h\nindex 5973e31..6aca2c7 100644\n--- a/lib/librte_cryptodev/rte_crypto_sym.h\n+++ b/lib/librte_cryptodev/rte_crypto_sym.h\n@@ -200,6 +200,13 @@ struct rte_crypto_cipher_xform {\n \t\tuint16_t length;\t/**< key length in bytes */\n \t} key;\n \t/**< Cipher key\n+\t * The original key data may be provided wrapped (encrypted) using a key\n+\t * wrap algorithm such as AES key wrap (from rfc3394) or other. In such\n+\t * case, the wrapping details is a secret between the key provider and\n+\t * the device. Such key wrapping may increase the length of the provided\n+\t * key beyond the advertised supported key size. Hence it is the\n+\t * responsibility of the driver/device to validate the length of the\n+\t * provided key.\n \t *\n \t * For the RTE_CRYPTO_CIPHER_AES_F8 mode of operation, key.data will\n \t * point to a concatenation of the AES encryption key followed by a\n",
    "prefixes": []
}