From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0EB6121ED1C4E for ; Wed, 7 Mar 2018 07:03:28 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2018 07:09:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,436,1515484800"; d="scan'208";a="23258214" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga008.jf.intel.com with ESMTP; 07 Mar 2018 07:09:43 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 7 Mar 2018 07:09:43 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 7 Mar 2018 07:09:42 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.116]) with mapi id 14.03.0319.002; Wed, 7 Mar 2018 23:09:41 +0800 From: "Zeng, Star" To: =?utf-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= , "edk2-devel@lists.01.org" CC: Laszlo Ersek , "Yao, Jiewen" , "Zhang, Chao B" , "Zeng, Star" Thread-Topic: [edk2] [PATCH v2 1/1] SecurityPkg: fix ZeroMem HashInterfaceHob Thread-Index: AQHTtgb49dweKuDLCESVWGSS8rvslqPEVosAgACJoSA= Date: Wed, 7 Mar 2018 15:09:40 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103BA47DA0@shsmsx102.ccr.corp.intel.com> References: <20180307112441.20278-1-marcandre.lureau@redhat.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGM0ZGY3ZDMtNGIzNS00MGFjLTg0NmMtNWEyMzI5MjdiMGMyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJXS25cLzM3YkJ5XC9mcFlEWjJtU1poeEh6azJsTDJDR1pHZHY1dXRMS0ZiTDlMR3UwaUkwd1ZFbWNGKzF1U2J0VkYifQ== dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v2 1/1] SecurityPkg: fix ZeroMem HashInterfaceHob X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2018 15:03:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 WWVzLCBzaW5jZSB0aGUgVjEgaGFzIGJlZW4gcHVzaGVkLg0KSnVzdCBhZGRpbmcgb25lIGxpbmUg bGlrZSBiZWxvdyBiYXNlZCB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