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 70805A0567; Tue, 28 Jun 2022 14:07:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 59FC540691; Tue, 28 Jun 2022 14:07:27 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 2A510400D7 for ; Tue, 28 Jun 2022 14:07:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656418046; x=1687954046; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=wOJXwmWEhTBW5qZXVh76Hy+DU9a7B/Q3rj53QX30QaQ=; b=nCl0hza72hcdYbDBWwoJ9yK8jywToDfgQbfhiO39dkfnGbcmW5t2otoj wYP8aOhDP2s6bOTwYHt32c32Bx1paSgopplWqdH8ccN3eyHq7mfg96a6V hP/Urn8HCI2kyvmWKH8zXttqkXLsIPrhDJXa28i/6Ge6GCt/q4j1aBPox swSmFJEU7XqCz/tWZXePKTRoI8ZOJw2/7QkftsY/+wGRKVm1bbh80wmBT YjdT5xZKdHZ0jXzFVoD1JK195RMwWJ0+x0P5MlUHOR0k56wDRT54Wt7mi LeOG0jnJ3B+yB8c6r7Mqg7ApTGv649T8iKyqGVJ3xXxGtyrCRMcA3dVwk Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10391"; a="262132241" X-IronPort-AV: E=Sophos;i="5.92,227,1650956400"; d="scan'208";a="262132241" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2022 05:07:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,227,1650956400"; d="scan'208";a="658115058" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga004.fm.intel.com with ESMTP; 28 Jun 2022 05:07:25 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 28 Jun 2022 05:07:24 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 28 Jun 2022 05:07:24 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.173) 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.2308.27; Tue, 28 Jun 2022 05:07:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n9eWdU+1n5zYFnZAaBqkIEoU0WyJY55O3KJw4rB0AVoWf9L876tMZXlGAPCmUeA27L2fRUfH0lH678mqE7LYPudkpDLXbcREZjJCwHeE3Ki/aWF7bOEosbFpLjHdfAgHbtOp0jM2jsNrpkmnI93GPrCxZkJ0XF0GDPs6amoSKsGJ/VXGxONB0BwyiLDVEtVYVD/Hpr35+6GGNEi33/ItQbXLCrdgkhWKBa9+0poPT1CP6Y8rn09yGcprZwPEeg73qt4V63WNxFRvgdDrFAHXMkrZYhq17Somv6A4RBWf4yJH0ODU/mtNuK5p+fUygy9oLdIT9Ll//Csgsw4vVSLvIA== 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=3BojsE0qz6EHchnWDCpO+0wpHZcxF/cUEwj3t1V1Kr4=; b=gh9bymdbM2quEYX2xBm3UJeENbr/gXAQ19IK59IWH8Jyg2P6tLGW4YLPN+ZCcrPqfIrSJ1u1JZw2oJy22kATwevAH8tO+lOusa0A12hYbRdm2jnQEr/pJJhmb3tLSArI0XestTvyIqtCw0gQMfCXLoXBgNhy81MusLh07To48tnZigjbwSuyDdw2W+fh15pCx2/7CpAM7sR5rpU5/vV4ewf7ciy+2lhLWB7Y1KXq+wpUl40leOTQGSz/gGwbJ6jA3xfzsgZGASgHYh3eHv08+/dBeMbAiX9uK8wVQy+q5QkbprX/KuPoxfEn0P7tQrwtDg64gURL9YXOkcWUUdw/aA== 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 Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by MWHPR11MB1261.namprd11.prod.outlook.com (2603:10b6:300:28::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.17; Tue, 28 Jun 2022 12:07:22 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::d48f:f6a4:eac4:d541]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::d48f:f6a4:eac4:d541%7]) with mapi id 15.20.5373.018; Tue, 28 Jun 2022 12:07:22 +0000 From: "Power, Ciara" To: Tejasree Kondoj , Akhil Goyal , "Zhang, Roy Fan" CC: Anoob Joseph , Ankur Dwivedi , "dev@dpdk.org" Subject: RE: [PATCH v4] app/test: add additional stream cipher tests Thread-Topic: [PATCH v4] app/test: add additional stream cipher tests Thread-Index: AQHYhy3kaBmmJL/w0Eqg0vy+AFb5Ta1kwJog Date: Tue, 28 Jun 2022 12:07:22 +0000 Message-ID: References: <20220623134135.1786338-1-ktejasree@marvell.com> <20220623181947.1873162-1-ktejasree@marvell.com> In-Reply-To: <20220623181947.1873162-1-ktejasree@marvell.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1b65ae61-01d8-4c37-e24e-08da58fec1e9 x-ms-traffictypediagnostic: MWHPR11MB1261:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: soVNW5UNPvKN8cLCdkr/q2gtBckGUKoTtCmW2xNNWCzOGSha5zRLszO8RGNpv/D7j2feGljy4hxmO8LMqlxUutCKulP+A1lDDYtOvP/IsbncLwR/BIZFcX6cJqkxmdd4lXQEXOOzNdhnEnCDQsgqFGwo7IahWtXwU6kvmZcmdWwzFHOTIJ6UKCUYaflaxFvmG1PTTvJlySfXklXaqKo3fR4yrfpq2J07c5DzrEcT7iHCUG4m4oNCWrau86QVr8sHGiZDKJ2OUTEWl8LbNwLpdCpJA4j+Q0iWo9W15CfuGW8PQYqPIbIXIGz0bDeC4CabpC2vZXEOGSgOLHM8SXYiJGM5PufC/HMRZw77DeqMyFuwb17ktqvTBuFWNUnl+Yc3v7xRmaRjD9iruRYqX2HgippTuXfuU45wJO8CSGcihntXIYg/BZNfPt6ZW8tknE8w5qFnhLc9OCvAMSzaBfcIu9y03RzEVjzmaxnuR3gJyBhBYYs9AkvsGYwHzrOKg3MVJAMkRtCXFJMP26l6DkeMJVZZu9yHXp4Z8IaLov22ijUD8Rf+1mhTXpYCfOwqHQ41BOAyLdN18HeAUrvsIkXHBvLu7nL+K4Tg4SVtOMpB78mojNU0qDE6aKJF5DhvmqgBXxaMz/x/E4/SU6kE1+8aZVIlWOijE0XNdbTmwT73fbmJuLrYVKGQTiFceyaUy10/edWu7hQEX3rvsT/6aPWOIyq3eoMUli2EmCRidVWJqoPyyRmYIS1Rbp9boEsq4nH9+DnsUU0qyMjr2I+wSeQF8NP5QBIMlH/arlCzzf+BSss= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3821.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(396003)(39860400002)(376002)(346002)(136003)(366004)(9686003)(110136005)(26005)(71200400001)(76116006)(41300700001)(66476007)(4326008)(8676002)(478600001)(54906003)(186003)(6636002)(316002)(55016003)(82960400001)(2906002)(8936002)(83380400001)(53546011)(7696005)(122000001)(38100700002)(86362001)(5660300002)(66446008)(52536014)(64756008)(6506007)(38070700005)(66556008)(33656002)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ZZOcz/qLz4g5jQBFO2pmEjCa2GcpNeULQktP0C/FHUisF/JQdnz1SIKdWs0W?= =?us-ascii?Q?x2gpzPi1pxOMC/YmHbzYAMz9lAVWXgS/yLpHXUWbrkj4UI98zwELFjEHUSfl?= =?us-ascii?Q?UVm2GZFzcvP4cfPQRult38wNEntta95rq1r9Cq6VC00an+MenzWacfzSNlUw?= =?us-ascii?Q?V/dtUWFzXHQuChl6XDsIn5y6icnPRoNN9D/uy13aggj9Sb+74P+W0xeg+lXZ?= =?us-ascii?Q?OKgRaalzgS90/I7HZ1HHLpyIbttUwmjbLMOOKxJzQvJE9DBYm3Y66q11+ZED?= =?us-ascii?Q?eBBveihVDlmfs3d5NodKiPrM9o2Ka749P5xohQAd6KMoeIpUKgw7Zh0K5/0J?= =?us-ascii?Q?oy9shgr7laOclvyIA5/fP8DQp6BDaP9KKV4U+UYYTZAdeU14ekqSUQl7tHCT?= =?us-ascii?Q?iZl98a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F+4?= =?us-ascii?Q?KrhrsYyBkMBW/fTERBXzogXEomMryi662ai8HKpGDDoinleYhYqTIPphQWED?= =?us-ascii?Q?CHncD0+l5AUQfFbY76WIFYFya0gHjy74WZfgTQVGcSBcXrNu8fgRYzbu6l+I?= =?us-ascii?Q?aM3PWzHQdattpcAxbmVh7F/Kn3ZBynHJ21tC0/l8Qo59N7HSP34dpru6PyYV?= =?us-ascii?Q?G+r0BN9LbWYj68ABA3oaR9ej3eXN1PXJvImqs6Z1rDZZyCWfZz9ZRBZLh8w0?= =?us-ascii?Q?1Dui0I8+5u6JFMR9UlG0nVDznGZCWk77lI+7DE0y?= 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: MN2PR11MB3821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b65ae61-01d8-4c37-e24e-08da58fec1e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2022 12:07:22.4145 (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: b4syJueg8Wpey/Xdvputptobq/dGCBmng3EcYWkpwazVjpocIy50o9v9IUsm5DVQjYP6qfrU/iqQd8G79VmFqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1261 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Tejasree Kondoj > Sent: Thursday 23 June 2022 19:20 > To: Akhil Goyal ; Power, Ciara ; > Zhang, Roy Fan > Cc: Anoob Joseph ; Ankur Dwivedi > ; dev@dpdk.org > Subject: [PATCH v4] app/test: add additional stream cipher tests >=20 > Adding zuc, snow3g and aes-ctr-cmac auth-cipher test vectors with same au= th > and cipher offsets and total digest data encrypted. > Existing tests have different cipher and auth offsets and partial or no d= igest > encrypted. >=20 > Signed-off-by: Tejasree Kondoj > --- > v4: > * Set last 3 bytes of IV to zero in each 8 byte block >=20 > v3: > * Modified IV of test vectors as per specification >=20 > v2: > * Removed cn9k PMD checks >=20 > app/test/test_cryptodev.c | 270 ++++++++++++++++++ > app/test/test_cryptodev_mixed_test_vectors.h | 194 +++++++++++++ > app/test/test_cryptodev_snow3g_test_vectors.h | 67 +++++ > app/test/test_cryptodev_zuc_test_vectors.h | 77 +++++ > 4 files changed, 608 insertions(+) Thanks for updating those vectors to match spec. Acked-by: Ciara Power