Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/56626/?format=api
https://patches.dpdk.org/api/patches/56626/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190717125111.11288-4-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": "<20190717125111.11288-4-arkadiuszx.kusztal@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190717125111.11288-4-arkadiuszx.kusztal@intel.com", "date": "2019-07-17T12:51:03", "name": "[v4,03/11] crypto/openssl: add cipher field to openssl RSA implementation", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "b257add0ce743bd1c41e93243dfc3628ff744857", "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/20190717125111.11288-4-arkadiuszx.kusztal@intel.com/mbox/", "series": [ { "id": 5565, "url": "https://patches.dpdk.org/api/series/5565/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5565", "date": "2019-07-17T12:51:00", "name": "Rework API for RSA algorithm in asymmetric crypto", "version": 4, "mbox": "https://patches.dpdk.org/series/5565/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/56626/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/56626/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CB8E51BDFB;\n\tWed, 17 Jul 2019 14:54:50 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id F36051BDF9\n\tfor <dev@dpdk.org>; Wed, 17 Jul 2019 14:54:49 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Jul 2019 05:54:49 -0700", "from akusztax-mobl.ger.corp.intel.com ([10.104.12.189])\n\tby fmsmga001.fm.intel.com with ESMTP; 17 Jul 2019 05:54:47 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.64,274,1559545200\"; d=\"scan'208\";a=\"187553012\"", "From": "Arek Kusztal <arkadiuszx.kusztal@intel.com>", "To": "dev@dpdk.org", "Cc": "akhil.goyal@nxp.com, fiona.trahe@intel.com, shallyv@marvell.com,\n\tdamianx.nowak@intel.com, Arek Kusztal <arkadiuszx.kusztal@intel.com>", "Date": "Wed, 17 Jul 2019 14:51:03 +0200", "Message-Id": "<20190717125111.11288-4-arkadiuszx.kusztal@intel.com>", "X-Mailer": "git-send-email 2.19.1.windows.1", "In-Reply-To": "<20190717125111.11288-1-arkadiuszx.kusztal@intel.com>", "References": "<20190717125111.11288-1-arkadiuszx.kusztal@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v4 03/11] crypto/openssl: add cipher field to\n\topenssl RSA implementation", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This commit adds cipher field to openssl pmd to comfort to\nAPI change.\n\nSigned-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>\n---\n drivers/crypto/openssl/rte_openssl_pmd.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/crypto/openssl/rte_openssl_pmd.c b/drivers/crypto/openssl/rte_openssl_pmd.c\nindex 7c8bf0d..71ae320 100644\n--- a/drivers/crypto/openssl/rte_openssl_pmd.c\n+++ b/drivers/crypto/openssl/rte_openssl_pmd.c\n@@ -1867,19 +1867,19 @@ process_openssl_rsa_op(struct rte_crypto_op *cop,\n \tcase RTE_CRYPTO_ASYM_OP_ENCRYPT:\n \t\tret = RSA_public_encrypt(op->rsa.message.length,\n \t\t\t\top->rsa.message.data,\n-\t\t\t\top->rsa.message.data,\n+\t\t\t\top->rsa.cipher.data,\n \t\t\t\trsa,\n \t\t\t\tpad);\n \n \t\tif (ret > 0)\n-\t\t\top->rsa.message.length = ret;\n+\t\t\top->rsa.cipher.length = ret;\n \t\tOPENSSL_LOG(DEBUG,\n \t\t\t\t\"length of encrypted text %d\\n\", ret);\n \t\tbreak;\n \n \tcase RTE_CRYPTO_ASYM_OP_DECRYPT:\n-\t\tret = RSA_private_decrypt(op->rsa.message.length,\n-\t\t\t\top->rsa.message.data,\n+\t\tret = RSA_private_decrypt(op->rsa.cipher.length,\n+\t\t\t\top->rsa.cipher.data,\n \t\t\t\top->rsa.message.data,\n \t\t\t\trsa,\n \t\t\t\tpad);\n", "prefixes": [ "v4", "03/11" ] }{ "id": 56626, "url": "