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 96EE9A0A02; Wed, 5 May 2021 17:14:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1200340143; Wed, 5 May 2021 17:14:10 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 493DD40040 for ; Wed, 5 May 2021 17:14:08 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 145EtF3E032106; Wed, 5 May 2021 08:14:07 -0700 Received: from nam02-cy1-obe.outbound.protection.outlook.com (mail-cys01nam02lp2057.outbound.protection.outlook.com [104.47.37.57]) by mx0a-0016f401.pphosted.com with ESMTP id 38beb52wky-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 May 2021 08:14:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QwetelCvdrXGCDjNypXfoQLaNop/q9XuCrv7NMfk2lLQDQ9Vh5LniVbRPUkd7RIJqGQqblHOEJBWjiNE6TvH0XpjSNlRpbsc3d5lqcEsrPYpE7/Hb9ZIinAv5r7F3DW3ahfk7Hq2kLX9pFCuUKzZPd67JNYPwQUffEvkHZX7jz+6/PW8BGU0CzXBG2GD0UpijssA4vUplbnvsDSLtiN8rVgNkQUo83u7e6YCc99HQ8fuFdFGZOY0jdoazvK/hHmwbbr9v5CZV63EuZoqrWyE+dJ4jaMIG1VfgQomB3xxeXC9Par/wi9o7VI0ktvjVrXe8i5ZdFglueagPS5wKSsIug== 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=1eZCwaJSoZgn+sTnCELMeOUdCjIOfyhCN9YcI0VTJX8=; b=TChbGyBrTk7WYgaDbBd2SBIEK2MBAWMRk/fkjCeM9cBy8P04wuOT9dNOtLQkGo2NUY5tWnv+Vh+JHs2RaDFXFfAK1g6iy8ASXM0Vm4z1N6WaLxHpL+l6EO/D589amjk5VVBVJEOmecG9tSxmBHv8gUbxxvccfXoHlf8LXOeADG6/EHSFRhqKfCLHhJCG66WF3sJM9ks2yiUomt64grzVprUHCDeY1zRGctsqkVAGRtFnFKPjiCoqPLh3GpJ/rfagEgdymbvTYLgO/NbqzvQkbLf9wBkiGipcMr2LVyGSIRFk2HtpUX20obQFWWtTbElRlYsrtrf82BxAHEPglQ5iaQ== 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=1eZCwaJSoZgn+sTnCELMeOUdCjIOfyhCN9YcI0VTJX8=; b=pwJqjdQR/J1VUz/ILjzHRIoNISqlcFi1clXDShfEb3n7jBmOxzme83iuotT7SMCFXW7gk9+hbEvpKgvAIZ4XW9Vi8n92d0Mv/f81cELfvHg4/GVaq8/Qbmoge+1XqQLzGMnI8/DT3C4aYol56nAHcBjM8rFrKhka48L03bsimwo= Received: from MW2PR18MB2284.namprd18.prod.outlook.com (2603:10b6:907:10::16) by MWHPR18MB1533.namprd18.prod.outlook.com (2603:10b6:300:ce::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Wed, 5 May 2021 15:14:04 +0000 Received: from MW2PR18MB2284.namprd18.prod.outlook.com ([fe80::3168:cb00:6607:743f]) by MW2PR18MB2284.namprd18.prod.outlook.com ([fe80::3168:cb00:6607:743f%7]) with mapi id 15.20.4108.025; Wed, 5 May 2021 15:14:03 +0000 From: Akhil Goyal To: "Zhang, Roy Fan" , "Ji, Kai" , "dev@dpdk.org" CC: "damianx.nowak@intel.com" Thread-Topic: [dpdk-dev] test/crypto: fix auth-cipher compare length in oop Thread-Index: AQHXQQAOue3/y7+cMUC900KseazVAqrVAEQw Date: Wed, 5 May 2021 15:14:03 +0000 Message-ID: References: <20210504141941.25098-1-kai.ji@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [171.48.51.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9f27ace5-f642-46df-ab12-08d90fd86b5e x-ms-traffictypediagnostic: MWHPR18MB1533: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: w9syr+VvgbU0v47Eqg8DekJUHYzLQtVImYnKaGTaJ7kx0aX9jRC9litmg0kMmS51YhAaNsIDfqek3V89QurmZzZ9zvlUgTnUQXAIhXIIh6mdp+529G9t0PBU5UUGyej2ROEJMN3OjPZskC/tzK02Vd/G1yqGvyiiPQCFuYKxzMaQVTtDxiJ2Bqx+o7k9jLr0egb5dr5ePvggcKXn8DRYLqRlL2AgRNcEXo+NWZLUAhPbCQGdIYPc9a1t66NIt4B2T7OuDxv40RH7pZnlsJSzPtJrPJfGLMDmXCDsb7Ruo7qNvuL/OX0PE4UMD3GLv4sRs2w1/rh0Ej09HFTXRgxJcA1ZPj6cbPVlE2iLrTv89z/OMBguOjZSE5sqJSq9+wB/YE1O9mPBeC1pLpyYdqQJfhr6MIinGcL8AB/EFpovKvAVaEFQrOVBNfZ+ZIteFxYOWGQ5k8SfWeL1J9uLpNtZA1aPimlF24H5+HL2SFBBSl+4NeQ39UcPSSENbFkMTNgRXYpoyGRw/y72pRgNkY0CHF2P5hU6/vXb+2LADiELx1Iu7RTyW4O2fJgZRx+pYbIyg7Q5IFOB1YmMcXJZEEBIveUnjNV6yAfwEVLwAYdJR3Q= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR18MB2284.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39850400004)(396003)(346002)(376002)(366004)(186003)(110136005)(55016002)(86362001)(38100700002)(5660300002)(9686003)(6506007)(8676002)(83380400001)(26005)(71200400001)(76116006)(66946007)(64756008)(66446008)(66476007)(66556008)(478600001)(52536014)(316002)(8936002)(33656002)(122000001)(2906002)(4326008)(7696005)(4744005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?ysH7eZ0O/zOPJb9oRjkEGELoahrU2QfqK+pjFQWNOcNYpLVMvfUJuZ3zimd3?= =?us-ascii?Q?qL+THYsQdy2XwZ26uOzMniV/+16DbuU1iryst4OlC7LUvMbb39P3Av1K5tVC?= =?us-ascii?Q?D3903NRcRSxNVGJDCGzU8cINhBGAb5en9hXehhyzM1fUXc/DFc96XozzxpQi?= =?us-ascii?Q?E0gIyFQCFgUTyrn92bZG219VfJHANgJFGusO1qRvkw0XzyiLbF6FqXuiBKl9?= =?us-ascii?Q?95iLRW62JGpM9XLqiKDDS17LjRdeIe51KSOl4ngE/Dsi/HSwCGAE+PsTO4hp?= =?us-ascii?Q?zYDlV0CgIzoNMM0GPOE5ywr0INl1QggMufg/8KRMFPih+BTGTF3EpO3PE1MK?= =?us-ascii?Q?jeiYjWK5CP7UE/sdvb6m+6s5n4svX5sz78TwAOXSL66uMJcIcjb7apjxZTZd?= =?us-ascii?Q?5ZOAejDKGv5ZaioSBKV39+SoyRvq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?XRg=3D?= 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: MW2PR18MB2284.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f27ace5-f642-46df-ab12-08d90fd86b5e X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2021 15:14:03.5986 (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: e07sOKlyTM/FeuGNGLmYiINFd63EqeIvNGZmCfPhbwj68lAulH+rwn18D10+a4GDJ78IxQHi2ygs+HTA0a6M/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR18MB1533 X-Proofpoint-ORIG-GUID: prhX8fsayMO-6BO4pRmYI4aENIeOH6GC X-Proofpoint-GUID: prhX8fsayMO-6BO4pRmYI4aENIeOH6GC X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-05_09:2021-05-05, 2021-05-05 signatures=0 Subject: Re: [dpdk-dev] test/crypto: fix auth-cipher compare length in oop 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" > > Subject: [dpdk-dev] test/crypto: fix auth-cipher compare length in oop > > > > For out-of-place operations, comparing expected ciphertext with > > the operation result should skip cipher_offset bytes, as those > > will not be copied from source to the destination buffer, making > > the tests fail. > > > > Fixes: 02ed7b3871d6 ("test/crypto: add SNOW3G test cases for auth- > cipher") > > Cc: damianx.nowak@intel.com > > > > Signed-off-by: Kai Ji > > Signed-off-by: Damian Nowak > > --- > > app/test/test_cryptodev.c | 24 ++++++++++++++++-------- > > 1 file changed, 16 insertions(+), 8 deletions(-) > > >=20 > Welcome Kai! >=20 > Acked-by: Fan Zhang Applied to dpdk-next-crypto Thanks. PS. This patch was posted twice without superseding. Please take care next = time to avoid confusion.