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 4D6A7A0C53; Wed, 3 Nov 2021 10:28:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18A0040F35; Wed, 3 Nov 2021 10:28:17 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id A44D640E5A for ; Wed, 3 Nov 2021 10:28:15 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10156"; a="230181520" X-IronPort-AV: E=Sophos;i="5.87,205,1631602800"; d="scan'208";a="230181520" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2021 02:28:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,205,1631602800"; d="scan'208";a="489471914" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga007.jf.intel.com with ESMTP; 03 Nov 2021 02:28:14 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 3 Nov 2021 02:28:13 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 3 Nov 2021 02:28:13 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 3 Nov 2021 02:28:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B3VYG5nNxuxL9ENyYPsRqv9ww3XJu4xbC47Gmv45oQWGNbWnk+TWN+e+K12hfKG6/zBn2+FULB/FLKLNWsZ0pG4Ys2lUiIDnR7SnY3HCvedvBb790qG7cXuUWid4uMnLLVgmhv3QZi09VOaL8IfWtoNbLZeUvEyOAFKHmW1goStmlsyJ0W02CKZ3gM/RopyqB7hTTdFZExK8ROwbgoP2X6b6WnFtCEobokeHHw/s4Mn6Qr1a0T5s9F6TZl2wzpuZow/kpmmez6Hsw2+cEQcmK5AvRXS2mh5VyNKIhOIeQdv4KmMSwDmnYjlPmIx9D8zmFRF2faqIbbh1IsKDNkxaug== 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=rLEoBTJpgKFoi6gkYL+9tkzxsLrlGqmhtVvd2ZsTewE=; b=jcG8q5Fs/E2wzvEg9D6lSvcnIbqR6wpFFcx5pVHti5d6b5D0m9mpxyS75KhyjhEatPljV8ws07aSMnJVhtoa4WdpiY4tPMSe1TX7/CGJNLKzpWT34VQ5wWyaS85I4mGhGw/KTssQzGS3WixlwtIKHnQZUtpNhcESfDOaqhOKbvuXpcuw2gg1jOx84vInHbY/Ee3L5uoprzrXWVC4KK7xQxkS6+k0O/yS+bJI6SXw+jBz3yekcDcWO61LiZMxc7AldIRdu7ieBJl3SxSZ1z3BO99gGarbg+mzKOmN5MuT1AnQj7TDi9SrDzFhTU/oBZIoet+XgMsbbyt7KGpkN+2Aqw== 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=rLEoBTJpgKFoi6gkYL+9tkzxsLrlGqmhtVvd2ZsTewE=; b=PyzTPIq/t5J/I0cCU6sWHmMC+GXONL8DtnE/Dsc98aQy+drdBuGmdgUVE6eY7ILcJMOT9/13HYouO/xHiIcqQHKkMPC26ZGLcbOf/s7DGiaACJRLukz7AGq9gD3TFv0AxXQKfhZhVx+be9LZfeIJ46DJ94vo7P7mpYp568x5xF4= Received: from DM8PR11MB5591.namprd11.prod.outlook.com (2603:10b6:8:38::23) by DM8PR11MB5656.namprd11.prod.outlook.com (2603:10b6:8:38::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13; Wed, 3 Nov 2021 09:28:12 +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.4669.010; Wed, 3 Nov 2021 09:28:12 +0000 From: "De Lara Guarch, Pablo" To: Vidya Sagar Velumuri , "adwivedi@marvell.com" , "anoobj@marvell.com" , "ktejasree@marvell.com" , "ndabilpuram@marvell.com" , "gakhil@marvell.com" , "Zhang, Roy Fan" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] test/crypto: fix: test vectors for zuc 256 bit key Thread-Index: AQHX0H/U7e6J1dHsx0Cgy7oO8Ox7KavxhWpA Date: Wed, 3 Nov 2021 09:28:12 +0000 Message-ID: References: <20211027084053.5264-1-vvelumuri@marvell.com> <20211103065506.2690-1-vvelumuri@marvell.com> In-Reply-To: <20211103065506.2690-1-vvelumuri@marvell.com> 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: ecaf2324-48dc-4cff-5083-08d99eac41fe x-ms-traffictypediagnostic: DM8PR11MB5656: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2733; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: p/CycHSI3BLrx8dRp3WTCUUE8RzBxLLmQpH+ykECgI9KQQLBm2JlWtRnYK5+kW16rZtuq2BSCGM4n7x1czy61y5gaSxkXYlqFMkZu+MBXxZhYKwcsgZNRmB0m9xBh9mn3oFNCEV4+Mt9N9+BWDqRedo5M4BQRJjQOfivawVgQXEBS8QyThYzgwG+Tk0wD5eUICdVS/+ug3OlbfR9ZAQzJsqwaxD620qBEkkB4XYy2M1qC8NQVKJqhjLWc1uIUSmUTlaFw7DgaPLWyK2USaFER5rP4TMrAjsxJCjom5FZ5YOXKw0/0ZCTjyGunuV72eprVH/0IOP0wE5wE73zZBk0jLsMRGfzJAlbD/eSsYtm7d7MPUaAKfb9bATOILrwzWFUrdhTcwr15rVa6sydELihn/0BFq4/5kpaLlj217TJ80M60si9MtRtiWgD8Zd4HypzUfpKd3DeZOoHievVq6PLpMkjivRcpdvqIJ4N6jxPTg92rTNkslV8yZXnbVvO+qFRhSJ/SLXufhxK5ZxOQ+hpmI2GydpfH6vfIYLp5ebz1JtK0KYuMcvzucLLuD2ICITAVMDR/EJcnadaNQDqSdVEV+/iWjl94F41QHJ2tabLYqjRDphEUWdnmK2jdbleg6ZYcLiHiFlih085Al2ITNtSbh8+B3VA79yvR8yQ1V5WKfVOCyThh678UxLqMLYvc09w8OBvswuuxirPIDTdgrbFjw== 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)(9686003)(55016002)(316002)(5660300002)(86362001)(7696005)(82960400001)(33656002)(8936002)(110136005)(4326008)(71200400001)(122000001)(38070700005)(26005)(4744005)(38100700002)(186003)(76116006)(52536014)(64756008)(66446008)(83380400001)(66556008)(66476007)(2906002)(508600001)(8676002)(66946007)(6506007)(53546011)(6636002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?StopQOFVK7n2qzn0or3L/it7Wmu+emUPoQji2GloryHJB3FbfOAU+HwcnFaV?= =?us-ascii?Q?pJNoCdXmchdLUJdPgCXd2KqP03jdrL1jo0VOjWi4gg1bhWhF3hyl10pTbFNX?= =?us-ascii?Q?vGi6+3BkbJYHqzWEftlWNSf/FaGpV8t2bvbUcIuNh9m4pLecUGdpubneHEMr?= =?us-ascii?Q?5fDe41JzcBsRWnhOzWtvFiDGeD5dAVTme2Skgvvmmx3gTBkNH4utYHrfpddq?= =?us-ascii?Q?JmPISGphfnmSrTkKUyCdBoaJr+ZhWbLzO/x+/f3lnkd47NsPJj0MMOsGVjtg?= =?us-ascii?Q?1KltBJrSu4YRwi4L2izGPp9iVLxXFB/Z0rybdbHB/wkR56QQtVzgmXGd3Z67?= =?us-ascii?Q?qo2upxQwi/vWxsOLbW/Xl/emWLMNLO4jrFXxBQqbEvn7zuB2cf3ldprAToyw?= =?us-ascii?Q?eGZHISAUIZR62oBAc7wxa1OTiFau8dxzdhy44EAWpgBb2dPsJhBTzRvTWN+z?= =?us-ascii?Q?uiNjSW+NvCVufvGhKEbQ+nlDpeuFUPX5+66HbqGHdsGbDIPLcjMBWFxlOGIj?= =?us-ascii?Q?X+8CVe4viIT+T2/zdxYYC/zIw0UQx6vXUFIPRCXDA467Xt3B/iu7/kDS7W44?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dAJ1zHvTI7PgqaTfmtn4eXzOc9dE153q?= =?us-ascii?Q?n87R/qEsbAP5E12OtFO/vNWcx1ioGXTgkIj3oXnNCmSCJdRj7azYRwPdZb8+?= =?us-ascii?Q?Zpg0EYnGuaA1FVekPf7tlgiAGwjT6J26cWbObe7JzGD7IC1kTDJVC3Ih9VHD?= =?us-ascii?Q?iFeeoE+gn8HxcL9Xboyru/7YogM6GvX1I4zwTWLMvMP4LPycWRHPHU9arsdQ?= =?us-ascii?Q?oAEHjQ=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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: ecaf2324-48dc-4cff-5083-08d99eac41fe X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2021 09:28:12.7299 (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: TwSX0mFbE1Myj0e2x5oTybTQzi/bgGRYc6kixOwcqz1lqqBYnkhCdMf3m0a+u2OrW+m/XEQ/tnpIXFcLVaoUqrQRQLe5rG2ZCcVZFzYnQ1E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR11MB5656 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] 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, > -----Original Message----- > From: dev On Behalf Of Vidya Sagar Velumuri > Sent: Wednesday, November 3, 2021 6:55 AM > To: adwivedi@marvell.com; anoobj@marvell.com; ktejasree@marvell.com; > ndabilpuram@marvell.com; gakhil@marvell.com; Zhang, Roy Fan > > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] test/crypto: fix: test vectors for zuc 256= bit key >=20 > Fix the test vectors added for zuc 256-bit key Add known vectores form ZU= C 256 > RFC. >=20 > Fixes: fa5bf9345d4e (test/crypto: add ZUC cases with 256-bit keys) >=20 > Signed-off-by: Vidya Sagar Velumuri Thanks for these new vectors. Looks like they pass for us. However, I notic= e that your driver still has 24-byte IV capability for ZUC, instead of 25 bytes. Is this OK for you? I added some code to check if the = IV of a test vector is supported by a device. Thanks, Pablo