From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 830B9AC1295 for ; Thu, 9 May 2024 06:27:23 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=pS1v6BkigQTR287hiFB/bc7clt1JibHWCtNalj4tveM=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1715236041; v=1; b=vhQXh7n6B/GStyUrEUO2kzowpND2JOkZYvLIiA9T2DNki07R6uCl2Lo3MwAmKY0WHAoRGCzE z+KT8NeqqDAvOD3owHK6/ncKQl1AyMxKDxkeUlias57L2vuR90WlS2LQcK6jsQ5d3fkhRCnxSXs N1MFeurUHUT7140q/lk+eOmYp5upTKv/i08s5Qpvww62VQG6pJ2WlM/qVvGpIEOXzhgIHTYvreK bfF2AyHO69dYUaZ5010fjMnYYQ0m2zN+bo4YzKeR5QrLTYbIpQ2+OzLK6NoyxuWNHIMq70dWiTa vg9dVhZZiXi+Ss687+f7iIvtgBhmDQtVv9EJG+WGcVoYg== X-Received: by 127.0.0.2 with SMTP id Z0ZYYY7687511xDPrVlYb2WD; Wed, 08 May 2024 23:27:21 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mx.groups.io with SMTP id smtpd.web10.3998.1715236024155799791 for ; Wed, 08 May 2024 23:27:16 -0700 X-CSE-ConnectionGUID: kC2iJn9pQbi+D42oDVof2g== X-CSE-MsgGUID: 3m5BUCZGTrizPHhYAKubDw== X-IronPort-AV: E=McAfee;i="6600,9927,11067"; a="14946430" X-IronPort-AV: E=Sophos;i="6.08,147,1712646000"; d="scan'208";a="14946430" X-Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2024 23:27:16 -0700 X-CSE-ConnectionGUID: 3ZDTPgpvQu6n2G7SJjvyBQ== X-CSE-MsgGUID: VBP9dVBfQCqbdgUnalNLcg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,147,1712646000"; d="scan'208";a="60305934" X-Received: from shwdejointd777.ccr.corp.intel.com ([10.239.58.116]) by fmviesa001.fm.intel.com with ESMTP; 08 May 2024 23:27:15 -0700 From: "Wenxing Hou" To: devel@edk2.groups.io Cc: Jiewen Yao , Yi Li Subject: [edk2-devel] [PATCH v3 10/11] CryptoPkg: Update *.inf in BaseCryptLibMbedTls Date: Thu, 9 May 2024 14:26:59 +0800 Message-Id: <20240509062700.2062-11-wenxing.hou@intel.com> In-Reply-To: <20240509062700.2062-1-wenxing.hou@intel.com> References: <20240509062700.2062-1-wenxing.hou@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 08 May 2024 23:27:16 -0700 Resent-From: wenxing.hou@intel.com Reply-To: devel@edk2.groups.io,wenxing.hou@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 6JJjGRR0jyWKOWF7s28GfNLax7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=vhQXh7n6; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4177 Update all *.inf in BaseCryptLibMbedTls based on new implementation. Cc: Jiewen Yao Cc: Yi Li Signed-off-by: Wenxing Hou --- .../BaseCryptLibMbedTls/BaseCryptLib.inf | 42 ++++++++++--------- .../BaseCryptLibMbedTls/PeiCryptLib.inf | 18 ++++---- .../BaseCryptLibMbedTls/RuntimeCryptLib.inf | 23 +++++----- .../BaseCryptLibMbedTls/SmmCryptLib.inf | 27 ++++++------ .../BaseCryptLibMbedTls/TestBaseCryptLib.inf | 36 ++++++++-------- 5 files changed, 80 insertions(+), 66 deletions(-) diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/BaseCryptLib.inf b/Crypt= oPkg/Library/BaseCryptLibMbedTls/BaseCryptLib.inf index 16def792c5..cb282fe648 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/BaseCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/BaseCryptLib.inf @@ -27,33 +27,37 @@ =0D [Sources]=0D InternalCryptLib.h=0D - Cipher/CryptAeadAesGcmNull.c=0D - Cipher/CryptAes.c=0D + Hash/CryptMd5.c=0D + Hash/CryptSha1.c=0D Hash/CryptSha256.c=0D Hash/CryptSha512.c=0D - Hash/CryptParallelHashNull.c=0D Hash/CryptSm3Null.c=0D - Hash/CryptMd5.c=0D - Hash/CryptSha1.c=0D +=0D + Hash/CryptParallelHashNull.c=0D +=0D Hmac/CryptHmac.c=0D Kdf/CryptHkdf.c=0D + Cipher/CryptAes.c=0D + Cipher/CryptAeadAesGcm.c=0D Pk/CryptRsaBasic.c=0D - Pk/CryptRsaExtNull.c=0D - Pk/CryptRsaPss.c=0D - Pk/CryptRsaPssSignNull.c=0D - Bn/CryptBnNull.c=0D - Pem/CryptPemNull.c=0D + Pk/CryptRsaExt.c=0D + Pk/CryptPkcs1Oaep.c=0D + Pk/CryptPkcs5Pbkdf2.c=0D + Pk/CryptPkcs7Sign.c=0D + Pk/CryptPkcs7VerifyCommon.c=0D + Pk/CryptPkcs7VerifyBase.c=0D + Pk/CryptPkcs7VerifyEku.c=0D Pk/CryptDhNull.c=0D + Pk/CryptX509.c=0D + Pk/CryptAuthenticode.c=0D + Pk/CryptTs.c=0D + Pk/CryptRsaPss.c=0D + Pk/CryptRsaPssSign.c=0D Pk/CryptEcNull.c=0D - Pk/CryptPkcs1OaepNull.c=0D - Pk/CryptPkcs5Pbkdf2Null.c=0D - Pk/CryptPkcs7SignNull.c=0D - Pk/CryptPkcs7VerifyNull.c=0D - Pk/CryptPkcs7VerifyEkuNull.c=0D - Pk/CryptX509Null.c=0D - Pk/CryptAuthenticodeNull.c=0D - Pk/CryptTsNull.c=0D - Rand/CryptRandNull.c=0D + Pem/CryptPem.c=0D + Bn/CryptBnNull.c=0D + Rand/CryptRand.c=0D +=0D SysCall/CrtWrapper.c=0D SysCall/TimerWrapper.c=0D =0D diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf b/Crypto= Pkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf index 72b22a24e8..660e11a96e 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf @@ -47,21 +47,23 @@ Cipher/CryptAeadAesGcmNull.c=0D Pk/CryptRsaBasic.c=0D Pk/CryptRsaExtNull.c=0D - Pk/CryptRsaPss.c=0D - Pk/CryptRsaPssSignNull.c=0D - Bn/CryptBnNull.c=0D - Pem/CryptPemNull.c=0D - Pk/CryptDhNull.c=0D - Pk/CryptEcNull.c=0D Pk/CryptPkcs1OaepNull.c=0D Pk/CryptPkcs5Pbkdf2Null.c=0D Pk/CryptPkcs7SignNull.c=0D - Pk/CryptPkcs7VerifyNull.c=0D - Pk/CryptPkcs7VerifyEkuNull.c=0D + Pk/CryptPkcs7VerifyCommon.c=0D + Pk/CryptPkcs7VerifyBase.c=0D + Pk/CryptPkcs7VerifyEku.c=0D + Pk/CryptDhNull.c=0D Pk/CryptX509Null.c=0D Pk/CryptAuthenticodeNull.c=0D Pk/CryptTsNull.c=0D + Pk/CryptRsaPss.c=0D + Pk/CryptRsaPssSignNull.c=0D + Pk/CryptEcNull.c=0D + Pem/CryptPemNull.c=0D Rand/CryptRandNull.c=0D + Bn/CryptBnNull.c=0D +=0D SysCall/CrtWrapper.c=0D SysCall/ConstantTimeClock.c=0D =0D diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/RuntimeCryptLib.inf b/Cr= yptoPkg/Library/BaseCryptLibMbedTls/RuntimeCryptLib.inf index 9f17ef00bf..280b1a9c29 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/RuntimeCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/RuntimeCryptLib.inf @@ -46,21 +46,23 @@ Cipher/CryptAeadAesGcmNull.c=0D Pk/CryptRsaBasic.c=0D Pk/CryptRsaExtNull.c=0D - Pk/CryptRsaPssNull.c=0D - Pk/CryptRsaPssSignNull.c=0D - Bn/CryptBnNull.c=0D - Pem/CryptPemNull.c=0D - Pk/CryptDhNull.c=0D - Pk/CryptEcNull.c=0D Pk/CryptPkcs1OaepNull.c=0D Pk/CryptPkcs5Pbkdf2Null.c=0D Pk/CryptPkcs7SignNull.c=0D - Pk/CryptPkcs7VerifyNull.c=0D - Pk/CryptPkcs7VerifyEkuNull.c=0D - Pk/CryptX509Null.c=0D + Pk/CryptPkcs7VerifyCommon.c=0D + Pk/CryptPkcs7VerifyRuntime.c=0D + Pk/CryptPkcs7VerifyEkuRuntime.c=0D + Pk/CryptDhNull.c=0D + Pk/CryptX509.c=0D Pk/CryptAuthenticodeNull.c=0D Pk/CryptTsNull.c=0D - Rand/CryptRandNull.c=0D + Pk/CryptRsaPssNull.c=0D + Pk/CryptRsaPssSignNull.c=0D + Pk/CryptEcNull.c=0D + Pem/CryptPem.c=0D + Bn/CryptBnNull.c=0D + Rand/CryptRand.c=0D +=0D SysCall/CrtWrapper.c=0D SysCall/TimerWrapper.c=0D SysCall/RuntimeMemAllocation.c=0D @@ -77,6 +79,7 @@ MbedTlsLib=0D IntrinsicLib=0D PrintLib=0D + RngLib=0D =0D #=0D # Remove these [BuildOptions] after this library is cleaned up=0D diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/SmmCryptLib.inf b/Crypto= Pkg/Library/BaseCryptLibMbedTls/SmmCryptLib.inf index 40c56d1b7d..4a519b06ee 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/SmmCryptLib.inf @@ -45,21 +45,23 @@ Cipher/CryptAeadAesGcmNull.c=0D Pk/CryptRsaBasic.c=0D Pk/CryptRsaExtNull.c=0D - Pk/CryptRsaPss.c=0D - Pk/CryptRsaPssSignNull.c=0D - Bn/CryptBnNull.c=0D - Pem/CryptPemNull.c=0D - Pk/CryptDhNull.c=0D - Pk/CryptEcNull.c=0D - Pk/CryptPkcs1OaepNull.c=0D - Pk/CryptPkcs5Pbkdf2Null.c=0D + Pk/CryptPkcs1Oaep.c=0D + Pk/CryptPkcs5Pbkdf2.c=0D Pk/CryptPkcs7SignNull.c=0D - Pk/CryptPkcs7VerifyNull.c=0D - Pk/CryptPkcs7VerifyEkuNull.c=0D - Pk/CryptX509Null.c=0D + Pk/CryptPkcs7VerifyCommon.c=0D + Pk/CryptPkcs7VerifyBase.c=0D + Pk/CryptPkcs7VerifyEku.c=0D + Pk/CryptDhNull.c=0D + Pk/CryptX509.c=0D Pk/CryptAuthenticodeNull.c=0D Pk/CryptTsNull.c=0D - Rand/CryptRandNull.c=0D + Pk/CryptRsaPss.c=0D + Pk/CryptRsaPssSignNull.c=0D + Pk/CryptEcNull.c=0D + Pem/CryptPem.c=0D + Bn/CryptBnNull.c=0D + Rand/CryptRand.c=0D +=0D SysCall/CrtWrapper.c=0D SysCall/ConstantTimeClock.c=0D =0D @@ -75,6 +77,7 @@ IntrinsicLib=0D PrintLib=0D MmServicesTableLib=0D + RngLib=0D SynchronizationLib=0D =0D #=0D diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/TestBaseCryptLib.inf b/C= ryptoPkg/Library/BaseCryptLibMbedTls/TestBaseCryptLib.inf index def990b996..4e2fb73cd6 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/TestBaseCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/TestBaseCryptLib.inf @@ -27,32 +27,34 @@ =0D [Sources]=0D InternalCryptLib.h=0D - Cipher/CryptAeadAesGcmNull.c=0D - Cipher/CryptAes.c=0D + Hash/CryptMd5.c=0D + Hash/CryptSha1.c=0D Hash/CryptSha256.c=0D Hash/CryptSha512.c=0D Hash/CryptSm3Null.c=0D - Hash/CryptMd5.c=0D - Hash/CryptSha1.c=0D + Hash/CryptParallelHashNull.c=0D Hmac/CryptHmac.c=0D Kdf/CryptHkdf.c=0D + Cipher/CryptAes.c=0D + Cipher/CryptAeadAesGcm.c=0D Pk/CryptRsaBasic.c=0D - Pk/CryptRsaExtNull.c=0D + Pk/CryptRsaExt.c=0D + Pk/CryptPkcs1Oaep.c=0D + Pk/CryptPkcs5Pbkdf2.c=0D + Pk/CryptPkcs7Sign.c=0D + Pk/CryptPkcs7VerifyCommon.c=0D + Pk/CryptPkcs7VerifyBase.c=0D + Pk/CryptPkcs7VerifyEku.c=0D + Pk/CryptDhNull.c=0D + Pk/CryptX509.c=0D + Pk/CryptAuthenticode.c=0D + Pk/CryptTs.c=0D + Pem/CryptPem.c=0D Pk/CryptRsaPss.c=0D - Pk/CryptRsaPssSignNull.c=0D + Pk/CryptRsaPssSign.c=0D Bn/CryptBnNull.c=0D - Pem/CryptPemNull.c=0D - Pk/CryptDhNull.c=0D Pk/CryptEcNull.c=0D - Pk/CryptPkcs1OaepNull.c=0D - Pk/CryptPkcs5Pbkdf2Null.c=0D - Pk/CryptPkcs7SignNull.c=0D - Pk/CryptPkcs7VerifyNull.c=0D - Pk/CryptPkcs7VerifyEkuNull.c=0D - Pk/CryptX509Null.c=0D - Pk/CryptAuthenticodeNull.c=0D - Pk/CryptTsNull.c=0D - Rand/CryptRandNull.c=0D + Rand/CryptRand.c=0D SysCall/CrtWrapper.c=0D =0D [Packages]=0D --=20 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118741): https://edk2.groups.io/g/devel/message/118741 Mute This Topic: https://groups.io/mt/105996836/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-