From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.602.1580919541320142870 for ; Wed, 05 Feb 2020 08:19:01 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: michael.d.kinney@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2020 08:19:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,406,1574150400"; d="scan'208";a="430203784" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by fmsmga005.fm.intel.com with ESMTP; 05 Feb 2020 08:18:58 -0800 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.57]) by ORSMSX107.amr.corp.intel.com ([169.254.1.15]) with mapi id 14.03.0439.000; Wed, 5 Feb 2020 08:18:55 -0800 From: "Michael D Kinney" To: "Wang, Jian J" , Laszlo Ersek , "devel@edk2.groups.io" , "Kinney, Michael D" CC: "Sukerkar, Amol N" , "Yao, Jiewen" Subject: Re: [edk2-devel] [Patch v10 2/2] CryptoPkg/BaseHashApiLib: Implement Unified Hash Calculation API Thread-Topic: [edk2-devel] [Patch v10 2/2] CryptoPkg/BaseHashApiLib: Implement Unified Hash Calculation API Thread-Index: AQHV2uq1bXaTQW4P302qTUY8FJEuGKgM9zuAgAAweAD//6HtEA== Date: Wed, 5 Feb 2020 16:18:54 +0000 Message-ID: References: <20200203233548.7616-1-michael.d.kinney@intel.com> <20200203233548.7616-3-michael.d.kinney@intel.com> <7a85ca5b-c083-959d-0064-73d45a422396@redhat.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SmlhbiwNCg0KSSBhZ3JlZS4gIElmIHRoZSBQQ0QgdHlwZSBpcyBhbnl0aGluZyBidXQgRml4ZWRB dEJ1aWxkLA0KdGhlIGNvbXBpbGVyIGNhbiBub3Qgb3B0aW1pemUgYXdheSB0aGUgdW51c2VkIEJh c2VDcnlwdExpYg0KZnVuY3Rpb25zLg0KDQpJIHRoaW5rIHRoZSBiZXN0IHNvbHV0aW9uIGlzIHRv IGxpbWl0IHRoaXMgUENEIHRvIG9ubHkNCkZpeGVkQXRCdWlsZC4NCg0KVGhhbmsgeW91IGZvciBu b3RpY2luZyB0aGlzIGlzc3VlIExhc3psbyENCg0KTWlrZQ0KDQo+IC0tLS0tT3JpZ2luYWwgTWVz c2FnZS0tLS0tDQo+IEZyb206IFdhbmcsIEppYW4gSiA8amlhbi5qLndhbmdAaW50ZWwuY29tPg0K PiBTZW50OiBXZWRuZXNkYXksIEZlYnJ1YXJ5IDUsIDIwMjAgNTo1NCBBTQ0KPiBUbzogTGFzemxv IEVyc2VrIDxsZXJzZWtAcmVkaGF0LmNvbT47DQo+IGRldmVsQGVkazIuZ3JvdXBzLmlvOyBLaW5u ZXksIE1pY2hhZWwgRA0KPiA8bWljaGFlbC5kLmtpbm5leUBpbnRlbC5jb20+DQo+IENjOiBTdWtl cmthciwgQW1vbCBOIDxhbW9sLm4uc3VrZXJrYXJAaW50ZWwuY29tPjsgWWFvLA0KPiBKaWV3ZW4g PGppZXdlbi55YW9AaW50ZWwuY29tPg0KPiBTdWJqZWN0OiBSRTogW2VkazItZGV2ZWxdIFtQYXRj aCB2MTAgMi8yXQ0KPiBDcnlwdG9Qa2cvQmFzZUhhc2hBcGlMaWI6IEltcGxlbWVudCBVbmlmaWVk IEhhc2gNCj4gQ2FsY3VsYXRpb24gQVBJDQo+IA0KPiBMYXN6bG8sDQo+IA0KPiBBY2NvcmRpbmcg dG8gUk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