From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98589A0503; Wed, 18 May 2022 17:39:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AF8540156; Wed, 18 May 2022 17:39:39 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 6FA8B400D6 for ; Wed, 18 May 2022 17:39:38 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24I923Tq008065; Wed, 18 May 2022 08:39:37 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=31GUvYV2HVf9xj0vSQ2s1S5ds7LGycBTyJ5bA4W6luM=; b=kS3kY/p/2t48jnso0tm9bz5CBtiC/yAB0fPKyLAPqyZhJRc5I5lqcNE8cMATmemQ0frP pfZuAHjTKGOiIFbduZf/ZIlrA7xRSc2P+eX99tqquSNGGIAnf9FVjRFSfUq99HxZOeZg /GvkbfGvHU3c8CFg+GluBW6ba8HQqyCq0UA4L91tQhF6Cw+cFkc3EOQxa1iOrZ/4qyH8 svwXX5wuEOE39y7xCie+J+mxvzHb5N9nb+yuwFPdG+LU4L/JGEPSzM3jhf7wsu7o1yGJ a/YcvFI7snmro0BZczpaB3NiAIopY/chCD3NVKpSd7mts3CnisMKNiIZqOmfmAWmYZUB ag== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3g4m6f3m1a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 18 May 2022 08:39:37 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 18 May 2022 08:39:32 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 18 May 2022 08:39:32 -0700 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id 1EA863F70C8; Wed, 18 May 2022 08:39:29 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: Fan Zhang , Brian Dooley , Brandon Lo , Anoob Joseph , Archana Muniganti , Jerin Jacob , Gowrishankar Muthukrishnan Subject: [PATCH v2] examples/fips_validation: reset IV generation in every test group Date: Wed, 18 May 2022 21:09:23 +0530 Message-ID: <20220518153923.3618747-1-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220421075552.528836-1-gmuthukrishn@marvell.com> References: <20220421075552.528836-1-gmuthukrishn@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: qcaJyY6pkCpwzLFkkscahmNFVAsxyNod X-Proofpoint-ORIG-GUID: qcaJyY6pkCpwzLFkkscahmNFVAsxyNod X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-18_06,2022-05-17_02,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 Reset IV generation in every test group. Signed-off-by: Gowrishankar Muthukrishnan --- v2: - rebase on latest main. --- 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 3604b21f13..7e89f2a6b2 100644 --- a/examples/fips_validation/fips_validation_gcm.c +++ b/examples/fips_validation/fips_validation_gcm.c @@ -344,6 +344,7 @@ parse_test_gcm_json_init(void) direction_obj = json_object_get(json_info.json_test_group, DIR_JSON_STR); direction_str = json_string_value(direction_obj); + info.interim_info.gcm_data.gen_iv = 0; if (strcmp(direction_str, OP_ENC_JSON_STR) == 0) { json_t *ivGen_obj = json_object_get(json_info.json_test_group, IVGEN_JSON_STR); -- 2.25.1