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 91B02A0487 for ; Tue, 2 Jul 2019 11:44:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D0CB928EE; Tue, 2 Jul 2019 11:44:46 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id B2C3A1E20 for ; Tue, 2 Jul 2019 11:44:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 02:44:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,442,1557212400"; d="scan'208";a="186803479" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga004.fm.intel.com with ESMTP; 02 Jul 2019 02:44:44 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.80]) by IRSMSX153.ger.corp.intel.com ([169.254.9.60]) with mapi id 14.03.0439.000; Tue, 2 Jul 2019 10:44:43 +0100 From: "Trahe, Fiona" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Doherty, Declan" , "Trahe, Fiona" Thread-Topic: [PATCH v2] crypto/openssl: fix inproper freeing of asymmetric crypto keys in rsa Thread-Index: AQHVMB2v5i5Npo6RlUG2cFQuRjcUeqa3FQlg Date: Tue, 2 Jul 2019 09:44:42 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B435897AB996@IRSMSX101.ger.corp.intel.com> References: <20190701145725.3552-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20190701145725.3552-1-arkadiuszx.kusztal@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2M1NWJiZDAtNDUyOC00YTlkLThiZTctMTlhNDlmZTRhNmRlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQWNUXC9PNG80M2s3R1hCK2U1U3hHUldIM05GajNQUE5pU0tkbUk0S0lMOHpCeE84KzBmMzROOUUyYmYyN3p2Zm4ifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] crypto/openssl: fix inproper freeing of asymmetric crypto keys in rsa 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" > -----Original Message----- > From: Kusztal, ArkadiuszX > Sent: Monday, July 1, 2019 3:57 PM > To: dev@dpdk.org > Cc: akhil.goyal@nxp.com; Trahe, Fiona ; Doherty, D= eclan > ; Kusztal, ArkadiuszX > Subject: [PATCH v2] crypto/openssl: fix inproper freeing of asymmetric cr= ypto keys in rsa >=20 > In case big number need to be freed, data it contains should be cleared > before especially if it is critical data like private keys. >=20 > Fixes: 3e9d6bd447fb ("crypto/openssl: add RSA and mod asym operations") >=20 > Signed-off-by: Arek Kusztal Acked-by: Fiona Trahe