From patchwork Thu Apr 21 07:56:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 109954 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: 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]) by inbox.dpdk.org (Postfix) with ESMTP id 99614A00C3; Thu, 21 Apr 2022 09:56:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A7C841101; Thu, 21 Apr 2022 09:56:33 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 20D01410E1 for ; Thu, 21 Apr 2022 09:56:31 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23L5n3vC000587; Thu, 21 Apr 2022 00:56:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=d0nECuh3uCEqKQq8LlkVVzkH3J2A95Vnd1l+V/bJ43A=; b=AJnBSAEXN7I2TPom20N7lmnkDwEjx4UU2DkD9PxgfrRmtzFQYrqk0CneRQ+9sxhISMd7 d7J0etyHg/AvRhzI6v7l+J5X8FnFfZFz6NZ1Lp4uNQaeaxYdRJk1/U+vdv4ix3E/1O9j rIcYs5mrhttiICP3+SJgHksYZSf2eNF8gibumLMkSChsbhGuNRq1kXVCIQUHk8MOzuKx yhfBtAYR7YdEJ6Kont/edlVsIuUnE3BQ10LQJvoVA66JtkzNdwcLBA/GDSnl+GqIrd31 SUaDmnSNswUII8KV5nLwDURmf24WEgdaLNHf1Ut7u7RalbGGnF+l3N1SG8nq+6VcOc4S WQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3fk1f38bh2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 21 Apr 2022 00:56:31 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 21 Apr 2022 00:56:29 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Thu, 21 Apr 2022 00:56:29 -0700 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id 40DDC3F705F; Thu, 21 Apr 2022 00:56:27 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: Fan Zhang , Brian Dooley , Brandon Lo , Anoob Joseph , Archana Muniganti , Jerin Jacob , Gowrishankar Muthukrishnan Subject: [PATCH] examples/fips_validation: disable iv_gen for decrypt tests Date: Thu, 21 Apr 2022 13:26:24 +0530 Message-ID: <20220421075624.528908-1-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: IRjRaVG7KqNym5OF_AIBNzfYoZ5vnEOQ X-Proofpoint-ORIG-GUID: IRjRaVG7KqNym5OF_AIBNzfYoZ5vnEOQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-20_06,2022-04-20_01,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Disable iv_gen for decrypt tests. Signed-off-by: Gowrishankar Muthukrishnan --- examples/fips_validation/fips_validation_gcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/fips_validation/fips_validation_gcm.c b/examples/fips_validation/fips_validation_gcm.c index 5c72dbf790..6bd974e065 100644 --- a/examples/fips_validation/fips_validation_gcm.c +++ b/examples/fips_validation/fips_validation_gcm.c @@ -335,6 +335,7 @@ parse_test_gcm_init(void) } else if (strcmp(direction_str, OP_DEC_JSON_STR) == 0) { info.op = FIPS_TEST_DEC_AUTH_VERIF; info.callbacks = gcm_dec_json_vectors; + info.interim_info.gcm_data.gen_iv = 0; } else { return -EINVAL; }