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 CE47BA0C48; Fri, 16 Jul 2021 22:06:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 46E474067B; Fri, 16 Jul 2021 22:06:27 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 67E8340151 for ; Fri, 16 Jul 2021 22:06:25 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16GK4rTM013112; Fri, 16 Jul 2021 13:06:24 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2170.outbound.protection.outlook.com [104.47.57.170]) by mx0b-0016f401.pphosted.com with ESMTP id 39udxggm73-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Jul 2021 13:06:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FLnXP6GWC55UcPkmAqtWuLIlnNt8xJ4VKKAQaMoLxAQlod608L1hBw8P6DTMSNmm6PWeHtSBODmDApZRWGMYsV0WVC3CfnqRUDfP3eCokT7fkKq3RAr/8avE8d1VeMExhc6BbgjMgsH7wRYNrpoYK6IDPY8GKavVtL2qXrKN7w1INkxTrvgf96GeRLxhe6jn7vH7WJ4Fmz1/+lg+u+KDNGvdZqcdh9uhvhCFjtSVXtKHoYH+AwqoSE7XEgKUgmCXL4PHktu0RCeeZYXAV/O3kTSzhLAS06hTn1sjv9/KKgQGoEPOUo73TpEGDDLuRdfpKCXFh99nGYsIsXQtGcEoWA== 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-SenderADCheck; bh=UDyesH0slyFqS3YcJ+/kFG9CVxfQ9lYqHHHHFju6v5Y=; b=HufkLjPfNFLftLzALIejGELQNWkq8ClEhRAFypwuvEI+DZ8qlb6guyA7THwLiI5gS/3eObHFdvIYGDPvBbMdPZV3PtqWLdxw8mE+HLiFUZnXZVCI2ZBMLcbFR2GL7eISTpbJRSj0aphw/B63EuXalrA3uwpRWc6TG8uFVNZ3AbfdQLZ1HoAIT9Nv1JZi+rqaH6MCoOt8QOstafTrveQ6wAMcTmdp6W5t//M9fadQYD9Y30Xp7yzoK/crI13+Ze7Sb0WnVj5yVLAap3BkdW9giY5U3TPsxIW6Adf7Cl4dr2IoBQlD54WBLmg1qBpwdmx6CCdcossT6PVc99L50Lwsdg== 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=UDyesH0slyFqS3YcJ+/kFG9CVxfQ9lYqHHHHFju6v5Y=; b=Kn21CsnP/DhXK8GoY9Emt4UzTNmkiH/6SBZWA+dN1f/4GjPXXv2vSLExzqcsmi2rqs6CXFjdzJ6Q7J06N+uxa5k5AS2Yu3wWz94xfkRSlqGpr8zzzC/tXjQ32bRGYmqruBdaXZt541yT7q5J2113UFTdp58VGSDLiAyttI4egQw= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4468.namprd18.prod.outlook.com (2603:10b6:303:13a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.23; Fri, 16 Jul 2021 20:06:23 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557%6]) with mapi id 15.20.4331.028; Fri, 16 Jul 2021 20:06:23 +0000 From: Akhil Goyal To: Shiri Kuzin , "dev@dpdk.org" CC: "matan@nvidia.com" , "suanmingm@nvidia.com" , "david.marchand@redhat.com" Thread-Topic: [EXT] [PATCH v8 15/16] test/crypto: add data-unit and wrapped vectors Thread-Index: AQHXeZhqLfWQX1VchUCEk922b2VvU6tGBmww Date: Fri, 16 Jul 2021 20:06:23 +0000 Message-ID: References: <20210715150817.51485-1-shirik@nvidia.com> <20210715164126.54073-1-shirik@nvidia.com> <20210715164126.54073-16-shirik@nvidia.com> In-Reply-To: <20210715164126.54073-16-shirik@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=marvell.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 199d6049-beb8-4f7a-8cb4-08d948952f72 x-ms-traffictypediagnostic: CO6PR18MB4468: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YwVe3zsBcYlyhsMtWARkZVtpXs/8UOewJ7E0FQE8O6OlBQnVLtE3r523BDR53gFYcbhRVRkW9otHlWJ4nZxorDfauVnayXOHtus/5hP/ireCcTwBtcZsUnoTMkE2WSwhntiE0GOOQIPplOF3ojH6FyHqbPG5/nW8rsJpG7BvFNi7s0gQGfjPOWcPruQJVa6jIdKbMc4ZsA3R58aLrGlB35Jx3KKcounXLTdlhbGhx1iMzBmo7JxpZ3yp3m1Zc8k/SkliRaI/qMCCIhAPfXEzbU+3q5BnatGJwdHIP4UK06J5+YhECsDZZbfXih1fMwx7UuCESJGm1y2pSJDs/GCHL46KwT7v2M/qnEbbNZ+ltxybQLJEk4y4J4UHMYwByWWHPo/FA6Gfm3O8t25anrJFGp4y2gxO8DPUC+FoJNU+8lVDXP4i+k2F/SH8GSrNgEluLkpqgBQdTJu/TqmMI+Pt3fCvIWn+OTUMvJmAOj4jommOR39+5QrC9hmRh8PBVfCx91JzGAZnxhbk2N82ouf2JuXkFtoXqDGkMVsi6QnZ4HEWravMFditI9oOaXQ0E06gJgGlChsnGG6wieonhra0zJT1yH3jOyILGBi477GjCnUpssx32NdiwbzbFT7Bp+Ni7IzaMa3oCwkQCRa0FWVEpn9nr71Cho79pUr5QGxNbly74KSO6cLxQJtwM9NxX4JdpOL3pGs4IptBtcgHum+uBA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(396003)(136003)(39860400002)(376002)(5660300002)(7696005)(122000001)(2906002)(316002)(8936002)(6506007)(478600001)(26005)(55016002)(71200400001)(9686003)(76116006)(66476007)(66556008)(64756008)(33656002)(66446008)(66946007)(52536014)(83380400001)(54906003)(110136005)(186003)(38100700002)(86362001)(4326008)(8676002)(38070700004); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wTeZXRcOjK/eHClk+AU0qyIdKdefV6nsWnKPTta3Bnaxr9TYWVq1U6EvQ3wb?= =?us-ascii?Q?ALF5VE9P+FtNaroCYeEG6VRVr5pjkXzLZnqhp5xulyQQepUJGVokgC3jfgN7?= =?us-ascii?Q?b06+yeatx2B3DFM67xIshd6qROfjV/M2PhFtdy3+4EmFxLMNJiUBLjGisnpM?= =?us-ascii?Q?wkdUhZzfYxUl5wbDgCrbThkmhlKeotNOuk/P9LRDPqdfOXWNMpz+ilD8oRHs?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SNY/AZR08OQBzCHfkBeiyoZnbMghyG1U1d?= =?us-ascii?Q?2AySHrEyP7B5u7IzGOa0Al80LAlQmDguhZ5dTDXlTMDEfYG5oHWgamZYyEDO?= =?us-ascii?Q?1wxDE3SzQg2raXk7F2KVq+RC83Cq6FoBzl3K8wTh8FnUH5/HpcdeAuSOXQ2P?= =?us-ascii?Q?Amsy2WxLZZ7A8OFjdSC2pVkU5aUHdyZINbWLCEDzDYU/gxJTIwsNKXMTk+Ow?= =?us-ascii?Q?s7a7+pGL0a99rUAkdZ4W3mDf?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 199d6049-beb8-4f7a-8cb4-08d948952f72 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2021 20:06:23.2262 (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: bJ81g56PahGCUAxoLHr3c/rjymJSM+LLTmL/YEmJo9gOPzV9V9X5NgQ5+5mMPkWBlffqXcrYGGJR9NjrTrPxzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4468 X-Proofpoint-ORIG-GUID: 8aAkzlJaBnDlVXDiE6RydyxlrdC5qSj_ X-Proofpoint-GUID: 8aAkzlJaBnDlVXDiE6RydyxlrdC5qSj_ X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-16_09:2021-07-16, 2021-07-16 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH v8 15/16] test/crypto: add data-unit and wrapped vectors 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" > The AES-XTS algorithm supports using a wrapped key. > In AES-XTS the data-unit defines the data block size to be > encrypted\decrypted. >=20 > Add AES-XTS vectors with a wrapped key. > Add a variable stating whether the key is wrapped or not. > Add the AES-XTS data-unit. >=20 > Signed-off-by: Shiri Kuzin > Acked-by: Matan Azrad > --- > app/test/test_cryptodev.h | 2 +- > app/test/test_cryptodev_aes_test_vectors.h | 1340 ++++++++++++++++++++ > app/test/test_cryptodev_blockcipher.c | 10 +- > app/test/test_cryptodev_blockcipher.h | 2 + > 4 files changed, 1352 insertions(+), 2 deletions(-) >=20 > diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h > index 262e545ee6..f35dba6837 100644 > --- a/app/test/test_cryptodev.h > +++ b/app/test/test_cryptodev.h > @@ -19,7 +19,7 @@ > #define DEFAULT_NUM_XFORMS (2) > #define NUM_MBUFS (8191) > #define MBUF_CACHE_SIZE (256) > -#define MBUF_DATAPAYLOAD_SIZE (2048 + > DIGEST_BYTE_LENGTH_SHA512) > +#define MBUF_DATAPAYLOAD_SIZE (4096 + > DIGEST_BYTE_LENGTH_SHA512) Any specific reason this size is increased. It may negatively impact on oth= er platforms Which have lesser memory available. We need a reason to change the existing MACROS which affect all drivers. Please rebase, I will need to test these patches on other platforms to ensu= re it is not Broken.