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 68F24A0C57; Mon, 1 Nov 2021 11:23:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE44140E28; Mon, 1 Nov 2021 11:23:28 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id E30E940DF6 for ; Mon, 1 Nov 2021 11:23:27 +0100 (CET) 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 1A19PNIA006846; Mon, 1 Nov 2021 03:23:27 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2174.outbound.protection.outlook.com [104.47.57.174]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3c25c49wkm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 01 Nov 2021 03:23:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TG0oX403a8MLoTzy0W0ax2lPSLHj4XQxf48d5B9AuRn574vm2REoUrm9DsAtXJb2Bv0BculcuDzE7pOdAku/Cqz+QIlwwu42K5Mb4MhlrQDwbjJMmwpseueVAWfRYn8uW/Aa9Yg3MbUbHlZb0uqnO8k+gJttW29Xh0a2i/Ps3lgU2xR0C0VS0eEyKZWCLKPpW9WaZDJ/aY7luD//DhMaonBggh1GZnyQxXmBnKIwfAjQzD4UrEaHRZVLruYdFpQzHkR3/L6dnGjGh8uAEzNaP5kBn9UqCgpw0FRtXK5mDkzw230PsScNhphxZ9oHryqlof6llN7fAK2Lzl1wAa4Kcg== 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=5VXzk2qen8OC5Ss1bpKnXtS0v32oodNlpHXo5OpP0LY=; b=csHZsaoYLPALBwDRFQNOc+BM+TAln0LXoQmWO2HZYl5MaMACv7yPSD3FHoCPpZ6u1VPwov+qjnMcVb41npoxtI3qoRm4zTgb+ACT+tTjJeVjN8BxRBhQs5ACYIBhVb/dl9qzR5R5dh9Ph+WmrQfuSuHi2DN6GdEYRY0hKgPi8qlFlrVhLiBXU4dxe3n7yM6sKsfBjbN6ksDx/k53ocrv1pSgTAnxl/yujL2z2dLisp7VFvTDG70CEssR+ys4EW6UNMuz/m8K9Ex//oSENXS1PtZAiSS8hbcW9ZamHnqT7LsTNwYA9Fw1pooMPT+nwEVg5H738vcLuoCvZEs6l4jpUQ== 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=5VXzk2qen8OC5Ss1bpKnXtS0v32oodNlpHXo5OpP0LY=; b=tr5ckaIXqcVT15Cgk27dsPrhtgRam9p7znw1iYc4l0NxNwfPXQImNGR6lSZMJrWauEcfaSoWDDBPmEsTzBZnVa/xPoYPuQsMfDTSamHvvnqYqg5uWid0KognvZh8zFtI9iK46E508g7oCcTYiyFrKY64Pv6fwrV9SvECZJSKzbo= Received: from BY3PR18MB4628.namprd18.prod.outlook.com (2603:10b6:a03:3c3::13) by SJ0PR18MB5000.namprd18.prod.outlook.com (2603:10b6:a03:3eb::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17; Mon, 1 Nov 2021 10:23:25 +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.019; Mon, 1 Nov 2021 10:23:25 +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/Bym0o7c0uxhCqKMVOOyqvp7OAQgAGLrjaAAjfz4IAAzhJC Date: Mon, 1 Nov 2021 10:23:25 +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: e7f7d31c-dfb4-caf1-b31b-60fa977f1836 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6bb25e58-da2c-4cd9-4ba2-08d99d21a3a3 x-ms-traffictypediagnostic: SJ0PR18MB5000: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ibZBFyg+QinK8Oxpdtn6ScK6a+zIFchdTsNfdBhVe7RH3sg1HanV0xB0euvZ0dIPYiZ4OGJGh2dmer/Pku7SMTVbbi41+/db+0TS0I6Wkj25mbKzY17fGn7xEtsD8USnYgo+4CPAEmGtWN4HKO8Qu6RNUiBfK2fYKh8m4nNyOYqU8ZIBt4dQYTF6jVloUk/eL2ibukTHUh0ERHguzYElkc37lSYLLAJzbBhOqsDQGytFXjYzlszqNQllAKOBOvGskiAUghITRmzmDn2pKnYiLnlrOsBCauecQQ0kwxovVQ/ohACfWtIaGn+ZeI44I9OVHki7duxMUTOqzR55WbExdkEucGuAlEcWY4PPmYMy0m49e/OTcVl5zhxRiNNK3hTq8iFiWCzsJebCHRVcm4FVvvFIhf2HnWn0AfOMLaeafz5iL2X1UW2oPGQrcnweptSPKu4wNPFv096Xi2zBYEqoXrxPhA0BxA3CWrbvm9/owt7+BlqwxCiicpXGM1xBoyDtkaBk27uvO3OS4/LK0P+qtU3O2SzVrpBVLbq02IkHyurmU03Um5FuPnvXe1lOn4eWjnqBMR7S1CHGBlXHdZPzHIfoYESCCjSucDTr93+QDUZMBbOQ8kAr4CyDG7DBr+8bKOg63SIbKw2hDyoXpeVaH1EBrgom9W8BRcYUSq+3C3Gyn9iuXajUSnveWKW1+fsUME4dTNf3DpWBg6E14BcrRtwtYzkuSIogCH0L56jgK+73nglrxlKvbtrMqG1B4Lc9Ca+iqvwqyswZRo3AY87jky1os/XVDmj+a5AnQJkPcI8= 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)(966005)(508600001)(38100700002)(122000001)(38070700005)(91956017)(71200400001)(86362001)(186003)(19627405001)(33656002)(66946007)(26005)(76116006)(66446008)(64756008)(55016002)(52536014)(5660300002)(9686003)(66476007)(66556008)(4326008)(19627235002)(6506007)(53546011)(8676002)(316002)(110136005)(2906002)(8936002)(83380400001)(7696005)(166002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?HNhi0SH36ypUfNKgpoL5obfwT2vpkE/yKshW99p2lNX4M7aCpOFZWd+u?= =?Windows-1252?Q?T+JgN+/Fv5mHRX0BFgJh6jGbUiZk4D6gv3ro1NMCRNqEqNtj8VVDEDBe?= =?Windows-1252?Q?LQvG5Rl5gUzyYtXApGTnWfg+2aHQBodbHMwhBkN1cnaE3mGUCfStjrGO?= =?Windows-1252?Q?9wC6IDL4wQHEdepj+frChhluOoaa3GD1it1K9yUw/4bSIM8hIvG3zBaG?= =?Windows-1252?Q?GlNx59RoQP9EgmlBsV6G4vdQmsoamrRn9Qh83knQzpGbD9cozKRHkwdb?= =?Windows-1252?Q?OIFHrmuOpQBai8y/YSKUk6/CXjQMZ5Zt/hmymc9l+hKgJE9O/v6fJ3nO?= =?Windows-1252?Q?3W79lhGzJOxhrEMTbch74GZxOd5xk5GvW7fBW2QW2wplBlHtkmQeywl8?= =?Windows-1252?Q?OYSn1edqJJMA3DLdqWyEnZxPbyantofVkp3oQIU+Q8wAboIajiviSkIG?= =?Windows-1252?Q?hCHnBCigYr5HtRF/Bpcw371DdL6zneqecwWQyKSHPytmyr5xN9wQeyPG?= =?Windows-1252?Q?/hZ+c0KsKzljCR4iG2m02wrPyKdd8CeYNsDlneCSpwreKX84xmyl2qBy?= =?Windows-1252?Q?LXNCuAmhF93y1y02OqA9FuVe7wYQ4ILQt9gJRG9cezJ6cVe4qHXrigz5?= =?Windows-1252?Q?gbfkurcZd1c7kQ8Nj/zOmi2wMLLJeUK0vrQ+81SwsrNo7J7HljJL/2Wa?= =?Windows-1252?Q?n8uZvbShsA3KWd2D0XVl1hV6fbMBaB6SPouYWKf1SPCQgs6CLiIHcV5E?= =?Windows-1252?Q?YueoChZRpNl6y99gIYViKbS1UyScSZ2ny4IvEf/2liDmaxufR/5yUG9V?= =?Windows-1252?Q?sjtjbENSDlR3Q1Z/SiqZhJymYp/cFIi6ev9q8exdMF7/U0GmMjHXrMk4?= =?Windows-1252?Q?WJ6t8F3yQv5rQFZHZ2t1J9oLMkWjCiGTTyqKlee1uFAWwpFsgmcZu6EI?= =?Windows-1252?Q?lxWZE66F64cF24LOKcc7CWKkk6RMGz9c8dqNYYMwFSKLfq85PJRaizZc?= =?Windows-1252?Q?YUzoFfJiwRT4kIN5qGOMT/+QnYkOaulS6zzbAmHUDGN2Izn7OaK26aA+?= =?Windows-1252?Q?itlMYeHdcjkW0ZAJkNc04hksQc6vYuwWlOXQ130qxFvRy+u3wAbyy7IE?= =?Windows-1252?Q?eBvNSXf6XNhDcOWzDxVlfJCpUFWoqkF4jXRD/C/CFMQo3yOG4uTxDmkx?= =?Windows-1252?Q?inykGpfcxGfbVvMnIamHmB21D9hFuyX1uhjoPwG0f4HGhjTNK8iHSSz8?= =?Windows-1252?Q?U1cVYiXP6VPr+6jNlQSnhtk7p6/ci4LI/sEm3nqlJg+WgN6rdaGIAExN?= =?Windows-1252?Q?dna8XsvQygmOBE/i5zgKVNxadD/FtQIwQnK8DN/kYTCEWymYrYtx8skI?= =?Windows-1252?Q?05yJyQrxPyfzeCkDlBOPE3RsPZcfxi90gZGXXyfwgjyS/m3V76bEiqxj?= =?Windows-1252?Q?lW6YETb3gGOxteVt+1ETtAtflWnuXsasjs6nb73uHWrvOAOxVNennBRt?= =?Windows-1252?Q?itUmlG/SIn/Sv87NTpY9sr2JslX5xrqRPa+0HYyDLQ/dMAx3UJYzjDvb?= =?Windows-1252?Q?ytLuSx+zcPZcOslTYRzTfy3aR7oOcZDoLg+RY4q19DAampj0/qv7T3F4?= =?Windows-1252?Q?VKvmJtQIoZsXkPU60Z4iPv4FYHz9WqBpWYyJZ601oslPlbfAjEq3oKh6?= =?Windows-1252?Q?8Q9MyncSNnh29HrqAbTXah3eWrh69yve6/jEKlMypPtgEh1KpzVaFw?= =?Windows-1252?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: 6bb25e58-da2c-4cd9-4ba2-08d99d21a3a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2021 10:23:25.2046 (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: Dlr6qGPuuUh26AGwHuawjal5DngzcjkPI8H4+HCgQdDxIEMVl3maSy9/QFE3a7nj1vClK7Ikz/tMKnYsSnYejg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB5000 X-Proofpoint-ORIG-GUID: Ls-2CLKDBX_sGYgvEKqt_gvoaSfFMuAn X-Proofpoint-GUID: Ls-2CLKDBX_sGYgvEKqt_gvoaSfFMuAn 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-11-01_04,2021-11-01_01,2020-04-07_01 Content-Type: text/plain; charset="Windows-1252" 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, Verified with updated test vector. the output did not change from previous= output but also, it did not match the ouput present in the vector. Regards Sagar ________________________________ From: De Lara Guarch, Pablo Sent: 01 November 2021 03:36 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 Sagar, Thanks for flagging this. I submitted a patch fixing the IV of the test vec= tors I pushed (it didn=92t 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