From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B6991A04F1; Mon, 6 Jan 2020 10:38:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E725C1D604; Mon, 6 Jan 2020 10:38:40 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2058.outbound.protection.outlook.com [40.107.20.58]) by dpdk.org (Postfix) with ESMTP id E92651D603; Mon, 6 Jan 2020 10:38:39 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G1zZ1Qcu8a8DUm+HBtaLpGMpx65YFCn2fKN0yVzC6c/RbrkMsEj4ItnL1rKrwMNt1xPTYBiA7jkbd5EGwaH3I3DDgCkEyvkTjT0YAVKH3Fw0F/9/T5kkRYHpVZ1smlKGza6AtQIUp81hxwC8yEoZ91tQchViB4ukxp9WgPB4IywQHT+whAu8xzqpdxCtD5gggxUoHwgSETlHaoA/7KAFABHO9iWslEWlLzWoF9VX6TEIRV5jynXExvm2t0ESYr70UrbGkZ5+306DhnSsV0nZzOZrLec6+ar8GovOBUN9OkAwyCzZNziEaQkhSi1r8g9btK7aVSny5YT4s+0ITXFjCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QIGy9d/sjHdZkXlcn/38jA2WyuhijWiOVkFHk3hvtpQ=; b=VRICKIZxQFv8kIfZS0YQHxB4xaLIz/1/C8bYpkMjCY4vCNnz5dzCuRRUZCLPPUBVH1FhWvEyNMfhgRtRLMrsCS7W+aP2VJmg/1jgrQIpFcCunDvpfPhEY+fM5pZgvCwUzScJZE0G7uAofyBT3fKOJLKmgMwkSgczG4HK+qCy5Fa1cQ/MCaP0xo74uKg5VhnEikdf1UVmgRI+IPKlspKST/sC00B3Q2xjQIObaowhhfZrACXzjKg7kmqrIubRrZ4xZo+exFeakv4gYZKhzTznxc/iq5wdkvYIQbr7F2cyJJVHwErbvUQEztxLTM+/jgWpJOIZZcjmS8rqzXBQEjOmGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QIGy9d/sjHdZkXlcn/38jA2WyuhijWiOVkFHk3hvtpQ=; b=nh8Ff0KLASfM6VdQAoFpOZWhAr7YoC3juhbIYK8ODKGRzl0AmbITn01iv3FV14QeXqO4mXXLnNCaNracGSjyl9BLxbO4mHrvP4ohXrQuHwHutZ/Wog9A2dHAIedC6DHRztdlaZTZ9RLdOV+HblRlmqwk5gUFnNOoIeSGmmuMZBI= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6703.eurprd04.prod.outlook.com (10.255.118.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.13; Mon, 6 Jan 2020 09:38:38 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1%7]) with mapi id 15.20.2602.015; Mon, 6 Jan 2020 09:38:38 +0000 From: Akhil Goyal To: Archana Muniganti , "marko.kovacevic@intel.com" , "roy.fan.zhang@intel.com" CC: Sucharitha Sarananaga , "anoobj@marvell.com" , "akamaluddin@marvell.com" , "jerinj@marvell.com" , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] examples/fips_validation: fix parsing of cipher length for AES-GCM Thread-Index: AQHVxHSTDxHnzLPlMEieaprceBOng6fdYRQA Date: Mon, 6 Jan 2020 09:38:38 +0000 Message-ID: References: <1578303191-24846-1-git-send-email-marchana@marvell.com> In-Reply-To: <1578303191-24846-1-git-send-email-marchana@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 380515b7-726c-460f-5fec-08d7928c357c x-ms-traffictypediagnostic: VE1PR04MB6703: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1468; x-forefront-prvs: 0274272F87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(346002)(376002)(366004)(39860400002)(189003)(199004)(7696005)(66946007)(186003)(66556008)(44832011)(52536014)(6506007)(4326008)(66446008)(64756008)(4744005)(9686003)(478600001)(66476007)(55016002)(71200400001)(26005)(33656002)(8676002)(86362001)(54906003)(8936002)(76116006)(2906002)(5660300002)(316002)(81166006)(81156014)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6703; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oYHvT2xy2yqZBmPvAk7Its8/MuOAKpsfRdkNRItEm9fmwGAqnVCx+3z/8B6c+VjRlEWgBkWYmX3qXUTw31gA8Ub5fHzGij1e2GmE6Ljd5k0A87t4jSHf7RBFZmG4mlTodXzF9KjIRptvODw2w5Mjao3/PKn8dNdtLA6UOJ6VosY3ch6SYcZY1plIIzm01D8eSnM9H7QXpjSL90rk+kvINHk5ZYtOrkVI1EyVjFs71ldM/KUVij4gfKaxUvGDXcU+3w+UYYSlc1AvR/DKpm5VCx9myXJN94dJJcmgtsg+5JOr6fWymYzc1Bbf8mBGqbl2CnZlBRBms8DDgUEqMTvJC/e1QAAnBKvbv1xZx5u/sHGCk7ZXd0z5b/VuYDi/SK2bi/RdyHw3MgyORqliot0XjpRW1XRiC1VH1rXEeztQK7Kyooo/sGgb1+i8JsKCCpp0 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 380515b7-726c-460f-5fec-08d7928c357c X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2020 09:38:38.4485 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: J72az7FUKVm5RJoLvJrpVcX8qx/bzxzbmUeHEZZDc3gJrGWBQYYbp80/NJyiAmfum9beDrVKpa4VJMybFSetHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6703 Subject: Re: [dpdk-dev] [PATCH] examples/fips_validation: fix parsing of cipher length for AES-GCM X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > From: Sucharitha Sarananaga >=20 > Cipher length need to be updated in case of AES-GCM decryption. >=20 > Fixes: 4aaad2995e13 ("examples/fips_validation: support GCM parsing") >=20 > Signed-off-by: Archana Muniganti > Signed-off-by: Sucharitha Sarananaga > --- > examples/fips_validation/fips_validation_gcm.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/examples/fips_validation/fips_validation_gcm.c > b/examples/fips_validation/fips_validation_gcm.c > index ea48ddf..f295025 100644 > --- a/examples/fips_validation/fips_validation_gcm.c > +++ b/examples/fips_validation/fips_validation_gcm.c > @@ -19,6 +19,7 @@ > #define PTLEN_STR "PTlen =3D " > #define AADLEN_STR "AADlen =3D " > #define TAGLEN_STR "Taglen =3D " > +#define CTLEN_STR "PTlen =3D " Typo. Should be CTlen