From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web08.446.1666629721433952119 for ; Mon, 24 Oct 2022 09:42:01 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=YV5fvO3f; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: judah.vang@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666629721; x=1698165721; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=+t4fIuS8gfZ2/u78EicmUZ3YIIiXQjAvOmyRrpzzrEE=; b=YV5fvO3fmMc75j0iSDZfnwvpOb2MKDSSyN4u+Xy7onfoL6nuWVegORvi 7ZtsW/EryE87zIGdgohQObi7NDXgAJoMTaz2OHIvIEWFWV8AVeHhjKV4Y TZJciBH8hNKGXU0HsE7c7WSEZ2TSbVjnWuoVPlkkpCEI83bOIN2wnfg/H zBDEoPGskkKSVyLbC37cg+cSbnXDWXrxdGp62mqzGydXct2DDKNWNICq/ Td/or+D74xorEDWo1gJbxv73LcL7a8FJBe3gge326JmHMZLmuS8snU3vM yjkNOxymiApTmHsOjmDB2/hTJcUoB1smExHIAiLrKjmc54Jm3++F5nL4y w==; X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="307458827" X-IronPort-AV: E=Sophos;i="5.95,209,1661842800"; d="scan'208";a="307458827" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 09:42:01 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="773885627" X-IronPort-AV: E=Sophos;i="5.95,209,1661842800"; d="scan'208";a="773885627" Received: from eseverso-mobl1.amr.corp.intel.com (HELO jvang-mobl.amr.corp.intel.com) ([10.212.217.4]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 09:42:00 -0700 From: "Judah Vang" To: devel@edk2.groups.io Subject: [PATCH V1 0/2] CryptoPkg bug fixes Date: Mon, 24 Oct 2022 09:41:37 -0700 Message-Id: <20221024164139.792-1-judah.vang@intel.com> X-Mailer: git-send-email 2.35.1.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://bugzilla.tianocore.org/show_bug.cgi?id=3991 https://bugzilla.tianocore.org/show_bug.cgi?id=3992 There is a #define to deprecate Sha1 functions but not all the Sha1 function are wrapped around this #define causing a build error. The fix is to wrap all Sha1 functions with the #define. Need crypto AES to be supported for PEI phase and need crypto KDF to be supported for SMM phase. Judah Vang (2): CryptoPkg: Sha1 functions causing build errors CryptoPkg: Need to enable crypto functions CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 2 +- CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 2 +- CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.c | 14 +++++++++++++- 3 files changed, 15 insertions(+), 3 deletions(-) -- 2.35.1.windows.2