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:03 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=c9cbJ7Q1; 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=1666629723; x=1698165723; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BYOebguXFOg6XJ7DTa+dleE/iE6pd2Ekmzh5qKk0NSA=; b=c9cbJ7Q15sgefpfG4D68W0h9k7fjTIXR1bCFrUTernwEd1HvV4VB3FXA 4rlX9ZZOXtHvXb038LCnrv7BuTR2nNhJkGmVv/Mrt8KeZ/Yoc+pGpQtQY AHArX1LibUScA4+msaWuIkFLk/eurt13eq/zUgD2ndoA2OHFZSPRTbOYR iHyIFhS4ed/VKj/BKERJg3pGxH7t8Y9gj2DS1OIlPB3SmssuuUYW2AKxX g5IXnnNHWhTWbt2V4xdRM8PxW2yetxfoK4+G31TGmAHkcxBTmOIHMLciR azKOHfI9O01CpqdwmiXVnTdlbmplgSAmzsbK6p2PjoGELpPRz2h+nIT+l A==; X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="307458845" X-IronPort-AV: E=Sophos;i="5.95,209,1661842800"; d="scan'208";a="307458845" 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:03 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="773885658" X-IronPort-AV: E=Sophos;i="5.95,209,1661842800"; d="scan'208";a="773885658" 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:02 -0700 From: "Judah Vang" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Xiaoyu Lu , Guomin Jiang , Nishant C Mistry Subject: [PATCH V1 2/2] CryptoPkg: Need to enable crypto functions Date: Mon, 24 Oct 2022 09:41:39 -0700 Message-Id: <20221024164139.792-3-judah.vang@intel.com> X-Mailer: git-send-email 2.35.1.windows.2 In-Reply-To: <20221024164139.792-1-judah.vang@intel.com> References: <20221024164139.792-1-judah.vang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3992 Enable CryptAes for PEI phase. Enable CryptHkdf for SMM phase. Cc: Jiewen Yao Cc: Jian J Wang Cc: Xiaoyu Lu Cc: Guomin Jiang Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang --- CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 2 +- CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf index b1629647f9c6..ee5f3cd5d4b6 100644 --- a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf @@ -43,7 +43,7 @@ [Sources] Hash/CryptParallelHashNull.c Hmac/CryptHmac.c Kdf/CryptHkdf.c - Cipher/CryptAesNull.c + Cipher/CryptAes.c Cipher/CryptAeadAesGcmNull.c Pk/CryptRsaBasic.c Pk/CryptRsaExtNull.c diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf index 0af7a3f96e8f..cc5a53ca92cd 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -43,7 +43,7 @@ [Sources] Hash/CryptCShake256.c Hash/CryptParallelHash.c Hmac/CryptHmac.c - Kdf/CryptHkdfNull.c + Kdf/CryptHkdf.c Cipher/CryptAes.c Cipher/CryptAeadAesGcmNull.c Pk/CryptRsaBasic.c -- 2.35.1.windows.2