Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/119410/?format=api
https://patches.dpdk.org/api/patches/119410/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221102120117.381696-1-brian.dooley@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": "<20221102120117.381696-1-brian.dooley@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221102120117.381696-1-brian.dooley@intel.com", "date": "2022-11-02T12:01:17", "name": "[v1] examples/fips_validation: fix IV generation for gmac", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "a4b0700845510480d03dcf38e3d2ead6a9a67a5d", "submitter": { "id": 2520, "url": "https://patches.dpdk.org/api/people/2520/?format=api", "name": "Dooley, Brian", "email": "brian.dooley@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/20221102120117.381696-1-brian.dooley@intel.com/mbox/", "series": [ { "id": 25530, "url": "https://patches.dpdk.org/api/series/25530/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=25530", "date": "2022-11-02T12:01:17", "name": "[v1] examples/fips_validation: fix IV generation for gmac", "version": 1, "mbox": "https://patches.dpdk.org/series/25530/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/119410/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/119410/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 A2CD5A00C2;\n\tWed, 2 Nov 2022 13:01:26 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4109740223;\n\tWed, 2 Nov 2022 13:01:26 +0100 (CET)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id E32C940041;\n Wed, 2 Nov 2022 13:01:23 +0100 (CET)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Nov 2022 05:01:22 -0700", "from silpixa00400883.ir.intel.com ([10.243.23.148])\n by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2022 05:01:20 -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=1667390484; x=1698926484;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=cG8M4P6yMHfxBsBcL0d7mivthwiPH3K0smUeTEEONyw=;\n b=EdlTkfYziw875nHf2aXq+5OTHeNGD3zq3PxuMUWDaHo7rYKUYJDvN7e0\n c2k8hX0ceeYqH9v57yoHxxcdbXk5nnL/oo5XVcBOeOZR9Bsxu/SHZOYgu\n Tz0hixeaRfvijlqHwhgO439msrVIyequKPeu8JsKwCTPhNAs+niIVrK1H\n ogppdDr21MCDkmRyeWIf3w5W8AH3mB3Br7+VTYm5liZOaTze9/gzbZ8l2\n q3xy+3EO3N2ON6FUUNJuAzlEMctkt5ZKf92rtWRMe+1V77QBw13piKYJd\n VpPKhxZPCLESd4MimX5M1JHeJ11SpmvD54qXtCB4L5nxaqmmL52ogp+Kj A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10518\"; a=\"336065227\"", "E=Sophos;i=\"5.95,232,1661842800\"; d=\"scan'208\";a=\"336065227\"", "E=McAfee;i=\"6500,9779,10518\"; a=\"879450691\"", "E=Sophos;i=\"5.95,232,1661842800\"; d=\"scan'208\";a=\"879450691\"" ], "X-ExtLoop1": "1", "From": "Brian Dooley <brian.dooley@intel.com>", "To": "Brian Dooley <brian.dooley@intel.com>", "Cc": "dev@dpdk.org,\n\tstable@dpdk.org,\n\tgakhil@marvell.com", "Subject": "[PATCH v1] examples/fips_validation: fix IV generation for gmac", "Date": "Wed, 2 Nov 2022 12:01:17 +0000", "Message-Id": "<20221102120117.381696-1-brian.dooley@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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": "Replace rand() call in fips validation example with rte_rand().\n\nCoverity issue: 381668\nFixes: e27268bd2103 (\"examples/fips_validation: add parsing for AES-GMAC\")\n\nSigned-off-by: Brian Dooley <brian.dooley@intel.com>\n---\n examples/fips_validation/main.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c\nindex 40a5b70e07..404a29d7b6 100644\n--- a/examples/fips_validation/main.c\n+++ b/examples/fips_validation/main.c\n@@ -12,6 +12,7 @@\n #include <rte_mempool.h>\n #include <rte_mbuf.h>\n #include <rte_string_fns.h>\n+#include <rte_random.h>\n \n #include \"fips_validation.h\"\n #include \"fips_dev_self_test.h\"\n@@ -761,7 +762,7 @@ prepare_auth_op(void)\n \t\t}\n \n \t\tfor (i = 0; i < vec.iv.len; i++) {\n-\t\t\tint random = rand();\n+\t\t\tint random = rte_rand();\n \t\t\tvec.iv.val[i] = (uint8_t)random;\n \t\t}\n \t}\n", "prefixes": [ "v1" ] }{ "id": 119410, "url": "