From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D18F9A00C5; Mon, 6 Jul 2020 14:23:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A1E481D727; Mon, 6 Jul 2020 14:23:35 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10070.outbound.protection.outlook.com [40.107.1.70]) by dpdk.org (Postfix) with ESMTP id B86C81D722 for ; Mon, 6 Jul 2020 14:23:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KPQdcGxtyHnSeGmEMPxZT52tmnR5fMrlCkDk6CkjN1Oaqth6/m532X2C0Hh1ayzjwCX6ZANLvrBKuKCDWfLO2r1eEZBUNjPt7dvSe7lYFjzEuuf5kQMHw8z8WIOu3pJJWujQJTGNEmVVTZgw5TCyA0OcFfzui4FjB/wPbB5OumrBqIfL9xgjvl/r3XZmBhixAVMtATbQ72/cxxulNd7tLvjYj1IeZfW53KOwN4og/U97j8m2ZNd/mFrjesMCttuw7RqdXgjlwJ8lV91a2T40ix13jV6skfpbLMas2MMMuHwAUpfHMXIU8ahzoID2Epiy/AXdV7sR+RFE7Zdt692nAQ== 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=qoMrEFtfKf7cBisjVVa83uuQq0qEY+6bnNaPOzDWl0s=; b=gLBbRxHv/5L7SC4COZfEHmkeUkMxi4rCdX59F90t8hqPQJfPV4POa5ofoECNe5TQzElcNjyXQpOtpDsAZRuhJ7Fpa8gNmNO649VjJxIY3JDtJs2n2pkru4OLXFZ97CkNrEr0WWfDJHRt3Mt9R/RorbRJfUmBOwaFTUwDMwZ+K4JnS6uelNzTRY9ku2F4EFJsdgR7u1vAKVyprr6V58A4+gyKtOL9tG/WSfzdCQf4YVmEjEGX62gvNrAFpRMSvrDo7Y3+QtgwOL8FsmhERJZ2Tze5kFL9e+nXkuhIjVOK7uN2yscA6yQQWGETYvShLPRs/nsHSKcyT5ia/Gz9qTRnOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qoMrEFtfKf7cBisjVVa83uuQq0qEY+6bnNaPOzDWl0s=; b=enkr8pfbThcuK0Jaq/LKxzYI0lcRz19WfvTE1mYtzYoXC7+dqEoy6pT0l/XxqDER0XtF0hpMc8611tgHYTLDt7pcy17zxATx3NAJLfkNtL2Q12OUvValusCInUXAXCQkUASEsDASmgZZCt/uN5dsS4sIRerL2iJIZTIgBh+kzhY= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB3167.eurprd04.prod.outlook.com (2603:10a6:802:8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.20; Mon, 6 Jul 2020 12:23:33 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::b077:1fe4:d352:b464]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::b077:1fe4:d352:b464%7]) with mapi id 15.20.3153.029; Mon, 6 Jul 2020 12:23:33 +0000 From: Akhil Goyal To: Ankur Dwivedi , "dev@dpdk.org" CC: "declan.doherty@intel.com" , Hemant Agrawal , Vakul Garg , "anoobj@marvell.com" Thread-Topic: [PATCH] test/crypto: change cipher offset for esn vector Thread-Index: AQHWOxOtMDzmJDGeR0KqgVz6oEZL66j6qEhg Date: Mon, 6 Jul 2020 12:23:33 +0000 Message-ID: References: <1591345833-19159-1-git-send-email-adwivedi@marvell.com> In-Reply-To: <1591345833-19159-1-git-send-email-adwivedi@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [45.118.167.64] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6b70f051-0bef-4f39-41d4-08d821a76694 x-ms-traffictypediagnostic: VI1PR04MB3167: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 04569283F9 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ppprxGHXAShuPwJW+DnuLk9iLxRI8sJmklmmjHTkTu+6zQjqNnuWcTot8o2V7VIdyGYle8Alv/qD/Kom5HNrQh5W9rNsQmPjvAMNrkUZy1XYKU8rVG53eACxjxGaSsCsitwxMWdoGjGCM1oYSe8HZTm6EetBwXjr0savrvpfnm4ekRdF5QXQbe70fCSNMqEge7eMvVzU2mlPyRm4b5imIg14FqDZz0+ga1YLQC+QNiXDIvBR5gaLk1bzlzdleHmbZtvc3lwG+Ndvt8MHowxOgpnxZB9IDsTk1Y4lAcTtDiciH90ZrkSC5pVj6DAZOctdxXZqgl8VFpRQDVFDeUpWog== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(376002)(39860400002)(366004)(346002)(396003)(76116006)(55016002)(66946007)(83380400001)(9686003)(26005)(6506007)(7696005)(66556008)(54906003)(186003)(316002)(110136005)(478600001)(86362001)(64756008)(66446008)(66476007)(33656002)(44832011)(52536014)(5660300002)(4744005)(4326008)(8676002)(71200400001)(8936002)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: /vbLMgAempjsmUQFheUSOivUkr1wCzJGuAjwnEG5V4JMtKoFcwU8yCcowkXKbKqGZPhFXbnmKze3HXOH/fc+Pc8NDTSA7DtrH0uezoQaugmeZ4COIvPvWvkGlGcyeOcNmdA7IxZGySshWTaUb9Az/OR5KPUE+YkrV2DR7YzPygJdYiHkHw0EVKXKgy3ilxXZTkYCfJMnvehgbbAkbZcsDp1tDrSRbosAEx7pBw6pGj7SsM3840AqZeWsn1Y2y+RL9+8/4K7rZ6+TIKQ73eHijopmdztIdWjbZRmIc5edHlm5Zyl13KGJMcZ2I5nMEkxMqFC3BBXzKUtZo9Zrzb9kcKR0soYMq3RP4JMGQ8gcei19s8pNswQR5teKnpUTTp0nRXaMipc0f9iaSo9GRl7lqp9FRVYkpACVyQVIy2iVyvGQ8eYMYcTu12uufFvMhbCEWl22egrlyN/faHIL7iwQvGOn49MFXIbBmQKMdO0/RcacSunZnF0EDcv9+kDhDFAY Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b70f051-0bef-4f39-41d4-08d821a76694 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2020 12:23:33.6392 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rMknE+GqhqfMNGmzboV++QqlQPb6b5kvjEChoU3wm0zbuFLx1QykZD+YUcJRdIPZjTLx8QSzAl0rEOH34Sb7+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3167 Subject: Re: [dpdk-dev] [PATCH] test/crypto: change cipher offset for esn vector X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Ankur, >=20 > In the IPSEC ESN test vector the cipher offset for encryption > should be 8 bytes which is the size of esp header. > This patch also changes the ciphertext and the digest reference > data against which the operaton result is validated. >=20 > Fixes: 699741912d71 ("test/crypto: add case for auth only trailer") >=20 > Signed-off-by: Ankur Dwivedi > --- Why do we need this change? The existing test case is to demonstrate a generic case where we can have an auth only trailer as well. It is similar to a case of IPSEC ESN but not exactly IPSec. Cipher offset can be anything as per the app requirement. I don't think there is anything wrong in the vector. It should pass in every hardware without any issue. Regards, Akhil