get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 131997,
    "url": "http://patches.dpdk.org/api/patches/131997/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230927113734.1244-6-gmuthukrishn@marvell.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": "<20230927113734.1244-6-gmuthukrishn@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230927113734.1244-6-gmuthukrishn@marvell.com",
    "date": "2023-09-27T11:37:32",
    "name": "[v2,5/7] cryptodev: use generic EC xform params for SM2",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e99c017e94aefed6af83fded3e8c7d4c784e7c4c",
    "submitter": {
        "id": 2301,
        "url": "http://patches.dpdk.org/api/people/2301/?format=api",
        "name": "Gowrishankar Muthukrishnan",
        "email": "gmuthukrishn@marvell.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/20230927113734.1244-6-gmuthukrishn@marvell.com/mbox/",
    "series": [
        {
            "id": 29653,
            "url": "http://patches.dpdk.org/api/series/29653/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29653",
            "date": "2023-09-27T11:37:27",
            "name": "cryptodev: support digest message in SM2",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/29653/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/131997/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/131997/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 A37D242651;\n\tWed, 27 Sep 2023 13:38:24 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A9D4040685;\n\tWed, 27 Sep 2023 13:38:03 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id ED0F1402E9\n for <dev@dpdk.org>; Wed, 27 Sep 2023 13:38:01 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 38R0pVQR029266; Wed, 27 Sep 2023 04:38:01 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3t9yhm68ee-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 27 Sep 2023 04:38:01 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Wed, 27 Sep 2023 04:37:59 -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.48 via Frontend\n Transport; Wed, 27 Sep 2023 04:37:59 -0700",
            "from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34])\n by maili.marvell.com (Postfix) with ESMTP id 9F7963F7090;\n Wed, 27 Sep 2023 04:37:56 -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=b0bUo8oraOtaOvVbcDWXX81P61D1uxvOjwIoNRtPu1M=;\n b=KxUQZC6Tt+FfIDEh80eDV9c/ISmxRr9rbyYLdqvwnwKEtd85T7l0SHsOOXs7aNHCcLLz\n DSb7Ab3y4USePw8/tDN7yV3yF7VsUe34CitKcAK9BYIaEkDSuEpvWOMzvh7D7hiDk8yp\n KMq8K3hB0xR2D5tAGAlwfu8pAb4JmcSJCBS6C0LMbDeB0ljJyUwjwnWghD4sNinXndw9\n pXlcR79D8IHJ8hJVKQr8dLC/GaReO8BMpfO5MKF0KVblffkhIShshzmNghxyKigt0wux\n OzrGd4K97r+PTj82rIOVgzufTyRjDHvR5TAxut+3W6himQk0gy2vYvLV4Ggi6Tcacb/o kw==",
        "From": "Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<anoobj@marvell.com>, Akhil Goyal <gakhil@marvell.com>, Fan Zhang\n <fanzhang.oss@gmail.com>, Kai Ji <kai.ji@intel.com>, Arkadiusz Kusztal\n <arkadiuszx.kusztal@intel.com>, Gowrishankar Muthukrishnan\n <gmuthukrishn@marvell.com>",
        "Subject": "[PATCH v2 5/7] cryptodev: use generic EC xform params for SM2",
        "Date": "Wed, 27 Sep 2023 17:07:32 +0530",
        "Message-ID": "<20230927113734.1244-6-gmuthukrishn@marvell.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20230927113734.1244-1-gmuthukrishn@marvell.com>",
        "References": "<cover.1691658879.git.gmuthukrishn@marvell.com>\n <20230927113734.1244-1-gmuthukrishn@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "UIJMEjtql92Uv_VQtxz2Bt5ok0FDNzs-",
        "X-Proofpoint-ORIG-GUID": "UIJMEjtql92Uv_VQtxz2Bt5ok0FDNzs-",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-09-27_06,2023-09-27_01,2023-05-22_02",
        "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": "SM2 curve could use generic EC xform as it is yet another EC.\nThis would also require SM2 curve ID enumerated\nalong with other curves, as listed in:\nhttps://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml\n\nSigned-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>\nAcked-by: Arkadiusz Kusztal <arkadiuszx.kusztal@intel.com>\n---\n app/test/test_cryptodev_sm2_test_vectors.h | 4 +++-\n doc/guides/rel_notes/release_23_11.rst     | 2 ++\n lib/cryptodev/rte_crypto_asym.h            | 6 ++----\n 3 files changed, 7 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/app/test/test_cryptodev_sm2_test_vectors.h b/app/test/test_cryptodev_sm2_test_vectors.h\nindex 7a4ce70c10..3d2dba1359 100644\n--- a/app/test/test_cryptodev_sm2_test_vectors.h\n+++ b/app/test/test_cryptodev_sm2_test_vectors.h\n@@ -17,6 +17,7 @@ struct crypto_testsuite_sm2_params {\n \trte_crypto_param id;\n \trte_crypto_param cipher;\n \trte_crypto_param message;\n+\tint curve;\n };\n \n static uint8_t fp256_pkey[] = {\n@@ -123,7 +124,8 @@ struct crypto_testsuite_sm2_params sm2_param_fp256 = {\n \t.cipher = {\n \t\t.data = fp256_cipher,\n \t\t.length = sizeof(fp256_cipher),\n-\t}\n+\t},\n+\t.curve = RTE_CRYPTO_EC_GROUP_SM2\n };\n \n #endif /* __TEST_CRYPTODEV_SM2_TEST_VECTORS_H__ */\ndiff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst\nindex 9746809a66..e9afae8030 100644\n--- a/doc/guides/rel_notes/release_23_11.rst\n+++ b/doc/guides/rel_notes/release_23_11.rst\n@@ -97,6 +97,8 @@ Removed Items\n \n * kni: Removed the Kernel Network Interface (KNI) library and driver.\n \n+* crypto: Removed SM2 xform parameter in asymmetric xform.\n+\n \n API Changes\n -----------\ndiff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h\nindex b72876240c..d75ef90b86 100644\n--- a/lib/cryptodev/rte_crypto_asym.h\n+++ b/lib/cryptodev/rte_crypto_asym.h\n@@ -69,7 +69,8 @@ enum rte_crypto_curve_id {\n \tRTE_CRYPTO_EC_GROUP_SECP224R1 = 21,\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_SECP521R1 = 25,\n+\tRTE_CRYPTO_EC_GROUP_SM2       = 41,\n };\n \n /**\n@@ -637,9 +638,6 @@ struct rte_crypto_asym_xform {\n \t\t/**< EC xform parameters, used by elliptic curve based\n \t\t * operations.\n \t\t */\n-\n-\t\tstruct rte_crypto_sm2_xform sm2;\n-\t\t/**< SM2 xform parameters */\n \t};\n };\n \n",
    "prefixes": [
        "v2",
        "5/7"
    ]
}