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 B0EACA0C4B; Sat, 30 Oct 2021 14:26:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 39E3A40DDD; Sat, 30 Oct 2021 14:26:04 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 08D4B40DDB for ; Sat, 30 Oct 2021 14:26:02 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 19UBrAR0023957; Sat, 30 Oct 2021 05:26:02 -0700 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2171.outbound.protection.outlook.com [104.47.58.171]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3c15jk829y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 30 Oct 2021 05:26:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lH6PGmYOh/vmvcnmUC62Z2P6CDMclkvmsNOHZO891h/dR7PiYOOUMaDpRIGUXQ9MBE/6xnIz7RHWRsRsWHGxwvtCT3pvCBsp/i6rYJt2eGnWVSsCJGJhhCnvaOozmqfLZ9B/TKVfqpiBfSXp4qMv15HRSC9LfJ0RvAklqaeLv0uL0pQauswfk/q792BwiG+d+1d5tsIMoMnDT55AAic26IrhYz/b33OtxBPZgsBDKSdIcTkjRNpcCZR0uNWJMdx7312FpXtrbOkIoH56NaBiUqD82cMM2SnbcTpEwaU7FNzcK/JyiPklqEC0r49sEYr+EhFFTgh7MRdnpTS7OQIYOw== 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=gEeYZNTVV+H70neM1laQbQcnLBQio98Ai39frMstnlg=; b=krQGdhIAEs9U1cRJ6h/OCx4FoNCCvqbdAEzWImoQlMJxRWxyY3MSibYat5HfUCHl+0Ok9YfiGD4EWO0lmAHXLmofdk0VvhkjqY7g2z/QLI6Xkx+TzLhY6PK60ePw/omU/NdHJQZtG/sar1K3nUpKEj7q6WB0oq37Lb/hBFrfe9rvNpbPT+sqaJdsWFAmGN3H9UDSn7R3SEjuFp2fntTwHBIzj/euIosBCLxWW9AVZl/n3wRSX9GHcWb3Bi5jj+Z17sEqpiEXlpXFlj59uTXIVNEQiEXMKBscur1tsm+4/M9ti/pyac+CSLH5oMgRS3QwxSBpVBnqV+vnk8Npj5XSnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gEeYZNTVV+H70neM1laQbQcnLBQio98Ai39frMstnlg=; b=QW4YU0JnfL7Brwpu/1I1JzYNlsU9HwCs5hGjE+ZfsoqlmPxHsRgGkEPIy3+L1fNNL+NP65NYfanOHrQhW+nR4mNapLp/bjXV3kwrYLdmgbUX2ELT5/uJf4FuZe2Pt60x+L3+DjNzbTzbfYrsZocA+vCSpAqwl30ELxbTloiy6O0= Received: from BY3PR18MB4628.namprd18.prod.outlook.com (2603:10b6:a03:3c3::13) by BY3PR18MB4721.namprd18.prod.outlook.com (2603:10b6:a03:3c8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13; Sat, 30 Oct 2021 12:25:53 +0000 Received: from BY3PR18MB4628.namprd18.prod.outlook.com ([fe80::a96d:f9c1:dea2:f72e]) by BY3PR18MB4628.namprd18.prod.outlook.com ([fe80::a96d:f9c1:dea2:f72e%5]) with mapi id 15.20.4649.018; Sat, 30 Oct 2021 12:25:53 +0000 From: Vidya Sagar Velumuri To: "De Lara Guarch, Pablo" , 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/Bym0o7c0uxhCqKMVOOyqvp7OAQgAGLrjY= Date: Sat, 30 Oct 2021 12:25:53 +0000 Message-ID: References: <20211027084053.5264-1-vvelumuri@marvell.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 6ac96a2c-42f1-52ba-89be-e603e5df08dc x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d2d30bb2-eb30-41d8-b3fc-08d99ba06aac x-ms-traffictypediagnostic: BY3PR18MB4721: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jGmRJEShbRj6L+1lo2gecb3KfUPZVpxay/eDammfx8zPZylpG6Og9cBtaxys5HI2zA/WIAI0AzksKnMEqzaMsRPuOTLzJ90wOb1WVR3Z3ueE7eVfA7Suh4nS8epEXCKzdM1DaAWqEq3JWQQtoN30UsAZwZ46pQStQzHlfW3YIhXYuWQuhKkMLrIoHj5sIkPt2Dp3vigX0J6aYX+A4YGKnc0d3Lj7utTJB9l0Op2p0zSXtddEVhryWejE8Yv6Wf5NFTkhTD3F3cAoO8w4xR2sTWb2qZEplAEk3kMuFYQW23/pDgEp6llkSXxTpvdAudmAngSDwM/hfdLml22k3RKw+IlF0kgUAzi9ACedYq7QqCC/6hh6PB1hlt1bPntKkzBp9IYTdJnI6QXmY2hBJs+6ptQxEo7E0WvLxzMqWOuVv9t5OBguhNtX/fbah1FwhU6H6ArMeWHkH7DCIJksJPrM8Q8Oyn02bAL3av1NXbn/+vfygcbL5zGQYvDGQater8JeBmyrxjGZt3sttBsa/JSjF3iSpRMq7EnQi5r7cSf4A8LyJdShnDPN2SUBhaRnSuoroS/sbYo0Zm3CFrY3pTaZJLoHW/fc05D0wwTQjVKgNdhcv6amGVcrvs0H8VO9Pf/8YXl1gDlwkZnUT13/LQFpWH3IA4nTwpNPO6IAfQC9XtcQRsyJxIax076CK18xmbOjuWgaeSoBCBSKd0aRRhubIQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY3PR18MB4628.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(122000001)(71200400001)(86362001)(53546011)(6506007)(508600001)(7696005)(83380400001)(8936002)(186003)(19627405001)(38100700002)(9686003)(38070700005)(4326008)(66476007)(66946007)(316002)(8676002)(52536014)(33656002)(66446008)(110136005)(66556008)(64756008)(55016002)(2906002)(76116006)(5660300002)(91956017)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?BzOPb71heW7o/N3jI6LKwhMXdMykLuVGN97x3I2cm4aCBeeIS5P5wfYnkD?= =?iso-8859-1?Q?HesxAXAyFkVbc8XRdvyYnOCH8fhJ9uJEfHmYJKz8p0dQ2Gx+r0YqiXfj1r?= =?iso-8859-1?Q?hUxq5KtJZcIg9uvcOiyu3bvIpV45DWNGqFfekrqUnKKoeB8dOuHdMpjZoo?= =?iso-8859-1?Q?zHczy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5PuWVy3M5w5M0cxe?= =?iso-8859-1?Q?q3nVi/vgkhqsbXEzPZGUXjf6hK+Ws2ifapAvbKUhDwhTkhxnpC6/Bbw3Ro?= =?iso-8859-1?Q?vD3o8fnr5vuo56yPDzfQCTScBRwwdHx2ly4SSgMhXevEAjDEhKI9HxZ4D6?= =?iso-8859-1?Q?ECbFrW1Tzzqar4SCGKqZyqXTDBzt6UY/pVaamubKgYNLRgeh15z2BM7S1K?= =?iso-8859-1?Q?tpbzV7CIxdvJbOwDVEsX+xLqR7BrF9cUsO8DGx/0aFe+SN5rUQbPRT5UKd?= =?iso-8859-1?Q?VChiAvnZZumRwhUBddXMkk5DXAeraQKaH0KsxYxtYYZRPqsyAXqtUrF5c6?= =?iso-8859-1?Q?DNl3s1Cx7uKmiVlOs2t5A+wr+GMuZU04KGp6losw+5QEK3cETs4q3Yt81U?= =?iso-8859-1?Q?AaEpRYM4I21p8indjKmMa2Q4aVEI3DKNktJaCuiiGp0lAOpxGdpNtXW0ME?= =?iso-8859-1?Q?1mj5E95Bm9Q9kgwLLp2rzF5Qwyk2HvwfJgXVyK8AsxMOR1QgxdGHGjFyef?= =?iso-8859-1?Q?k5nE0eCwXY1y5L9+lGttE8S7XoTAdF3m2dmr4Eo20cw+fpmS7QCOtJZ2tv?= =?iso-8859-1?Q?NfHuMEd+V67hsDSIIJv640bLqIv5YvKuLXQLV9z1Mrd1JTGpLn9qbfvg?= =?iso-8859-1?Q?=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY3PR18MB4628.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2d30bb2-eb30-41d8-b3fc-08d99ba06aac X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Oct 2021 12:25:53.3494 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JQrNIKrqgE/utgeNd3kOB6UTKvttko5lZExdb0kQeVW+U4C3aaucdzCcghOmQh+CjWCYjXSYkzqbP/xdqnpwYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR18MB4721 X-Proofpoint-GUID: 1bp6M8eWc10ZCklslkfk_6CKsMH283pT X-Proofpoint-ORIG-GUID: 1bp6M8eWc10ZCklslkfk_6CKsMH283pT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-30_02,2021-10-29_01,2020-04-07_01 Content-Type: text/plain; charset="iso-8859-1" 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 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 ; Anoob Joseph ; Tejasree Kondoj ; Nithin Kumar Dabilpuram ; Akhil Goya= l ; 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 Of 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.com; 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