Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/111496/?format=api
https://patches.dpdk.org/api/patches/111496/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220520055445.40063-13-arkadiuszx.kusztal@intel.com/", "project": { "id": 1, "url": "https://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": "<20220520055445.40063-13-arkadiuszx.kusztal@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220520055445.40063-13-arkadiuszx.kusztal@intel.com", "date": "2022-05-20T05:54:17", "name": "[12/40] crypto/openssl: remove asym crypto next xform", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "7b5ca969140028d4187763112cb8d888d543d9aa", "submitter": { "id": 452, "url": "https://patches.dpdk.org/api/people/452/?format=api", "name": "Arkadiusz Kusztal", "email": "arkadiuszx.kusztal@intel.com" }, "delegate": { "id": 6690, "url": "https://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220520055445.40063-13-arkadiuszx.kusztal@intel.com/mbox/", "series": [ { "id": 23057, "url": "https://patches.dpdk.org/api/series/23057/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=23057", "date": "2022-05-20T05:54:05", "name": "cryptodev: rsa, dh, ecdh changes", "version": 1, "mbox": "https://patches.dpdk.org/series/23057/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/111496/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/111496/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 48C43A0503;\n\tFri, 20 May 2022 09:03:47 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F184342BAE;\n\tFri, 20 May 2022 09:03:04 +0200 (CEST)", "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id CC04B4280B\n for <dev@dpdk.org>; Fri, 20 May 2022 09:03:02 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 May 2022 00:03:02 -0700", "from silpixa00399302.ir.intel.com ([10.237.214.136])\n by orsmga008.jf.intel.com with ESMTP; 20 May 2022 00:03:01 -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=1653030183; x=1684566183;\n h=from:to:cc:subject:date:message-id:in-reply-to: references;\n bh=LTPB1iwHYc0wKXhTv0lmVtKIvPASupH7n0CppvOKJGs=;\n b=Ahu4G5JeRhKNIiWOemmLi22w59UcvwtSLdABfORFWqF7PeTDtHE/iEkQ\n mhNF/HCUYEK6BcCkpqghkk15B7Yc9a6F6rrXBJu2Tv9sSjmlMhF21/0hb\n +IgHag98Zgenf/B8syhKfS28qOWgJFydHYIgRB8Z0E6p2QhFqAtl81/MU\n OI0ccTao9sjrRU+mXRIULvLeNT4LOnNnpEFWMgm+2+AIFhMajPC5CFY9n\n c30N8a8JZqwQPpWWAFjEhmhjkc0Q5fyVOP9PlGMHGdy+IIdy9raIk1jsc\n e1mi2ad4iftcOBJx6KXdIlR8KskYkdzMlW9/Pw5QXDI5KMTUXZGytG4AD g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10352\"; a=\"333140311\"", "E=Sophos;i=\"5.91,238,1647327600\"; d=\"scan'208\";a=\"333140311\"", "E=Sophos;i=\"5.91,238,1647327600\"; d=\"scan'208\";a=\"599058198\"" ], "X-ExtLoop1": "1", "From": "Arek Kusztal <arkadiuszx.kusztal@intel.com>", "To": "dev@dpdk.org", "Cc": "gakhil@marvell.com, anoobj@marvell.com, roy.fan.zhang@intel.com,\n Arek Kusztal <arkadiuszx.kusztal@intel.com>", "Subject": "[PATCH 12/40] crypto/openssl: remove asym crypto next xform", "Date": "Fri, 20 May 2022 06:54:17 +0100", "Message-Id": "<20220520055445.40063-13-arkadiuszx.kusztal@intel.com>", "X-Mailer": "git-send-email 2.13.6", "In-Reply-To": "<20220520055445.40063-1-arkadiuszx.kusztal@intel.com>", "References": "<20220520055445.40063-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": "- removed asymnetric crypto xform next field.\nThis commit reflects asymmetric crypto API changes\n\nSigned-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>\n---\n drivers/crypto/openssl/rte_openssl_pmd_ops.c | 26 --------------------------\n 1 file changed, 26 deletions(-)", "diff": "diff --git a/drivers/crypto/openssl/rte_openssl_pmd_ops.c b/drivers/crypto/openssl/rte_openssl_pmd_ops.c\nindex c975ef640a..a1be96bf1d 100644\n--- a/drivers/crypto/openssl/rte_openssl_pmd_ops.c\n+++ b/drivers/crypto/openssl/rte_openssl_pmd_ops.c\n@@ -808,13 +808,6 @@ static int openssl_set_asym_session_parameters(\n {\n \tint ret = 0;\n \n-\tif ((xform->xform_type != RTE_CRYPTO_ASYM_XFORM_DH) &&\n-\t\t(xform->next != NULL)) {\n-\t\tOPENSSL_LOG(ERR, \"chained xfrms are not supported on %s\",\n-\t\t\trte_crypto_asym_xform_strings[xform->xform_type]);\n-\t\treturn -1;\n-\t}\n-\n \tswitch (xform->xform_type) {\n \tcase RTE_CRYPTO_ASYM_XFORM_RSA:\n \t{\n@@ -1007,25 +1000,6 @@ static int openssl_set_asym_session_parameters(\n \t\t * public and private key generate\n \t\t */\n \t\tasym_session->u.dh.key_op = (1 << xform->dh.type);\n-\n-\t\tif (xform->dh.type ==\n-\t\t\tRTE_CRYPTO_ASYM_KE_PRIVATE_KEY_GENERATE) {\n-\t\t\t/* check if next is pubkey */\n-\t\t\tif ((xform->next != NULL) &&\n-\t\t\t\t(xform->next->xform_type ==\n-\t\t\t\tRTE_CRYPTO_ASYM_XFORM_DH) &&\n-\t\t\t\t(xform->next->dh.type ==\n-\t\t\t\tRTE_CRYPTO_ASYM_KE_PUBLIC_KEY_GENERATE)\n-\t\t\t\t) {\n-\t\t\t\t/*\n-\t\t\t\t * setup op as pub/priv key\n-\t\t\t\t * pair generationi\n-\t\t\t\t */\n-\t\t\t\tasym_session->u.dh.key_op |=\n-\t\t\t\t(1 <<\n-\t\t\t\tRTE_CRYPTO_ASYM_KE_PUBLIC_KEY_GENERATE);\n-\t\t\t}\n-\t\t}\n \t\tasym_session->u.dh.dh_key = dh;\n \t\tasym_session->xfrm_type = RTE_CRYPTO_ASYM_XFORM_DH;\n \t\tbreak;\n", "prefixes": [ "12/40" ] }{ "id": 111496, "url": "