Show a patch.

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

{
    "id": 44711,
    "url": "http://patches.dpdk.org/api/patches/44711/",
    "web_url": "http://patches.dpdk.org/patch/44711/",
    "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-2-git-send-email-anoob.joseph@caviumnetworks.com>",
    "date": "2018-09-14T09:24:46",
    "name": "[1/3] app/test-crypto-perf: add checks for AEAD key",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "766b05c844df612a8b6c9d29c3138305abeed0da",
    "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/44711/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/44711/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44711/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 1/3] app/test-crypto-perf: add checks for AEAD key",
        "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 74DCC5B12;\n\tFri, 14 Sep 2018 11:25:18 +0200 (CEST)",
            "from NAM05-DM3-obe.outbound.protection.outlook.com\n\t(mail-eopbgr730065.outbound.protection.outlook.com [40.107.73.65])\n\tby dpdk.org (Postfix) with ESMTP id 0D4175A44\n\tfor <dev@dpdk.org>; Fri, 14 Sep 2018 11:25:17 +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:12 +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=RwAw691qZdnpvsNunStBGZwbPdUnZOpgrKrGfkFN3O0=;\n\tb=JH1GOAWpcakmM4ZNOd9+v5BqUdnVWc4gLP/hdMcHW850ciTYPiC6+Afc2Zlr21FSUqLtmCZstFiSBrHiq75w9DrL1zLkaZwA5JLmQQ78Kh5zSRHS5NvbxYDtC49TyCRKVBUfiMK/4pp/n9H8gduA+99SA7dLCr+pNZlFTr6Ay64=",
        "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": "<BN7PR07MB489756FDBD5EE87102C8A13BF8190@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:DcLGdO7gv1LMgLxlIzOsrGlvd8JBMy2R04uBkINA9/KNzOTQ3+7z1pCuG6vD8HCS3nyzAbqrhyrMWKi1Flg8dIQOyJy9500fGlNBZAogHZ+Igep48l68Nv6z5WF3dwdV8arZh5faq+/eE0ZrmKclshp5O7ZlsrU7jrjb5aw1W6is7E8jAWfgE38VtnP56/HM7AMYkTDOCWQ0LIlqrPOcj2vqsFfn3liHIlnMwtSIwN3SQKCtDDaY1flub5M7Idcu;\n\t25:SjvP2h81hvqnMS1iYTGHhlHFWbelow07NP1hSvtPRtEpNvIYWlpAAEvUyK5oL8lfvaAi+4oKfr8qvQoaGA6cXv3GOnC1nM+AJEy9KRsXfO6PeOjDVOG6a1SPjx7oyVVhL2cDsSuJsVVXUrYDOksRtDh0X4sWk1VtoxjZHg0nFcJFyeE88WiRIUYSda0bWskbEWZR53YgkN1L4xh0Djy8BBgO8rKQdvFh57vZNzWiXSrwfRKdr+5XO+Q8OG3HZuqdKJIgg3rQwGi6dAGjfFEg1B2FznsmLhfhU7EB4e/9sBnTkdG3o9BIyUNE3WNCQKe763bvfRvtanLxXA/S/B63Iw==;\n\t31:wc7d5vf5ENubBd5sDt1E5HGXCiHOFrROCRK0qjFAhCSd7tQ7QILc0NYiz0bpqlQh2Ugry3deOyul/0VsxwfIhAlYCsW3vwRlifYIfpu4fEMWquV6adL+pZDpR28DswSgwHl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duPA8j07npkbfWGXIffKDoWoL/0z79EIxT8"
        ],
        "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)(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": "afa8ce43-02e5-478d-1fc3-08d61a23fa7f",
        "Date": "Fri, 14 Sep 2018 14:54:46 +0530",
        "X-MS-Office365-Filtering-Correlation-Id": "afa8ce43-02e5-478d-1fc3-08d61a23fa7f",
        "X-Microsoft-Antispam-Message-Info": "tfOiiVhEfg2zNWvQzwUkgI+hzhZWgrP3fERI/AmkqWzdrMM3nruc9I/42YAy9DD6MLjPG2WotlbQSFMrVyxCUzcVfsdy/TpMVhMhmoaBiOP8G25QqcNscpmCcNUaakq3tCKGBGv7OOjGIVdMxaMJSJZHvn9vWjvndL8GgDE1R4wCBrNBl+y+g8nTr0zqxEc6te2UUs8DNHRlxaiMzKnajG3Puv+CYYeDzzUPhThePl5xMNdSV4xKBKhu/YbmocrJFKeCnplpuV3cpvYU+Whw13NfjAEpFMnhFegBh+do50BusXwmdX5I9svwu5ep69hNmln53oODMlF+U30yX5bbZAdRz0fInZVAIA2m1WH1TdA=",
        "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-2-git-send-email-anoob.joseph@caviumnetworks.com>",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "14 Sep 2018 09:25:12.5110\n\t(UTC)"
    },
    "content": "Adding validation checks for AEAD key.\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, 4 insertions(+)",
    "diff": "diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c\nindex 5c7dadb..c9f99a7 100644\n--- a/app/test-crypto-perf/main.c\n+++ b/app/test-crypto-perf/main.c\n@@ -421,6 +421,10 @@ cperf_check_test_vector(struct cperf_options *opts,\n \t\t\treturn -1;\n \t\tif (test_vec->ciphertext.length < opts->max_buffer_size)\n \t\t\treturn -1;\n+\t\tif (test_vec->aead_key.data == NULL)\n+\t\t\treturn -1;\n+\t\tif (test_vec->aead_key.length != opts->aead_key_sz)\n+\t\t\treturn -1;\n \t\tif (test_vec->aead_iv.data == NULL)\n \t\t\treturn -1;\n \t\tif (test_vec->aead_iv.length != opts->aead_iv_sz)\n",
    "prefixes": [
        "1/3"
    ]
}