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 CAE7AA0C45; Mon, 25 Oct 2021 06:17:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5783D407FF; Mon, 25 Oct 2021 06:17:42 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 4FA2D4003E for ; Mon, 25 Oct 2021 06:17:41 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19ONVRmg021053 for ; Sun, 24 Oct 2021 21:17:40 -0700 Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam07lp2040.outbound.protection.outlook.com [104.47.56.40]) by mx0b-0016f401.pphosted.com with ESMTP id 3bwdj392g5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 24 Oct 2021 21:17:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ph74JJfBMC1q8OQ4ZGyMsIxdbHOV3ibC4Zj4+LQ0q7sFILg7agneqF4oTILEIprrwBm3KPQQvV2YzcldzE0BJmR2LqGO/Mc4NPJEy3gDNfIQEG+0zmhK1QTKRoO/CcZ/LVgNz43/7d65Zp5s5V4wUFflQ63TYP+gW0ycfjY8XnOIO1tiSRNiFIY+zm96m5O48/1U6xFno7Z0StulMUg0UhaKXI54mcgzCMSdoLwDd0jzIFrZ+xdTR6QfduabOStPiXTEKD7ifrZXYHYzSrxTpbbIM/1mLrDQ+M3bGX6xAbL/UI+E+/flUUrVFF1nT5owvADRwAYMLpG6lf8sKMlsfQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KlNzhpQg8zx8rC3QlFPs4+QVufUk4e/qHi0t+43Rv+Y=; b=HF1DaugRAGFtkws7YwtnIcVsHKEm5Mmi0iYUGA1UOPA99m+tdlFex8edUE0Sj6K4unBstWz9ZSCfX8Ww5s3j+zoPy2jFSfxTsVQN4qfuaZYfwSMp/6gabx2jtYHfpyudUzNrv1L/b1hTy/LgHEprRfkE2sotiMrl0/ekMvin8Cu70krqghYkxDR8behVTQT4lhlwN6emuXpue9JPzSRkkLplFah/sAp96pP+s46Jw9PRBLrB4FAtJgCQksSNkCWKVkut7Ps9QmlsUEaUqXLm8huot/CcVcyAuquJUoZXzR+kU3G5dd1mT4Uj7jFtBLOSX9v7BJC+cW4cesyJhSZ+Mw== 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=KlNzhpQg8zx8rC3QlFPs4+QVufUk4e/qHi0t+43Rv+Y=; b=Wd1potY7Vx9auWTrZBBBPyq7q6d+2LKEdwo2dwR30qno19AKnA6aAhHZejhcIvWShNleJywfJQLkFOo64WJyTbTVWC23Jv2Q6B8dfruHk3eF7WVrfnDH0qMppSRCzB/c7SsaYM1Eac1GNXpghjxCTdr6530f7KAA2sz4nEI5Kt4= Received: from PH0PR18MB4672.namprd18.prod.outlook.com (2603:10b6:510:c9::16) by PH0PR18MB4653.namprd18.prod.outlook.com (2603:10b6:510:c4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Mon, 25 Oct 2021 04:17:39 +0000 Received: from PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::85aa:3d01:94f6:984]) by PH0PR18MB4672.namprd18.prod.outlook.com ([fe80::85aa:3d01:94f6:984%4]) with mapi id 15.20.4628.020; Mon, 25 Oct 2021 04:17:39 +0000 From: Anoob Joseph To: Kiran Kumar Kokkilagadda , Ankur Dwivedi , Tejasree Kondoj , Akhil Goyal CC: "dev@dpdk.org" , Kiran Kumar Kokkilagadda Thread-Topic: [PATCH] crypto/cnxk: fix bus error on RSA verify Thread-Index: AQHXyVTWY2ndoVOZPEqhQbTF0dVBt6vjG6bA Date: Mon, 25 Oct 2021 04:17:38 +0000 Message-ID: References: <20211025040004.3171175-1-kirankumark@marvell.com> In-Reply-To: <20211025040004.3171175-1-kirankumark@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ae88d388-fcea-4965-d7cc-08d9976e61a4 x-ms-traffictypediagnostic: PH0PR18MB4653: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:972; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oP/vxJeNaUtG6YuVIW6ApWXpT+f06h/+EU8oqzmWJYOWEuD8MBx7Ne4B+FCoS8ieUjJUJNZb1aed38agUPSQKsogEl9oOvwx0xVCKgsxwqIBunTGNpdjW66ZAyNmcPBTLz0XJHZo3kNZPADoa1mVFYoML6ewn4HkpxRp/lDrTL9vP5TWZeOsXP+GdS1JvJxQTLUjUD516bNuYT64IWC+8GDwWVIF2g5RRwzQ+70L5yNM+aA2K8EHu6q6/8G4U4qa8kGJXddz8jnO7p1jqTYEx4I6gGHdn+4gOJBNpqw1uD2Dkh+nZf93r9kNiEA9EWrCda4PqW4zNC7iciGpA22/RdC6a432PLWiAJrTMcByJqgnORaWuTSl7K/8+f4wy42gs4/AfrS28fbYECdmOb6lgrdjMKjCxpHbN26I2XFITkK2NAUKYFsBKWQiNZLSCThBnW0yp+9nVTt0IHZmj6iyJA4A6iWjT5ZGdCnDlY8Uh+8oo6GlL0H0ciWHXcGVdfholqhY1F9uex1W6MftQxp+FuipTCaeLrP5gzvwiFyb/mdc52YpsM9ZW3tfBFy33eM5dnr4aMng2KgE7/9ilBHvtpoa2UzBmf0r+IBhuqZRxeW+hMKfF3H8H/XyIYiEGGCllTLSoFCjV5wwTZKFUK5/UybT7hkyjTm1FLZIV1uHFKWnGX7BsPT1BXzqPGGvZ4XoUe780gfNiuyMUnvh1RleBw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4672.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(316002)(15650500001)(38070700005)(5660300002)(2906002)(83380400001)(86362001)(6636002)(76116006)(8676002)(7696005)(4326008)(186003)(64756008)(52536014)(71200400001)(6506007)(66446008)(66946007)(66476007)(66556008)(508600001)(38100700002)(55016002)(110136005)(54906003)(122000001)(8936002)(33656002)(4744005)(26005)(107886003)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2pXNNm8sH7FqFVGUstfHM5anVqDWW8Ly/tIvHPzposuEREJjvu20DcTPSzcj?= =?us-ascii?Q?E7/MEYHHrBBxZkyFZAV61HXC6bWD6G7eIaajkllhaH695bqSU6um7OsU6hO0?= =?us-ascii?Q?XZLdHY6jGRCEZxpW8IDQk9fdOHp3L3TGv5sPCT+FIBdcEAV7GcaQEIhbS7jj?= =?us-ascii?Q?cgghGEdtxOxuwRIW/xM3oepbLN0WbJZ1nzEdzw5DjIZRuuXhAlh3lX1xy0hq?= =?us-ascii?Q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gFe1CcHKIj8fs6ILBRWHI?= =?us-ascii?Q?WF0+Wwu10Exk9sOPcpB0031wCvY3or1C22M5cgAx9bTwPLD13bL0+VqAerIg?= =?us-ascii?Q?+Ulefg0fGjDTyyU4oONVn0GLpXEVplfy58Tzu6rPTKgxRV2/2qMy/ZUzc9hz?= =?us-ascii?Q?zPh+5QOIRQzQI3dFmEaJ/ISiMTTMMCw7pb82zowyGh03CyvF/c734qK6A3Ur?= =?us-ascii?Q?VADBcHOYlYrQkUfq76ykReOMQ6AUltn4bNjEiF/ivShgV135sEA0BQHgP8/h?= =?us-ascii?Q?vzMoBlCGEYh13EyMjvoEPvnt6LxWrBFJCby9VwFcgm1szIS32//apayj7grg?= =?us-ascii?Q?dX2ilYGKQa9/XPUg1YCowxHy6bdBgJ1UhWK9GySd1CVgkwYOToEZB8Cw2/Au?= =?us-ascii?Q?1xyl6hsEMV3gTRWwRrZ2yT0uBrQNEFGjeUlfPjNHeMYrpx8WEB2Y2fENaSos?= =?us-ascii?Q?MUMbOgX3uTtDDCUTAw21XfeQIlyle70BVXB+oZjGdFFnexXcY73QuMmRs+QX?= =?us-ascii?Q?0jMZMA533KqdgtnBlnadNak=3D?= 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: PH0PR18MB4672.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ae88d388-fcea-4965-d7cc-08d9976e61a4 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2021 04:17:38.8452 (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: S4p11Hu6LxJkK7N8HoBhEC/5jFe4D0O3m/bB+8la9NpRgf+NGyildVzwpKRIwFIIAMD1UHXL/Fn84D26HLU0mw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4653 X-Proofpoint-GUID: kjhyOqOrfgmRBX4-VR0Jkcnf7Qw-u3FL X-Proofpoint-ORIG-GUID: kjhyOqOrfgmRBX4-VR0Jkcnf7Qw-u3FL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-25_01,2021-10-25_01,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH] crypto/cnxk: fix bus error on RSA verify 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" > From: Kiran Kumar K >=20 > While creating RSA session, private key length is not being calculated > properly. This is causing bus error on RSA verify. > This patch fix the issue with length calculation. >=20 > Fixes: 5a3513caeb455 ("crypto/cnxk: add asymmetric session") >=20 > Signed-off-by: Kiran Kumar K > --- > drivers/crypto/cnxk/cnxk_ae.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 Acked-by: Anoob Joseph