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 800BFA0548; Sun, 31 Oct 2021 23:06:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A3DA4068E; Sun, 31 Oct 2021 23:06:39 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 2D98340689 for ; Sun, 31 Oct 2021 23:06:37 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10154"; a="230868929" X-IronPort-AV: E=Sophos;i="5.87,198,1631602800"; d="scan'208,217";a="230868929" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2021 15:06:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,198,1631602800"; d="scan'208,217";a="558206084" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 31 Oct 2021 15:06:35 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Sun, 31 Oct 2021 15:06:34 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Sun, 31 Oct 2021 15:06:34 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Sun, 31 Oct 2021 15:06:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CfNr0eJKMFCEQJRHCTAVMC6LRy7Uj7+k8q+OL65UO5sQQZrkgrv/0J6p96+2KBXRL4MZuDuIqDEBrL2SEc87IvrYhbt7eNV582rkGNwfW3dJ8PlftgElyb4eoqE/m40meKv8fFLMVzGbBogYfH8ghCPq/Y6assgwdggEAmj0Uvk4V6z6nOXslAhJJpHlxPsswBWekXujL44m2hwioQe91hIJX6fyF4oIj9RZleJtJfvdrJrZ+UQHokdbo4i3ooDY5MPzPwzjaUehHcDvzDdEuU/me5Y6Zz8TBnPDA5ZcfRJbrHuJi/+yRSxvVH/JyWpsdrZymOt/aj7HnCP52NoPvg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h2YGVoyhRjNkJjmNVaj/9+6Khj8a7rWvGsy+NxAT0I4=; b=N2BXf+amZU62HUA29mWeAM1snevGLqVJOlVaSsZNm9gdDDjSSfTMrtHBQ2oiRlUJje9/1GROgX0htZTaNeZS/TFDmIPmDASI/W60TgzAjO0UrYmq0NashoymTdIC5EqjVM7QatSXaFFbq7XxK8/mSvVnnSlRLmYNhMCObJrzmjxQDFrIV97rFBfdRW7Rq+omM3xqdgY764g2lVfokHca3xdY+a9HrMIUZibAkJjvWDWHmAZxKkc5H/S2vWsCTvIb+LWMH1DH1vFGfNZoIkfeGmShgtRXdhcp1waZsnWRfQSfngTTC5PJW+2aMVG0bWqJWkEn+T6NWRNwt1p7JqVUGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h2YGVoyhRjNkJjmNVaj/9+6Khj8a7rWvGsy+NxAT0I4=; b=cdw+gXrFavW76UEnVOo7N17B2V01jaziVZe7v/pNzFJj2nrcAXLGJMLsp6VBatl80IIY3SN+FMBBgGZfrVfnhDzM5vFpP44NI9VgBQQ0WqCBu4L2pLKeToy4hRccqY9UtSk0K5ZaZwYUu8M7poNkqRWV6T9mqVVXNe7HxhJ983g= Received: from DM8PR11MB5591.namprd11.prod.outlook.com (2603:10b6:8:38::23) by DM8PR11MB5574.namprd11.prod.outlook.com (2603:10b6:8:39::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Sun, 31 Oct 2021 22:06:33 +0000 Received: from DM8PR11MB5591.namprd11.prod.outlook.com ([fe80::3d47:b590:aa2a:d5cc]) by DM8PR11MB5591.namprd11.prod.outlook.com ([fe80::3d47:b590:aa2a:d5cc%9]) with mapi id 15.20.4649.019; Sun, 31 Oct 2021 22:06:33 +0000 From: "De Lara Guarch, Pablo" To: Vidya Sagar Velumuri , Ankur Dwivedi , Anoob Joseph , Tejasree Kondoj , Nithin Kumar Dabilpuram , Akhil Goyal , "Doherty, Declan" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for zuc 256 bit key Thread-Index: AQHXyw6iD/Bym0o7c0uxhCqKMVOOyqvp7OAQgAGLrjaAAjfz4A== Date: Sun, 31 Oct 2021 22:06:32 +0000 Message-ID: References: <20211027084053.5264-1-vvelumuri@marvell.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 80878b29-cefc-476e-a4e4-08d99cbab2ff x-ms-traffictypediagnostic: DM8PR11MB5574: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QzApQyoskrGw+GqD6qp1wa0KotTgpUORuXHebuDwlcu/cptHrbCHFnEB4jwSXfqaDDBtMOXHMLovrBBUy+bRnpwjjoqYiJj/poYsYAjEpKrAnCUtGb8d9de3dJsHGiZtdotsZ1idSrigOXp7BKNLVL4w9qbLLLJvkSgdwK+qrFSegVYqeZYQCUdPhjhQzxi6+vsEMEd0MfHlToZzQGpJkusr7JRH/RcBJPo5EoaGY9SxJ1kofJ6XxSis+6agUup8Zw4Df2lRT0TUrWteJGRQNQI0f/f2SJXWiPUoKZCcrJkTGYZpxgDNW6xi80V+PdibT92cs6fS6ZODpWSOl8yuLi8vmKZtdfFbUj58tOsHyG2Mx6O0kmU3wtyIWobFLK9w41qjRdQqV7SRtUQU5ltG/oaZckaa0kMOFoxjXAGAYElXzpiRRvXamMUYKByi1AIUqXCfGMRVPkc8FUrLTQ4Odr40BOlQgh7NMoI6gkaUzHUjpno2mTDZHwFqimtLcQqk02bXyg/G8TEekao/r19lEcLcCpMfoCcr6PfXAYqNgeYrrbYDiABegdUL6PjRMjYMcDS6VF+sAjsnCqjst1oIkkjgT6xNTfkXHOlst7wqMd7y4Ed/ncBIljuWv/s2j3DXxhibs5VETKDwtSeMJwycPF14+WmpDnRGsrMhSnMYIIxr2EHHK7XYjHydM7S76POIjLdyySsBT5OoTgv+/zlqKNXTN2aYxDOLwQ0thmpfEa84zGnkm/FuuoBgw+ZPPdeBLubci6sHsZOXnm4jlGULjSb9p9JWeoKk3GQkmdb+d50= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5591.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(6636002)(38100700002)(2906002)(55236004)(26005)(55016002)(7696005)(6506007)(966005)(5660300002)(4326008)(53546011)(38070700005)(508600001)(122000001)(66946007)(9686003)(110136005)(71200400001)(8676002)(86362001)(82960400001)(186003)(9326002)(316002)(33656002)(52536014)(8936002)(83380400001)(66476007)(66556008)(166002)(64756008)(66446008)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7vdslYKOEuBvC5If01383mglGhnBtKUEduqHI9YsFolKYvgvocikVpDFr/xa?= =?us-ascii?Q?W1SdlG4jmXi98Ch+qJREqBkNoWFOXSapEtFbhOxs9HyPjPqo9v5j4s84cZVk?= =?us-ascii?Q?naoPjUXm+XgYkhxNWYHoDfn4oxnLvOjxV11xQIB3B8VfSfyL3HShuMhJBpYB?= =?us-ascii?Q?FN+XfM2GQ2KoD+kGXL0V1H9fqqGn8O8D3x2TwmqcFO3VRZEOZR0XvY0nKrXe?= =?us-ascii?Q?GAkqLy1BAJe6cFbSqCA3u0D1Mg+USnhia9UXVKyslUFL2aFIhRcgN3MSC1BH?= =?us-ascii?Q?r2lDi0LBmwYukYfVbcIgU8zHq/+JJF0IDspSQJL0gyrMvfhOfAjrV4I0wENq?= =?us-ascii?Q?FUvgmbLQPRAfsClv88UpM8vkq9OjEsTG6pQMJXlCsrdHrCqDZDJfqnUMvouh?= =?us-ascii?Q?koWiWqdanjZYCpIvgk8Nw7u2GKNQOePI2SgLuO9dEOatRV2jLdf4GEnPbcLp?= =?us-ascii?Q?d1MrvPmQEFfoq1ReQvUn/zU84141he/LI57yN/JCJHE3WXVwXkvqBeVe2k9D?= =?us-ascii?Q?3/NCfVoZ3LeINlvVG35CiG3krR+9F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ilwm7UmHikdUlAyKLv9hkV4LuNu2fRCL13BnWS+savSquW3+tZLTyZtf?= =?us-ascii?Q?4QZzKnmttG8rifKgA/uh+LoxjM974323mvvromZum1CeFFPltylGjxuqcMgU?= =?us-ascii?Q?Vr94qXMMIZfoA83DbDSccae3BjO4bTEupY1GMMHeuUJ92S0MZVypuzYiWpSY?= =?us-ascii?Q?kHeNYh07I1QrlVReLbp61ZtPdFGBE7eePV7Uf060IHVUs+LeOBBKqvMSqpKf?= =?us-ascii?Q?4Ozmkw=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR11MB5591.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80878b29-cefc-476e-a4e4-08d99cbab2ff X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2021 22:06:32.9469 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: f/EKD7xMjDipeNCkh3Td5AOORMgeq7IxAx5I/SXiyUvo1xCZGYzMkvTjbRLq02RHkqoLAUJQXeUbPlpU8dlMCsReZoETrsJYV+AfrlpnB10= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR11MB5574 X-OriginatorOrg: intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for zuc 256 bit key 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 Sender: "dev" Hi Sagar, Thanks for flagging this. I submitted a patch fixing the IV of the test vec= tors I pushed (it didn't change the output): http://patches.dpdk.org/project/dpdk/patch/20211031220421.52181-1-pablo.de.= lara.guarch@intel.com/ Could you check if they work for you? Thanks, Pablo From: Vidya Sagar Velumuri Sent: Saturday, October 30, 2021 1:26 PM To: De Lara Guarch, Pablo ; Ankur Dwivedi <= adwivedi@marvell.com>; Anoob Joseph ; Tejasree Kondoj <= ktejasree@marvell.com>; Nithin Kumar Dabilpuram ; = Akhil Goyal ; Doherty, Declan Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for zuc 2= 56 bit key Hi Pablo, Tried the test vector zuc256_test_case_auth_1 and the digest did not match = with the generated digest in our platform. As per spec, IV[i] for i =3D 17 to=14 24 are 6-bit string occupying the 6 l= east signi cant bits of a byte. But in the vectors, The values in the IV(byte -17 to 24) are > 0x3f. Could you please elaborate how these bytes are considered for generation of= digest. Regards Sagar ________________________________ From: De Lara Guarch, Pablo > Sent: 29 October 2021 18:07 To: Vidya Sagar Velumuri >; Ankur Dwivedi >; Ano= ob Joseph >; Tejasree Kondoj = >; Nithin Kumar Dabilpu= ram >; Akhil Goyal = >; Doherty, Declan > Cc: dev@dpdk.org > Subject: [EXT] RE: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for= zuc 256 bit key External Email ---------------------------------------------------------------------- Hi Vidya, > -----Original Message----- > From: dev > On Behalf O= f Vidya Sagar Velumuri > Sent: Wednesday, October 27, 2021 9:41 AM > To: adwivedi@marvell.com; anoobj@marvell.com= ; ktejasree@marvell.com; > ndabilpuram@marvell.com; gakhil@marvell.c= om; Doherty, Declan > > > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for zuc 256= bit key > > Fix the IV and MAC in the test vectors added for zuc 256-bit key > > Fixes: fa5bf9345d4e (test/crypto: add ZUC cases with 256-bit keys) > > Signed-off-by: Vidya Sagar Velumuri > The new vectors are failing for us. Could you check if the ones we added wo= rk for you? Thanks, Pablo