Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9729669ybi; Wed, 10 Jul 2019 15:55:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqyksnvuo73F67yPsN4JRQh4oLLU1EEapSUXCf+X84Fsf5p24eLgk4rLp7YIm9J5O5THEYO7 X-Received: by 2002:a63:5114:: with SMTP id f20mr749563pgb.173.1562799319372; Wed, 10 Jul 2019 15:55:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562799319; cv=none; d=google.com; s=arc-20160816; b=G5WJ5iNVlHGK3ar6eFQaBktBWJhQAXQeuy3M4wpxGNZuHkv7oF3GTlgBrKSBXX8Cw+ uS9OXprGP4DYgdkuSblBBuAqXHkgANPUmdUH9UrZXWkd6IbTCgxzNOvpljDBKAKe38wr 0yLsqkQJPMeB2Uiwxw9aex9IQC8WYNRVoSWx9+6/Pegl4Y6ROesg508rRd5r343P51b1 T+pjP+1aHFCUbQEFz3R8OR9M8zqc2qgswWxACB4ZaUU9p9cW+6cYMqjccRcL+DKQfd+u KnlRRoaPorqNiAv7k11SdNxUBM1lTbf8nMrSJQhDlTkqNiCpYQfIdvM9b56ZCeaz6oUw bCBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :dkim-signature; bh=+BIyC15jy9UJ2bAu2gdF1oizLsp1HM/2X9VK1ulPMFE=; b=SRZ6cbqBEuVU/4tq7RGdUmEua0xoECoye/yX4iXSUFYbshgsXacx/XhniUlgv4TAqC 2L7n39vAt/1D0v5AEetacurK/q1nSkz4vlJZbQA050F8BiYjErFw4DFI4Fpu+Bprdx/F pEtIW5Mn7jDY+baIusEo9+37ici/w9QvLWckfd5TW7lLs7BsbgcNIg5cBWpJXlUk1kNR NKqZRak3OqIw4211xcb+4tzSR+g4SKl6O42G+f2tJj2g3tWmiKCCe3kfZ02mkP4sMrpx IysVs5pLzBxd3o2jLy6zYHkkxlmFPkLfxdkshd4tc5tV12bhYxo8VyiHNW9VlvMRTTOm pvXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=pk7GzeJX; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si3503171pfg.136.2019.07.10.15.54.57; Wed, 10 Jul 2019 15:55:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=pk7GzeJX; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727063AbfGJWug (ORCPT + 99 others); Wed, 10 Jul 2019 18:50:36 -0400 Received: from mail-eopbgr690084.outbound.protection.outlook.com ([40.107.69.84]:60064 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726708AbfGJWug (ORCPT ); Wed, 10 Jul 2019 18:50:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+BIyC15jy9UJ2bAu2gdF1oizLsp1HM/2X9VK1ulPMFE=; b=pk7GzeJXx4694/FEmc5M/kJAWoFBGE/ytsR8EvfXFX2CxHiTWSBHApA33Qdm0VdoxF+B+OdyeICc/D0ZF56ZM5K9X4gjnwDlT4IO9coHq9PD0mQOJvRIm+bIFw6dO6L1O7/dGwqBuph+HD7j2q699kGy2vvKZZlBaFVYwvJ3nww= Received: from DM5PR12MB1449.namprd12.prod.outlook.com (10.172.40.14) by DM5PR12MB1673.namprd12.prod.outlook.com (10.172.39.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.19; Wed, 10 Jul 2019 22:50:31 +0000 Received: from DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::a894:b1d5:a126:adce]) by DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::a894:b1d5:a126:adce%6]) with mapi id 15.20.2052.020; Wed, 10 Jul 2019 22:50:31 +0000 From: Gary R Hook To: "Hook, Gary" , "linux-crypto@vger.kernel.org" , "herbert@gondor.apana.org.au" , "davem@davemloft.net" , "Lendacky, Thomas" Subject: Re: [PATCH v2] crypto: ccp - memset structure fields to zero before reuse Thread-Topic: [PATCH v2] crypto: ccp - memset structure fields to zero before reuse Thread-Index: AQHVNrO6m+NQJFdJik6RYa0T/lhkoKbDGDyAgACXVICAAKDHgIAAJf+A Date: Wed, 10 Jul 2019 22:50:31 +0000 Message-ID: References: <20190710000849.3131-1-gary.hook@amd.com> <20190710015725.GA746@sol.localdomain> <2875285f-d438-667e-52d9-801124ffba88@amd.com> <20190710203428.GC83443@gmail.com> In-Reply-To: <20190710203428.GC83443@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BL0PR02CA0141.namprd02.prod.outlook.com (2603:10b6:208:35::46) To DM5PR12MB1449.namprd12.prod.outlook.com (2603:10b6:4:10::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.84.11] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c9815a61-9d3d-45a3-94ac-08d7058902eb x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DM5PR12MB1673; x-ms-traffictypediagnostic: DM5PR12MB1673: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 0094E3478A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(4636009)(376002)(346002)(396003)(366004)(136003)(39860400002)(189003)(199004)(53936002)(11346002)(6436002)(446003)(316002)(71190400001)(71200400001)(76176011)(6512007)(52116002)(66066001)(476003)(2201001)(2616005)(31686004)(5660300002)(110136005)(486006)(8676002)(7736002)(25786009)(2906002)(478600001)(6486002)(14454004)(6636002)(81166006)(81156014)(229853002)(3846002)(6116002)(99286004)(305945005)(102836004)(186003)(68736007)(26005)(6246003)(66946007)(53546011)(8936002)(256004)(2501003)(64756008)(66446008)(386003)(6506007)(31696002)(66556008)(66476007)(36756003)(14444005)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1673;H:DM5PR12MB1449.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: S391LamfNjeKgncDc+vjDkdevrKdcorViM0QdST9Lndzaxb9ibn/SJ6ba7zfa40YPnbDn07BbjYD/Mq9xoWUbjkbVzEMDfSMCawcDUYoXcWn4eecTUXXWTanLWIqPzaRDEcCNuocPOZnybCrfBgeEIc8NnX5+rGZYV1O1LfoSPP0Jkpd6NnAaxQPwDdstybByFS25Cp2qQPqLZn1tMstW5OyIzijOTe0Ofac7ddRsO+F54hqLE6FWDk8CdXPk809zUXTvlMKAYhE2PyV4A3YsXEO1THyzJxTBgCovw2WxlvoCEHpi9mjP2WcowSmadF3cr8PIFzi/OVc6JKygO1umznNVsHpChBDiSTyASh+JO8I/mA3SjruiqT+c3qNUF9vC9Rdg5lbxNiSFLZ3sDNMaSGHYqQYf6Tg8FqGmLHheiI= Content-Type: text/plain; charset="utf-8" Content-ID: <58F9A23FE2B64B41A40EB7355A2A1990@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9815a61-9d3d-45a3-94ac-08d7058902eb X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2019 22:50:31.5567 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ghook@amd.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1673 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org T24gNy8xMC8xOSAzOjM0IFBNLCBFcmljIEJpZ2dlcnMgd3JvdGU6DQo+IE9uIFdlZCwgSnVsIDEw LCAyMDE5IGF0IDAzOjU5OjA1UE0gKzAwMDAsIEdhcnkgUiBIb29rIHdyb3RlOg0KPj4gT24gNy85 LzE5IDg6NTcgUE0sIEVyaWMgQmlnZ2VycyB3cm90ZToNCj4+PiBPbiBXZWQsIEp1bCAxMCwgMjAx OSBhdCAxMjowOToyMkFNICswMDAwLCBIb29rLCBHYXJ5IHdyb3RlOg0KPj4+PiBUaGUgQUVTIEdD TSBmdW5jdGlvbiByZXVzZXMgYW4gJ29wJyBkYXRhIHN0cnVjdHVyZSwgd2hpY2ggbWVtYmVycw0K Pj4+PiBjb250YWluIHZhbHVlcyB0aGF0IG11c3Qg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