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 B608DA04F9 for ; Fri, 10 Jan 2020 11:54:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 94AEF1DE6A; Fri, 10 Jan 2020 11:54:34 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id C862A1DDDA; Fri, 10 Jan 2020 11:54:31 +0100 (CET) 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 00AAnwtE031925; Fri, 10 Jan 2020 02:54:30 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=E/eYnvkt0r2OiBhjRcuE8qinY+CE7d4AARupwBiwKOk=; b=UCZiQKwELiZm0r3yyPva/tQItf4onBbX7/KpyeEMOja3L+pwIyWbew29VKd48cj/MWnF g/JJY7dQ+zvx5SwanBC1TrntlOerLhwJYJwi0PODOdn9FZ5BSYHedd6EzgU94OUKtFed SSO1ynE4nj8DtSTbrZHf4DFaXEu9Us+ztLC/MigwwcfD/xFJX+/UPtskoWxOO9b41N/Y 3aawDSAjjCOYWnSMIze9BbJqn4Iv7tjukbWtkve1ixTDVt9IuKWavhJeDtjtiYqBrg+3 fq/Stbzr9H1kSqhHnTbDRwVBza4GlKWLLd2ArTVf9vANEv9gU18OZwqTWHuT/MGPQhrX TA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2xeqey82d3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 10 Jan 2020 02:54:30 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 10 Jan 2020 02:54:29 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 10 Jan 2020 02:54:29 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VRkSvp821hZpn1SnMlk6LOlc/JD0CsZXaibti3HeY9KhyLVX2ePNbJ7g9RZd/ZNyIvZHdF46HujcNUXQpMnXCqhv+GoI/CrR1Hn4CP1u9EI5wsm/KO93SSjEZVOSTfzSZkvMcrGfKxKnyQ1HCoNmPec54dzymkjjYwWnW0xKFdDFtS2vuVPolSDIzgAyTvPbw7Z0rnqjYnobNXCzbcSEtLDuIAb2tmUdvwVl4aUXX49deWTU1nQ5p39Zuf5JorR9ihNDmHfpDoYf/9ZAJ1yu/s7H0bSWjgKaWDwKqltjtlP9M3oSJdwIlPnSd7vqN8Zyu1pjSzo7r9D4o+oTEwlTrQ== 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=E/eYnvkt0r2OiBhjRcuE8qinY+CE7d4AARupwBiwKOk=; b=EsWOnejFp6AvRTfVTeVs3jvF/MAo59p+n0I94nvj/JldTO6AwxakmILSDNEFl2r1jrJp90hZ7JLyo6df6wNkGLLSs3/+aN63QLFp/P32+uysYehoZ12Bq8NoKr7dEsZs6QeoGVbO5eM0qehiMVzCbzFDikD2/+1hcpSKvzUW9nF8AeDYYBJwFOwEE5/MNrNRcz6nXuQ7KO3rWGUNsov/LfxayWpHge9tNaZiZDktrZtsafJgHMywzQUO+6O/bVZb/QyjD7ga0IwsxcJU6PtIqNupCEjCeii3duNcuLa46ezGCZLpomvRyplPYDer9jaihZgktpqpxcrnREpgZ8bqlg== 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=E/eYnvkt0r2OiBhjRcuE8qinY+CE7d4AARupwBiwKOk=; b=n3anxqegtFQ+lnCel+fQrdAm/vk8iJsQ8FdZc62pP02pDyS1fBf2kCEovC7QZ5Ac99eVpihvi6VZX+vJuwjFXBfE/mdurVvmajJkIWSTbcMoimLRbqvr6ZRI++DObkGKVlYzqBBaKiWNsvGlrC/VYsK6ki5EXt4Qz6F80S778jU= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (20.179.20.218) by MN2PR18MB3438.namprd18.prod.outlook.com (10.255.239.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Fri, 10 Jan 2020 10:54:28 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::5db5:d179:8a01:4636]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::5db5:d179:8a01:4636%7]) with mapi id 15.20.2623.008; Fri, 10 Jan 2020 10:54:28 +0000 From: Anoob Joseph To: Adam Dybkowski , "dev@dpdk.org" , "fiona.trahe@intel.com" , "akhil.goyal@nxp.com" , "declan.doherty@intel.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 1/1] test/crypto: fix missing operation status check Thread-Index: AQHVtzVUDVMoGyxXJkKRoH692QsMUKfj2PJg Date: Fri, 10 Jan 2020 10:54:28 +0000 Message-ID: References: <20191220115004.2713-1-adamx.dybkowski@intel.com> <20191220125852.3551-1-adamx.dybkowski@intel.com> <20191220125852.3551-2-adamx.dybkowski@intel.com> In-Reply-To: <20191220125852.3551-2-adamx.dybkowski@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2409:4073:2083:9f76:d01:e264:bb1a:b388] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2d822b07-dd5d-4421-9498-08d795bb7709 x-ms-traffictypediagnostic: MN2PR18MB3438: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 02788FF38E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(376002)(396003)(136003)(366004)(199004)(189003)(8936002)(4744005)(2906002)(33656002)(186003)(55016002)(6506007)(110136005)(66476007)(66446008)(9686003)(478600001)(64756008)(66556008)(71200400001)(316002)(86362001)(76116006)(7696005)(81166006)(52536014)(81156014)(5660300002)(66946007); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB3438; H:MN2PR18MB2877.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: T9LGzppZ3Vwwf1RGuAI1naxBywDzh57ZHyv15vtfC92x/gJ3Hs8fQr3BndiIkkQY2X/YaMo78z0yfyeKXajiwyUDyMSTzAn2Ycf83+BRIUQ2OsXXtlMVqVBa71CH/qIb68rjKeCVsluobpOmJQnZ5zb6DdFz1u2d+LqcqbdEhOJiw9m2ob2cXOOiRJZJ+SEex8VQPg75Yw2+TRIritoDLQB5lN5xYlY65oqv87Zld0XD0wtrSpStTl4ixerbOZc48e+hvFHDSOpDMD/TyPohjSKGyNH5heezkRH7LOtA3PQkV0nXKaP2/GxZLx3oLYsqBBhpDtw8rD8yKaC7HoImtyUpMjuwofHTRVhn9jk0QQIzr3TeI1rKJGtqNMz/R1ZzbcSmwvMATksdSWCKeXQ982Pw7aogimP3VXOWOAGs9aa9AzGvZ0gMWdKf5gYPtv4t x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 2d822b07-dd5d-4421-9498-08d795bb7709 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2020 10:54:28.3254 (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: qVYEcMhrltuolZuAvjIcDVrYG6WX/hXJouiw6YqouvteV+yXNcnC395EDsOBjFAsqPOzrjR3UxmLMAOmScWjSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3438 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-01-10_01:2020-01-10, 2020-01-09 signatures=0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2 1/1] test/crypto: fix missing operation status check X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" >=20 > This patch adds checking of the symmetric crypto operation status that wa= s > silently skipped before. It fixes the wireless algorithms session creatio= n > (SNOW3G, KASUMI, ZUC) and passing of the digest data for the verification= by > PMD. Also fixed the missing aad padding issue revealed after op status ch= ecking > was introduced. >=20 > Fixes: c0f87eb5252b ("cryptodev: change burst API to be crypto op oriente= d") > Fixes: 77a217a19bb7 ("test/crypto: add AES-CCM tests") >=20 > Signed-off-by: Adam Dybkowski > --- > app/test/test_cryptodev.c | 96 +++++++++++++++++++++------------------ > 1 file changed, 52 insertions(+), 44 deletions(-) >=20 Tested-by: Ankur Dwivedi Reviewed-by: Anoob Joseph