Show a patch.

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

{
    "id": 44713,
    "url": "http://patches.dpdk.org/api/patches/44713/",
    "web_url": "http://patches.dpdk.org/patch/44713/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1536917088-5529-4-git-send-email-anoob.joseph@caviumnetworks.com>",
    "date": "2018-09-14T09:24:48",
    "name": "[3/3] app/test-crypto-perf: fix check for cipher IV",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "74737d4a4c381dcf2aef8c1ed3676f88a7fe40a5",
    "submitter": {
        "id": 893,
        "url": "http://patches.dpdk.org/api/people/893/",
        "name": "Anoob Joseph",
        "email": "anoob.joseph@caviumnetworks.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "akhil.goyal@nxp.com"
    },
    "mbox": "http://patches.dpdk.org/patch/44713/mbox/",
    "series": [
        {
            "id": 1319,
            "url": "http://patches.dpdk.org/api/series/1319/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1319",
            "date": "2018-09-14T09:24:45",
            "name": "fix test vector checks",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1319/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44713/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44713/checks/",
    "tags": {},
    "headers": {
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050);\n\tSRVR:BN7PR07MB4897; BCL:0; PCL:0; RULEID:; SRVR:BN7PR07MB4897; ",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-Mailman-Version": "2.1.15",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "BN7PR07MB4897",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Precedence": "list",
        "X-ClientProxiedBy": "BM1PR0101CA0013.INDPRD01.PROD.OUTLOOK.COM\n\t(2603:1096:b00:18::23) To BN7PR07MB4897.namprd07.prod.outlook.com\n\t(2603:10b6:406:ef::26)",
        "Subject": "[dpdk-dev] [PATCH 3/3] app/test-crypto-perf: fix check for cipher IV",
        "Sender": "\"dev\" <dev-bounces@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 2679D5A6E;\n\tFri, 14 Sep 2018 11:26:40 +0200 (CEST)",
            "from NAM05-DM3-obe.outbound.protection.outlook.com\n\t(mail-eopbgr730063.outbound.protection.outlook.com [40.107.73.63])\n\tby dpdk.org (Postfix) with ESMTP id 66C0C58EC\n\tfor <dev@dpdk.org>; Fri, 14 Sep 2018 11:26:38 +0200 (CEST)",
            "from ajoseph83.caveonetworks.com.com (115.113.156.2) by\n\tBN7PR07MB4897.namprd07.prod.outlook.com (2603:10b6:406:ef::26) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1080.17; Fri, 14 Sep 2018 09:25:18 +0000"
        ],
        "SpamDiagnosticOutput": "1:99",
        "Received-SPF": "None (protection.outlook.com: cavium.com does not designate\n\tpermitted sender hosts)",
        "X-Originating-IP": "[115.113.156.2]",
        "SpamDiagnosticMetadata": "NSPM",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=ic5vfZ81DrB/lgkwiQFUJNzAVosNl6mb0xcvzt5s8Ac=;\n\tb=FsRsf8HxgaiUQu5v5lZ47cDLFs2ja9BBmLob0uujlPWt+VZAckI6LfNvO1ueSCuMQQAyIyJBSoglGZQXsQQpF+efRfHnw79j/0O3K5tznVx2+OZiw58zNcSp/JEjeEuMHoyJrX901wHEw/1uQjWbJtgVsppljbcICeicmLGkfRU=",
        "X-Forefront-PRVS": "07954CC105",
        "To": "Akhil Goyal <akhil.goyal@nxp.com>,\n\tDeclan Doherty <declan.doherty@intel.com>,\n\tPablo de Lara <pablo.de.lara.guarch@intel.com>",
        "X-Exchange-Antispam-Report-Test": "UriScan:;",
        "From": "Anoob Joseph <anoob.joseph@caviumnetworks.com>",
        "Cc": "Anoob Joseph <anoob.joseph@caviumnetworks.com>,\n\tJerin Jacob <jerin.jacob@caviumnetworks.com>,\n\tNarayana Prasad <narayanaprasad.athreya@caviumnetworks.com>,\n\tdev@dpdk.org, Akash Saxena <akash.saxena@caviumnetworks.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-MS-TrafficTypeDiagnostic": "BN7PR07MB4897:",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Authentication-Results": "spf=none (sender IP is )\n\tsmtp.mailfrom=Anoob.Joseph@cavium.com; ",
        "X-OriginatorOrg": "caviumnetworks.com",
        "X-Original-To": "patchwork@dpdk.org",
        "X-Microsoft-Antispam-PRVS": "<BN7PR07MB4897AA970A3787C827D82A4FF8190@BN7PR07MB4897.namprd07.prod.outlook.com>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "MIME-Version": "1.0",
        "In-Reply-To": "<1536917088-5529-1-git-send-email-anoob.joseph@caviumnetworks.com>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<1536917088-5529-1-git-send-email-anoob.joseph@caviumnetworks.com>",
        "Content-Type": "text/plain",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; BN7PR07MB4897;\n\t3:9S15TohGLC3/6Wx1TnLjGQj3lVAQ/uim0ETzBscxGKH7f7xWEo5g1OIcqpVMLy2lEXUILKgfU6u7mOeO1gxHQ/zwS94wWF7uVV/PtGg2b3leD5je2FzWfAnn8fiF0LkI7sndSWlu5oaxLGVvNujHrcNE/amA/iVx+TAdlm11OW7kB6dJP+aAsmAxNBLWf9cxtxk7XmN9OFkdKolVpV78WT3kFg503L6JecYBr9mh3pQVPOqENoTGoYyi25nhBL9H;\n\t25:hJLijzPwqw2TB5z/1bzIrik04LqMwkzpQWSyV5qoTjmAbdcY6eGwtI1Om/e2meapGlTaPmGE14pjtiNYcFevXmxaNG4/jjEz3sgHyqGivKoZ6x5bURKtyB9OEs5ryKRP4FNP/99kV6zbmPBU2fQSzV4UhtEqObn82wX7TbyT683LXIxe/2xNR+W27U65+bQy0bVJR3TypPznycxvBrFrWvDlacnG2KI4AcSks4Z+P2M6rWPdfeV5pZOf0pcf5XM2j4jmsm5VofENCUrUY7hS1qUDE/rdXJgMe1E3Gjgtp2nbTH9oq813bs5qQguKkwC+n5xFVTtacPst402xsbHLig==;\n\t31:c+5xtUh2U4jrVvMvJ8riygsuyDZiZ6uO27zHuw73l0UOK/f8ezfSXMAQFL6vG9A2SnmadeUw0+NSSrWTfDUBkKvIj45TxmPtZFc4dFBlUbyzfP70WhX/5sGL73Opw8E373y1BXfv62LXL2kOIh39g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V0x4rBC9/Hj9UkFvBtXE2gXQ0r+Eih2VOALyQSNm6O4yCXaTU43UmLp91IuDZEAa774"
        ],
        "X-MS-PublicTrafficType": "Email",
        "X-Forefront-Antispam-Report": "SFV:NSPM;\n\tSFS:(10009020)(396003)(39850400004)(366004)(376002)(346002)(136003)(189003)(199004)(97736004)(8936002)(53936002)(66066001)(476003)(6506007)(2906002)(11346002)(446003)(956004)(486006)(2616005)(386003)(186003)(6666003)(107886003)(3846002)(81156014)(16526019)(5660300001)(7736002)(305945005)(50226002)(8676002)(6116002)(81166006)(26005)(14444005)(72206003)(25786009)(4326008)(16586007)(42882007)(6512007)(316002)(478600001)(110136005)(68736007)(6486002)(50466002)(47776003)(36756003)(44832011)(76176011)(51416003)(52116002)(105586002)(48376002)(54906003)(106356001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR07MB4897;\n\tH:ajoseph83.caveonetworks.com.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; MX:1; A:1; ",
        "X-Mailer": "git-send-email 2.7.4",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "d353c9f4-75ea-4a4a-ff2b-08d61a23fe6d",
        "Date": "Fri, 14 Sep 2018 14:54:48 +0530",
        "X-MS-Office365-Filtering-Correlation-Id": "d353c9f4-75ea-4a4a-ff2b-08d61a23fe6d",
        "X-Microsoft-Antispam-Message-Info": "RQutdwA866SzfoGpI1yOqeFJaH61e8Ln3AMgNUFpETpI/4VwTQeAB+64oGHdU1RF20dHmv83DNrACOqWfzX61Ye3tnxW85OSGQF2ezQn0514/PLLZ3QsnBCpBNATFqheYRRvYC0yntv+mVnoscAzqTb2OgaIjDm1Q2hQ5s1ZbYpTqnFQ8VGiJgz9sLHxHqCTWBdWjYl9JrZO3ODyTuyUHiIQ4QnkER1GiT71CIfBBTfWFghdatD0ZbLBLwOQUYwO78FQw1wx7zlRpPm7tImargHfYremZ3J1tu82U2aDX/0YeL2VS/356Qvh7nW0KglRiCU8uXbho5SbGF0W/VbSCN+T7dakNKZdHjM1DQhBsQI=",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-CrossTenant-Id": "711e4ccf-2e9b-4bcf-a551-4094005b6194",
        "X-Microsoft-Antispam": "BCL:0; PCL:0;\n\tRULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);\n\tSRVR:BN7PR07MB4897; ",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<1536917088-5529-4-git-send-email-anoob.joseph@caviumnetworks.com>",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "14 Sep 2018 09:25:18.9335\n\t(UTC)"
    },
    "content": "IV is not required for all ciphers. Making sure the null check is done\nonly when 'cipher_iv_sz' is non-zero.\n\nFixes: f8be1786b1b8 (\"app/crypto-perf: introduce performance test application\")\n\nSigned-off-by: Akash Saxena <akash.saxena@caviumnetworks.com>\nSigned-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>\n---\n app/test-crypto-perf/main.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c\nindex 55d97c2..953e058 100644\n--- a/app/test-crypto-perf/main.c\n+++ b/app/test-crypto-perf/main.c\n@@ -342,7 +342,9 @@ cperf_check_test_vector(struct cperf_options *opts,\n \t\t\t\treturn -1;\n \t\t\tif (test_vec->ciphertext.length < opts->max_buffer_size)\n \t\t\t\treturn -1;\n-\t\t\tif (test_vec->cipher_iv.data == NULL)\n+\t\t\t/* Cipher IV is only required for some algorithms */\n+\t\t\tif (opts->cipher_iv_sz &&\n+\t\t\t\t\ttest_vec->cipher_iv.data == NULL)\n \t\t\t\treturn -1;\n \t\t\tif (test_vec->cipher_iv.length != opts->cipher_iv_sz)\n \t\t\t\treturn -1;\n",
    "prefixes": [
        "3/3"
    ]
}