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 50C84A00C5; Mon, 6 Jul 2020 17:04:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A210F1DABF; Mon, 6 Jul 2020 17:04:00 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 1BD801D91E for ; Mon, 6 Jul 2020 17:03:58 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 066F046L007804; Mon, 6 Jul 2020 08:03:58 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=76PPVJttLwvLrdYhe6AT5imFpY95u/jxrzEbCDUf21o=; b=vLIHofZfeC5LF858MGSf+fNAmvsxowYaS0jrUMTC6fDCXiOj/J6BVR1QIj4tsWtPUoDQ vYNUHJvMm5OJZCBrrZgHOagbIRiArH0TiQOhwxq7OBSfPViXb7XlpvhWwbJGoFcTkby2 a2i3IwKi4JV+iIrN0tO9rnLpVCrwnfaz5XN6OwKzSTBBDH2lmFCei0LOV6qmhu3K0urm 2jaoKFFrUUNad2PJOQBl0dGH3Y2KzQJFTbXsCo2DcoeLYTRjO7MRCkajm13eQ+sSyxVl TJTLQGQ0cn0L06mWSTHaQhrBI+w9TMFAIR0fjfEGaLwxhBl3t5S+gXNUxj7Haua/Mlci yA== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 322q4pqg11-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 06 Jul 2020 08:03:56 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Jul 2020 08:03:55 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Jul 2020 08:03:55 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 6 Jul 2020 08:03:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=deVSA3zqwaWMeYTk8rMEMeoQGu6tapIXasjN+cLt7R7FLdY17RoQ3NilbccAdbhDb2qYRh0mrDgtDojaAWrpACRJyaPJY/xZ6lz9lT8oixCIrMslOoONXwfblEv7DVJ4QX+awhg4Gh+meHw9ru/fOeM+NNEx+RsT9aEA+2LDNuz7msMDsK0JKM5+m5ZTd2i4bYBz2owfP3xEHmJQH00onmYOYs2CavvS91Qtwh0KbhVsyCMHN/TNLQRgiHBGgG5rh+gQO88rH4b00UUBik5/CpmCcjHLvI3TOMpolMgoOa5KF66R78HyDU0mMkc4v4b3DX33uS5kJxUqh8c4ISmV3A== 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=76PPVJttLwvLrdYhe6AT5imFpY95u/jxrzEbCDUf21o=; b=QfFct+CsOkPRdsuhquW+sy/AAuBEb11buNiVYBqF+mHtkm+2pTMvBoo/O2mJa9qN0Lix2qCf0HBs41ioHJXmLh4us4E/lwU8k4NaodDFF/G2MqXrb9ZrhYqEkGvtMfjC2upqhWKtUfoDy7gSZJk/NQq2aYNSpl4jJkUPIgug7f7jbnj5+Z0suqxk+OVSGlyS5jICixns9sREiRubQiJu76j3lmb49Nlz5PzVxMKjAMhnwlaGrbI4JGMWG61LhODNZxqTUAgHIYFJxMTMTve9LFQCduoa0eP9dx6gg4UTe+JCWsbGayJmxxTeBFgbPfHsNoSGytsBesUE9sPSkach8A== 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=76PPVJttLwvLrdYhe6AT5imFpY95u/jxrzEbCDUf21o=; b=OT1pSGRYTMk0hKCVhwPTu8FvKEFqVk9SV/pHPKA3sHSq1S7UWGP+UwYae4rJ4boO341W/VAMjOz42+MlqdaLPumHyVVLzw9qXhL/XP8ZsBWC6vABHnumfM1sNhj66LeoaYdlI1SBT3viU/ZLyTsz3dmQdTGMlaROve3QGPKC/pI= Received: from DM5PR1801MB1884.namprd18.prod.outlook.com (2603:10b6:4:65::20) by DM5PR18MB2181.namprd18.prod.outlook.com (2603:10b6:4:b6::16) 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 15:03:51 +0000 Received: from DM5PR1801MB1884.namprd18.prod.outlook.com ([fe80::25b0:1812:15c6:53e2]) by DM5PR1801MB1884.namprd18.prod.outlook.com ([fe80::25b0:1812:15c6:53e2%7]) with mapi id 15.20.3153.029; Mon, 6 Jul 2020 15:03:51 +0000 From: Ankur Dwivedi To: Akhil Goyal , "dev@dpdk.org" CC: "declan.doherty@intel.com" , Hemant Agrawal , Vakul Garg , Anoob Joseph Thread-Topic: [PATCH] test/crypto: change cipher offset for esn vector Thread-Index: AQHWOxOwnawNcfYkeEKwoFKRcLrXk6j6ql+AgAAqMbA= Date: Mon, 6 Jul 2020 15:03:51 +0000 Message-ID: References: <1591345833-19159-1-git-send-email-adwivedi@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [47.15.61.97] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 34db52c2-50ba-441c-7456-08d821bdcb3c x-ms-traffictypediagnostic: DM5PR18MB2181: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 04569283F9 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SYShIT1JNIKjustZMnVMsAZGDR9O+VoTegaUd1CVgy5bykfceVuFlOKa+CMEf2EWVAeFNv00ms+xN7XOPN/ZEGlRkkVKTS2QeF/GcBG11pief04R1dyh9Jbx8ZBNsnvF48/EQ8qnH4Pfk+2gvn3jF7VYv2lwgm8ofaaMwHb6s3u0AeLw0ncNYNrHhyHrd8CHT/bHNMsnFOVm87MxeErTYbTm6D0ICgbM3Zo+X5HXmbqVsP1mvNpm4B827dUBclISwiT8PXFyZeEp9/J0jT/LPjFR5MnnP1oxfjDwwuJbn7sz2NSvwudtNT8p51SRHneULXTVcze+1e8NagWI0l4Bjw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1801MB1884.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(6506007)(316002)(5660300002)(55016002)(107886003)(33656002)(110136005)(8676002)(71200400001)(478600001)(66556008)(66446008)(64756008)(66476007)(66946007)(8936002)(52536014)(9686003)(54906003)(4326008)(2906002)(186003)(26005)(83380400001)(7696005)(86362001)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 7lNry9QQF9CvWZGA4c4noWGYBR/3xTJsWEY3p74XfdhgBl0kymHx8mtBJaUuG4SPmpA671pAcz47IXJMFaPN6w3unwg8KGIcTJaH3L2trK485zQVAslhE43UWuIHNRtOhpkavEh2V/ybCneDUfa1wczCOufCieMKjxF0yQ6c2QWmJQ46KyXzYUvrKhJAm8xEVovZiQDMOk04nBQcC8KZwyOiKyIf/nNUXgbcyFcwSUgRVH9Vr122jM6ygSUueTsUvHYjmLV4+IwVk1wJidS9y5h7CC0vtwAffRvmiisx9tAd0HnzSU6ZaUGqGOl90RJxcFxoJNMXk8ljMZ/WZHSiaudpSCQnPczPt0U9O5FovFCHb5OcvnLxmBYQEbDJ7OJhOTH4wLEYEnSNFdw7BsbYCY7sliu4JxKNaQ9/m11ZvqhenyB7Fyf6nhHwzDobItms+2KcP6HXXj9HBmUy6FiLpF3vcditF48YM74PPGUN1kc= 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: DM5PR1801MB1884.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34db52c2-50ba-441c-7456-08d821bdcb3c X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2020 15:03:51.4847 (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: 9SyfYb8cAN9/93DswFi24zwla2Hzm6VBCZW1I0yUFzVE0rIJkFBKUeUokvrggk1aaiV8vHu2jVzAxvGFrWgQrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR18MB2181 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-06_12:2020-07-06, 2020-07-06 signatures=0 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 Akhil, Please see my reply inline. Thanks Ankur >-----Original Message----- >From: Akhil Goyal >Sent: Monday, July 6, 2020 5:54 PM >To: Ankur Dwivedi ; dev@dpdk.org >Cc: declan.doherty@intel.com; Hemant Agrawal >; Vakul Garg ; Anoob >Joseph >Subject: [EXT] RE: [PATCH] test/crypto: change cipher offset for esn vecto= r > >External Email > >---------------------------------------------------------------------- >Hi Ankur, >> >> 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. >> >> Fixes: 699741912d71 ("test/crypto: add case for auth only trailer") >> >> 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 ex= actly >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 eve= ry >hardware without any issue. [Ankur] It's a limitation in OCTEON TX PMDs that the (encr offset - auth of= fset) should be 8 bytes aligned. In the IPSEC ESN scenario generally the offsets will be such. But in the above IPSEC ESN test vector, this requirement is not met and hen= ce the associated test cases fails on the PMD. > >Regards, >Akhil