From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 86AD8780091 for ; Wed, 30 Aug 2023 07:53:01 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=h/xhf8bwWNue2dEPvS6a5OaEBkPMdAg53Bwf6fYASDI=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1693381980; v=1; b=NFI/cLEmbJAWCvdJ1Qh1JNIWt/oOJG8EQMaXdiKiI+Tvxvwd6jZz59zEsgr3RF6jfzpLuqaU CL7Zza2r2I6H7gbaK2IVZ6vnVQNs5Dmivub5vZ2A46/N5WyvWcpK/e4rxcUutK/vs0NH0FByn3o tumz11nbEUlZ4G16SG8Okxr4= X-Received: by 127.0.0.2 with SMTP id SGMJYY7687511xbVHDgfhsfV; Wed, 30 Aug 2023 00:53:00 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.9021.1693381979473021188 for ; Wed, 30 Aug 2023 00:52:59 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="378289300" X-IronPort-AV: E=Sophos;i="6.02,212,1688454000"; d="scan'208";a="378289300" X-Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2023 00:52:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="742139828" X-IronPort-AV: E=Sophos;i="6.02,212,1688454000"; d="scan'208";a="742139828" X-Received: from shwdejointd777.ccr.corp.intel.com ([10.239.58.116]) by fmsmga007.fm.intel.com with ESMTP; 30 Aug 2023 00:52:38 -0700 From: "Wenxing Hou" To: devel@edk2.groups.io Cc: Jiewen Yao , Yi Li , Xiaoyu Lu , Guomin Jiang Subject: [edk2-devel] [edk2/add_mbedtls PATCH 9/9] CryptoPkg: Add Mbedtls submodule in CI Date: Wed, 30 Aug 2023 15:52:20 +0800 Message-Id: <20230830075220.2070-10-wenxing.hou@intel.com> In-Reply-To: <20230830075220.2070-1-wenxing.hou@intel.com> References: <20230830075220.2070-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 Reply-To: devel@edk2.groups.io,wenxing.hou@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: UUwqLpRrWGi9e6I9Rb7ucMFzx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="NFI/cLEm"; 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 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Change CI for new Mbedtls submodule. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4177 Cc: Jiewen Yao cc: Yi Li Cc: Xiaoyu Lu Cc: Guomin Jiang Signed-off-by: Wenxing Hou --- .pytool/CISettings.py | 2 ++ CryptoPkg/CryptoPkg.ci.yaml | 66 +++++++++++++++++++++++++++++++++++-- 2 files changed, 65 insertions(+), 3 deletions(-) diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index 6fb7342f81..c5803a877c 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -199,6 +199,8 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag "MdePkg/Library/BaseFdtLib/libfdt", False))=0D rs.append(RequiredSubmodule(=0D "MdePkg/Library/MipiSysTLib/mipisyst", False))=0D + rs.append(RequiredSubmodule(=0D + "CryptoPkg/Library/MbedTlsLib/mbedtls", False))=0D return rs=0D =0D def GetName(self):=0D diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml index 59ba56d41e..204b97f470 100644 --- a/CryptoPkg/CryptoPkg.ci.yaml +++ b/CryptoPkg/CryptoPkg.ci.yaml @@ -41,7 +41,14 @@ # These directories contain auto-generated OpenSSL content=0D "Library/OpensslLib",=0D "Library/IntrinsicLib",=0D - "Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c"=0D + "Library/BaseCryptLib/Pk/CryptPkcs7VerifyBase.c",=0D + # mbedtls=0D + "Library/MbedTlsLib/mbedtls",=0D + # This has mbedtls interfaces that aren't UEFI spec compliant= =0D + "Library/MbedTlsLib/EcSm2Null.c",=0D + "Library/MbedTlsLib/CrtWrapper.c",=0D + "Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h",=0D + "Library/BaseCryptLibMbedTls/SysCall"=0D ]=0D },=0D "CompilerPlugin": {=0D @@ -68,7 +75,16 @@ },=0D "DscCompleteCheck": {=0D "DscPath": "CryptoPkg.dsc",=0D - "IgnoreInf": []=0D + "IgnoreInf": [=0D + "CryptoPkg/Library/BaseCryptLibMbedTls/BaseCryptLib.inf",=0D + "CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf",=0D + "CryptoPkg/Library/BaseCryptLibMbedTls/RuntimeCryptLib.inf",=0D + "CryptoPkg/Library/BaseCryptLibMbedTls/SecCryptLib.inf",=0D + "CryptoPkg/Library/BaseCryptLibMbedTls/SmmCryptLib.inf",=0D + "CryptoPkg/Library/BaseCryptLibMbedTls/TestBaseCryptLib.inf",= =0D + "CryptoPkg/Library/MbedTlsLib/MbedTlsLib.inf",=0D + "CryptoPkg/Library/MbedTlsLib/MbedTlsLibFull.inf"=0D + ]=0D },=0D "GuidCheck": {=0D "IgnoreGuidName": [],=0D @@ -76,7 +92,51 @@ "IgnoreFoldersAndFiles": []=0D },=0D "LibraryClassCheck": {=0D - "IgnoreHeaderFile": []=0D + "IgnoreHeaderFile": [=0D + "Library/MbedTlsLib/mbedtls/Library/aesni.h",=0D + "Library/MbedTlsLib/mbedtls/Library/bignum_core.h",=0D + "Library/MbedTlsLib/mbedtls/Library/bignum_mod.h",=0D + "Library/MbedTlsLib/mbedtls/Library/bignum_mod_raw.h",=0D + "Library/MbedTlsLib/mbedtls/Library/bn_mul.h",=0D + "Library/MbedTlsLib/mbedtls/Library/check_crypto_config.h",=0D + "Library/MbedTlsLib/mbedtls/Library/cipher_wrap.h",=0D + "Library/MbedTlsLib/mbedtls/Library/common.h",=0D + "Library/MbedTlsLib/mbedtls/Library/constant_time_internal.h",= =0D + "Library/MbedTlsLib/mbedtls/Library/constant_time_invasive.h",= =0D + "Library/MbedTlsLib/mbedtls/Library/ecp_internal_alt.h",=0D + "Library/MbedTlsLib/mbedtls/Library/ecp_invasive.h",=0D + "Library/MbedTlsLib/mbedtls/Library/entropy_poll.h",=0D + "Library/MbedTlsLib/mbedtls/Library/hash_info.h",=0D + "Library/MbedTlsLib/mbedtls/Library/lmots.h",=0D + "Library/MbedTlsLib/mbedtls/Library/md_wrap.h",=0D + "Library/MbedTlsLib/mbedtls/Library/mps_common.h",=0D + "Library/MbedTlsLib/mbedtls/Library/mps_error.h",=0D + "Library/MbedTlsLib/mbedtls/Library/mps_reader.h",=0D + "Library/MbedTlsLib/mbedtls/Library/mps_trace.h",=0D + "Library/MbedTlsLib/mbedtls/Library/padlock.h",=0D + "Library/MbedTlsLib/mbedtls/Library/pkwrite.h",=0D + "Library/MbedTlsLib/mbedtls/Library/pk_wrap.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_aead.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_cipher.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_driver_wrappers= .h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_ecp.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_hash.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_invasive.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_its.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_mac.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_random_impl.h",= =0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_core.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_rsa.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_se.h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_slot_management= .h",=0D + "Library/MbedTlsLib/mbedtls/Library/psa_crypto_storage.h",=0D + "Library/MbedTlsLib/mbedtls/Library/rsa_alt_helpers.h",=0D + "Library/MbedTlsLib/mbedtls/Library/ssl_client.h",=0D + "Library/MbedTlsLib/mbedtls/Library/ssl_debug_helpers.h",=0D + "Library/MbedTlsLib/mbedtls/Library/ssl_misc.h",=0D + "Library/MbedTlsLib/mbedtls/Library/ssl_tls13_invasive.h",=0D + "Library/MbedTlsLib/mbedtls/Library/ssl_tls13_keys.h"=0D + ]=0D },=0D =0D ## options defined ci/Plugin/SpellCheck=0D --=20 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108128): https://edk2.groups.io/g/devel/message/108128 Mute This Topic: https://groups.io/mt/101048106/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-