From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web12.5253.1664014027432920993 for ; Sat, 24 Sep 2022 03:07:07 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=fIIQhU79; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664014027; x=1695550027; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=XFdyfIALC99fX7XgCf2/p0dSj6NmEwOrqgkAfYI+zPk=; b=fIIQhU790KheikId+/kUp8lNQQHlPAOUnPrQ2tel35xNSgdalL9nYS/c Y/h6L8ahZSqLLWNdcRWdswBLFtcpySIQk14/sof8EwBnnZBHwXE28SZbC OGd7wQdSx0/qmrdtko+D6stIm7DjlywA2i7pX4rdRqTCyA4nS8I0MQiG3 LsUEdfR7VvH0dveMgoO3TrUPBCuHg58xfxDcuyw5TKEmw/R+8nsoDSQyl IQkKUINuqjBj+Pwe5cm5iPufIotxsVPKySXCr6Xw3zzHR8CliaHDiLz3e c+J7l0c40ZmTjdBCl6vNstC6XhTn7d1EhTtXe2+AJkbsmrmDg+ctJZ1kE w==; X-IronPort-AV: E=McAfee;i="6500,9779,10479"; a="280488351" X-IronPort-AV: E=Sophos;i="5.93,342,1654585200"; d="scan'208";a="280488351" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2022 03:07:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,342,1654585200"; d="scan'208";a="795783216" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga005.jf.intel.com with ESMTP; 24 Sep 2022 03:07:06 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 24 Sep 2022 03:07:06 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 24 Sep 2022 03:07:05 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Sat, 24 Sep 2022 03:07:05 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.43) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Sat, 24 Sep 2022 03:07:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L0VGPgGuqSmzziCLN2uXxFVZvOWwFKXaGQR4y+OjVkMccA+vG9CQG56qzv6xNgkzO8yszVQ/S2qi0L99XPgIIKKcZv3mx4MwO8HeVOjmG8MpMZ71x2effcIPeOKv7dZMHcGC6Q0vm59CICumkQjTtuyeJyioj9X9ryrkILhQg3UtgxldrkS3eqd/25/BpsvFWo9ywyrvBEO+0v+L3+s1qAuUGFjRyRB6om2kaaWHxxf9jswtrmMDEv9Gzo7URxYEJWq2aVpaeU+Y+zt092SirgAw/6DEihSB6bZGqKYulah+HrDRMrSKunr5MijjyC1DIGV0iT8GzluH7/bI0Nv1EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=y29jhb8qfKRVWLeFMJP0ymvecXWdeQoi8fmnHoc5YxY=; b=AXzFLpbf9qy54DVAqJ5OihgWwDpNus54qnFE1zsbRMLx5aB3fJrl5Kr9mBtv3HeA7SLlHaiEaFugAZs5lG3HBS784mwzkJ4gbhMPJObPooGeWtwkCGIaRwvSmEUlq9H+7NjUmYuZ1IIs1BGsnRXrdBQSlC4Y+Yo5HwrktMOcmJquj504CNBGWstzEUTxmBqFO8/U+f4YwhYpUga4jq5IqyncqveAKu+d+tNtrWKipsqax4gsWNyz9nFvYNam2cYmvaGqj4kOYrZEqga1OyW+CMo2ZqbWQl2nVnct8hYDH1CnxLrgU9sjaW0muefQxQlUsaMVW/9wr35MlWcjjdp2tQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by MN0PR11MB6302.namprd11.prod.outlook.com (2603:10b6:208:3c2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.18; Sat, 24 Sep 2022 10:07:03 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::c17d:f1c9:e958:b5e]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::c17d:f1c9:e958:b5e%6]) with mapi id 15.20.5654.020; Sat, 24 Sep 2022 10:07:03 +0000 From: "Yao, Jiewen" To: "Kinney, Michael D" , "devel@edk2.groups.io" CC: "Wang, Jian J" , "Lu, Xiaoyu1" , "Jiang, Guomin" Subject: Re: [Patch 1/1] CryptoPkg: Add missing library mappings to DSC file Thread-Topic: [Patch 1/1] CryptoPkg: Add missing library mappings to DSC file Thread-Index: AQHYz5m1DRoC6vHSo0ikr2IEvVKFMa3uW4hQ Date: Sat, 24 Sep 2022 10:07:03 +0000 Message-ID: References: <20220923221305.1496-1-michael.d.kinney@intel.com> In-Reply-To: <20220923221305.1496-1-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5872:EE_|MN0PR11MB6302:EE_ x-ms-office365-filtering-correlation-id: dc53c86f-78ff-4e37-d5ff-08da9e148748 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EUgNdG38OHf6BM9EOYyHO4MUAFlIdcKj+IQwgem1AgI0tfx/GbZoKU7IUagtXY2JTGK0fwXoMY6pozp++s0kR7aKhS2pyDns9EBZsNNPNJCBR6b3oL+jDrgWJCQ6w2AyJxwuurHpJ5qylZ9+y0Lvg4iwMO2YXVFpuFJftn8uf56TmiwoizSFfOF083cOE01rGStNjOJfc/VLGY9J5EoqS3igbEcy1HEzP8d6tK0doBIruNR2rp5kpJ1lanxzTMj5iHr9Mlk00JBSrBrDOH3UitWvW66jEbk4ncBUf1/DzRlNvqOEzhncWHu8u6MCx4RgHhJvZOyFS1aFN+sVvJN1xdAXgP1E0GR26OQoI+Dk0DgLNiUlsXgx6k6m4s+M1Q87NfVgein5VaGiWBlwYkPW5xdbAMxSdeqwM/xoKWAIxMg+YZj3uvcQVTEC8DYAPnDIjT3l9dNF8TggXkrumovPmcPPgM0BdR/bVvSdo6yz9pW57Kwgq8hSbHYdAVwfkI3omRm7ECddouL41O0fdbsxkOrl4lfpeetl+XjSBK89uTPu9ifYTdZ4CsH1CSBxv7qw3gcT+7NhE3NL2HZDfy1NzTT0isIcMRgxwTfiFbygAnkaY1qAIIlH9EZclEUF9aEOmbieJokklwSh+Egj4LzaOOK9rIoBlVyoJMLWnCj2HyIlQ/zQVwFcYl1N4jewkSW2gLd3sOmGKrvnHhMf6bVj/1V2beeq6PhAYYySvtxNermfSDg+moofiXq5gTfyPpZyfU0lGwBAb7VrpN/2lLfSUb7jnWuowyg8yDjMpOTJvGE= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5872.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(6506007)(26005)(66946007)(107886003)(53546011)(82960400001)(33656002)(7696005)(66556008)(55016003)(86362001)(9686003)(66476007)(66446008)(2906002)(64756008)(8676002)(4326008)(76116006)(83380400001)(54906003)(110136005)(186003)(316002)(41300700001)(38070700005)(52536014)(38100700002)(71200400001)(122000001)(8936002)(5660300002)(966005)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1OTounT/i2nixAkjJ71S1k2rXof7rgrBh6lf6OdcVFzcrvgjuqjUUF8efA2S?= =?us-ascii?Q?nVWj69pHtFRbMIDsn9BD4/K9oSRzdAhy0c+T2+ULDS0GnNVxKe8iCy8eRe6w?= =?us-ascii?Q?XJDAB2T8GwaS7mryPO/dJCE0LwYnjuxn+zxYTGt/Sogv3zhqL/Jq1h9nlU/N?= =?us-ascii?Q?nDxp1xWpVrMSPTJMokFIAse5szO0/F+MFQSvpasYzLO5YhySvr/ZM6fJAm19?= =?us-ascii?Q?wT/PO+ctOWT3EcPjXjM94LVdQn8yPsvJKOAtJQHc7xYV+aAaGiSSL7WgGmKy?= =?us-ascii?Q?+OXO8Qk7ex8IjmdB0NX1N2+fYMupbATB7cI2mwoK1LmZuEIW93wB4poHtmH6?= =?us-ascii?Q?yhGKtv0jqxL9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ECTHFekcDDpk+Hf/?= =?us-ascii?Q?2h/IQFmTd04EBj+S68WxZIwAzC9quSEGGrCdyMwN8QBJ49VVD95KTd+tcYbg?= =?us-ascii?Q?noQ6yVwWRbsT2FB5yJH7afKwaTwNVT6THsfK1fHxp2FJvZpIeoCTHrgiVOZQ?= =?us-ascii?Q?rM8649e/D4KPdAQi6Czo4HMof7alS3tGKmkWLyDgDt22BH06xj/pn0aHCO+9?= =?us-ascii?Q?EIXhuju0x3eKGJD+wSY+d33zjIP/XITJz6ZEvL78v9Wg7UiR6jBBSuJvkTKG?= =?us-ascii?Q?EhvyvDKnMM4EAsI+4JHlCEFrEABJI0ay3sUqUz3LCiZfF24j/+QTyvX1mbsI?= =?us-ascii?Q?x/bk+LpM7zFZs/bISW/0TeyJCzr6Q79e/OInAEbr?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc53c86f-78ff-4e37-d5ff-08da9e148748 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2022 10:07:03.2109 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tEZLZIPP1rH8JDj6yBxFaRAizDyWCB7edFrCPBRZiZ5pPR/gC2CNA/al1oOtcjxE5+idePL+mS12bVTqgMHZ6g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR11MB6302 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jiewen Yao > -----Original Message----- > From: Kinney, Michael D > Sent: Saturday, September 24, 2022 6:13 AM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Wang, Jian J > ; Lu, Xiaoyu1 ; Jiang, > Guomin > Subject: [Patch 1/1] CryptoPkg: Add missing library mappings to DSC file >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4080 >=20 > Add SynchronizationLib and MmServicesTableLib mappings that are > required for the CRYPTO_SERVICES set to ALL or MIN_DXE_MIN_SMM > builds. >=20 > Also update the family PCD settings for the PACKAGE and ALL > profiles to enable all families. >=20 > Cc: Jiewen Yao > Cc: Jian J Wang > Cc: Xiaoyu Lu > Cc: Guomin Jiang > Signed-off-by: Michael D Kinney > --- > CryptoPkg/CryptoPkg.dsc | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) >=20 > diff --git a/CryptoPkg/CryptoPkg.dsc b/CryptoPkg/CryptoPkg.dsc > index 9bee423e2126..7034e8a4120a 100644 > --- a/CryptoPkg/CryptoPkg.dsc > +++ b/CryptoPkg/CryptoPkg.dsc > @@ -66,6 +66,7 @@ [LibraryClasses] > TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf > HashApiLib|CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf > RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf > + > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchron > izationLib.inf >=20 > [LibraryClasses.ARM, LibraryClasses.AARCH64] > # > @@ -89,6 +90,7 @@ [LibraryClasses.common.PEIM] > [LibraryClasses.common.DXE_SMM_DRIVER] >=20 > SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServices > TableLib.inf >=20 > MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMe > moryAllocationLib.inf > + > MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTab > leLib.inf >=20 > !if $(CRYPTO_SERVICES) IN "ALL NONE MIN_PEI MIN_DXE_MIN_SMM" > [LibraryClasses] > @@ -159,16 +161,16 @@ [PcdsFixedAtBuild] >=20 > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sha512.Famil > y | PCD_CRYPTO_SERVICE_ENABLE_FAMILY >=20 > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.X509.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tdes.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > - > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services. > GetContextSize | TRUE > - > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services.I > nit | TRUE > - > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services. > CbcEncrypt | TRUE > - > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Services. > CbcDecrypt | TRUE > + gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Aes.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Arc4.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Sm3.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Hkdf.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Tls.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY >=20 > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsSet.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY >=20 > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsGet.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > + > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.RsaPss.Famil > y | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > + > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.ParallelHash. > Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > + > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.AeadAesGcm. > Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Bn.Family > | PCD_CRYPTO_SERVICE_ENABLE_FAMILY > !endif >=20 > -- > 2.37.1.windows.1