From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (EUR02-HE1-obe.outbound.protection.outlook.com [40.107.1.60]) by mx.groups.io with SMTP id smtpd.web08.14262.1633016474077014679 for ; Thu, 30 Sep 2021 08:41:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=9qEt1UDa; spf=pass (domain: arm.com, ip: 40.107.1.60, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U6YnW6qK1Gf5ZMOxgNebjGagxqNmiaPoiO0IwsUFTqE=; b=9qEt1UDaolkxFnrPIIETpUNoXLx/FH5MBY13yig41758a5fGU6rrOAAdE+03tsBUxgNbdvGNHSwF6Ga1JzZJmSC8plH/IuZrYFVBtJbEqOgubJLGA6b1ZTW/g+keq+XUAGtn5R5BCeHKElJHw5l0mBXabdtcMaHJb/RtIQlmBbM= Received: from DB8PR03CA0013.eurprd03.prod.outlook.com (2603:10a6:10:be::26) by AM0PR08MB5299.eurprd08.prod.outlook.com (2603:10a6:208:18d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Thu, 30 Sep 2021 15:41:10 +0000 Received: from DB5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:be:cafe::8) by DB8PR03CA0013.outlook.office365.com (2603:10a6:10:be::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Thu, 30 Sep 2021 15:41:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.33.187.114) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.33.187.114 as permitted sender) receiver=protection.outlook.com; client-ip=63.33.187.114; helo=64aa7808-outbound-2.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-2.mta.getcheckrecipient.com (63.33.187.114) by DB5EUR03FT049.mail.protection.outlook.com (10.152.20.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Thu, 30 Sep 2021 15:41:10 +0000 Received: ("Tessian outbound c9f4ff96a6ad:v103"); Thu, 30 Sep 2021 15:41:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: bc264024c91f1d98 X-CR-MTA-TID: 64aa7808 Received: from f4ef29a8f0a1.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 245AD979-2852-48D4-8E26-3F2A8E9DF8FB.1; Thu, 30 Sep 2021 15:40:59 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f4ef29a8f0a1.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 30 Sep 2021 15:40:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QOnX0XqP6B4udw/1WV1EVlXROmJoWqcsx8Q4/FOt6OxREWvLoVW/dfaWIdCFfxPJ5qUt4fX4zwq0NrnhBsUR/qRc4NkByBeF18FLB+YNuNuPkXU/5REr4PWNVMzgwdbpQw6qNft6utrCX4FRTxC00SWY9wNPNcdqt8uo6eU9WTPrwUXffKFGpECAAWDZnWT2QYwASYeQfdEqS5x+Oe0SnqI+hfRYKHO19tVMJb30n3RQEIHMqYcUuCGLjaN1nBgb7xVWCS2lAz0Ba3xW5Xe7TN2q7opnnx+bCYciys5J91AMYZxRsd0RJ8DZs786cYzux6N3GwImPq0KmdxOeLuN/Q== 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; bh=U6YnW6qK1Gf5ZMOxgNebjGagxqNmiaPoiO0IwsUFTqE=; b=AGMl2V8/LKiYXr8aWBS1sHcdAJbvB3ylouFymYWIbVHlcguVnN1WPHYRVKPqxdSbX1/iknonxeq3KUcAWgeWA1whDply8LlVvFMwyXFAIv9dYgEE3D8JS/neD427LjSXYdE+L4n4uRwBY67y5Erp6eEn24SVJ4KcHul/qHjlA8B+zZ0+y87jumhwEijqW7Kd88/XobxKNEskOGD14yjRKF3c7H8EhcbIOM5PeKDLS+9l1XAAybu+bU9N0EFpJYeQV+tCiVYEVTU9MNcr3f40He9xtUfWeA3sM9JGEOiW+FHii6ZZX4OlRVRSUjQ5MaQUGYIpRPfK+2PGu77DFqDvRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U6YnW6qK1Gf5ZMOxgNebjGagxqNmiaPoiO0IwsUFTqE=; b=9qEt1UDaolkxFnrPIIETpUNoXLx/FH5MBY13yig41758a5fGU6rrOAAdE+03tsBUxgNbdvGNHSwF6Ga1JzZJmSC8plH/IuZrYFVBtJbEqOgubJLGA6b1ZTW/g+keq+XUAGtn5R5BCeHKElJHw5l0mBXabdtcMaHJb/RtIQlmBbM= Received: from DBBPR09CA0043.eurprd09.prod.outlook.com (2603:10a6:10:d4::31) by AM0PR08MB4546.eurprd08.prod.outlook.com (2603:10a6:208:148::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.15; Thu, 30 Sep 2021 15:40:51 +0000 Received: from DB5EUR03FT042.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:d4:cafe::a9) by DBBPR09CA0043.outlook.office365.com (2603:10a6:10:d4::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.15 via Frontend Transport; Thu, 30 Sep 2021 15:40:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT042.mail.protection.outlook.com (10.152.21.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4566.14 via Frontend Transport; Thu, 30 Sep 2021 15:40:51 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 30 Sep 2021 15:40:49 +0000 Received: from E114225.Arm.com (10.1.196.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2308.14 via Frontend Transport; Thu, 30 Sep 2021 15:40:49 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , , , , Subject: [PATCH v1 5/9] MdePkg: Add NULL instance of TRNG Library Date: Thu, 30 Sep 2021 16:40:40 +0100 Message-ID: <20210930154044.37336-6-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20210930154044.37336-1-sami.mujawar@arm.com> References: <20210930154044.37336-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9f5fb86b-a5eb-4b92-200b-08d98428ba4d X-MS-TrafficTypeDiagnostic: AM0PR08MB4546:|AM0PR08MB5299: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6430;OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: GRUc/7Xz2VihGw+TeeRk/d91V41ql8cVLejzS7opyjymtobsT3WuNGkBbZf7umvqgUf88lC0RktK6MZ0fYZnJD5ZfYCrNu5duQt55rJVoons/eUPLAcZo2KZD9+0qQIPE92UCIotGTcGhjOVKWId45Fr6+nVpOFYXA2HGj4QsLkV1Attwrh8Dhjhst5+SrTd+Ru0/241ZvubzPc81S7f1BjiqRQTIzUejNA2cq4xNkwksMZQFdM5R8PvwwxVSkG6bTpmWOvbSCDvUNvdVLPb6kv+wPU7fGeZpHDf7U7Lz5U0O4DjaFXqbM2oPMj4pdBvFPUTDkYr1fHPtpLqkB8pSVaRECTkFyPvM/8hgQuRMUJxo5XN3tGioN5kXkJxtHe2EAOD5qQcefC9wEVWlDwOUeP0zgSEpsa6gLoOe8PsdnExzhJs+OF7xl//Qi6Re2fTM68PU98C+/VkpTkG8Dfr8f9cES3VDmMl9R/joSZf4CgbJeGSx90xXF3GeOYqNwD0kDHTm/VNNh0Cq6CrmR9adOczlNlUZpqHlOyobAjrsXiSWHJMREO0+/GEpy/fAMnYWZ8QAzI680SRpJIOthiYV2uen8vek8kAEe5uFbOjxB/rBiUbv1S5Pha4QBXfiNXMRohZ8SKI0B7Hpl2MLrXTvJKK80Jtig5anbhfxzQFWrn/TOfzqLKQ7JSKb0419e/YtxRXZtwPiC1bShEF2BL5iCVC3KSJ9ezHH2KuLFch6w682rTgTqSOhZmQzDutC/DLs/pzy8u5BiPqUHYJWrZsya5SbvBqZ+uvl7FVNuZjHZyrB6GC/U7zg+40WMOx82IB X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(4636009)(36840700001)(46966006)(6916009)(54906003)(83380400001)(36756003)(86362001)(8676002)(1076003)(5660300002)(6666004)(2906002)(186003)(36860700001)(26005)(4326008)(47076005)(8936002)(7696005)(356005)(70206006)(316002)(70586007)(82310400003)(44832011)(508600001)(2616005)(336012)(7416002)(426003)(81166007)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4546 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ad7b04d5-9bfe-4e76-59bb-08d98428ae85 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f74CUVZKGP04SekwUkQvOO3zehScADYxAxIDojBHkr3i2NVJuUIt9DRtxCwy4Fd3fw5rH0JvIydq6fE7yNQs5aWI4j9h58TESFvvE4D65Lopb4E7F+Iw70AZKMK4f34qFpZIV9y+8pqi1ljBBspfZYg/3TMp2UoSYtv8qc+ayvTcW//l2GMc05BtmxrqmoslxVbG0tfvYmJ2HbduNS7XW9pvhtVVfRC3EndQub7jHwQKF1JIETzi/FvxvGSlCB6Ngt8FlCr7wua5vwaDyj5BF0L/9cA9ZaOzc5N22WGhMimgtQ9vkWSPe1Qn3w5eGkpgpLwTFHrLddbAt+M6UxzMtR0mwDBBKL7lb//hhDG9AeFavLGAHtJyI7mG+eBwmc693+t9BO7pkKwrzwgthoJH3SKNzQxNmhcR1wfWoku0rYLdjUgkgO9qX0U+jUf1Gn31l+w0xKKWNvWtm0/LSVLWA37nhx8O0IDMaXKYp3X1Wd/CyvxO12hczhjFVfMDgU7eRPfqWXsudoBrnEaY/f/++JyBrJhMnnV61q/7mGX29zFjo0gOE3eMwMu+5vqLLAjk4R6yGlGrdzneMbWUkW8lkkqreFXJHVefg3Q5q5x8/crO7KZDYVd4XtIXOWfBHA+pguAIY3mN34Y+z5aXnnkD87KGw/XmTlXRfoZITB8Bp3f4rHweIjDxM5fHAcxjIUAy3+ibm1zfyUltUuiR0DV6Q/+Y5K/pXJkxQujy2FrxuZzGohmX7joW7seMp2j8PDsTQDScCvirdrSFyF8K+KTMeCLkHF30msWEWvjgf2LaXXI= X-Forefront-Antispam-Report: CIP:63.33.187.114;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-2.mta.getcheckrecipient.com;PTR:ec2-63-33-187-114.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(36840700001)(46966006)(2906002)(5660300002)(7696005)(47076005)(316002)(4326008)(8676002)(54906003)(70206006)(508600001)(8936002)(70586007)(44832011)(6916009)(6666004)(83380400001)(86362001)(426003)(186003)(82310400003)(1076003)(26005)(36860700001)(81166007)(36756003)(336012)(2616005);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2021 15:41:10.8750 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9f5fb86b-a5eb-4b92-200b-08d98428ba4d X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.33.187.114];Helo=[64aa7808-outbound-2.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5299 Content-Type: text/plain Bugzilla: 3668 (https://bugzilla.tianocore.org/show_bug.cgi?id=3668) The True Random Number Generator (TRNG) library defines an interface to access the entropy source on a platform. On platforms that do not have access to an entropy source, a NULL instance of the TRNG library may be useful to satisfy the build dependency. Therefore, add a NULL instance of the TRNG library. Signed-off-by: Sami Mujawar --- MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.c | 111 ++++++++++++++++++++ MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.inf | 30 ++++++ MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.uni | 12 +++ MdePkg/MdePkg.dsc | 1 + 4 files changed, 154 insertions(+) diff --git a/MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.c b/MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.c new file mode 100644 index 0000000000000000000000000000000000000000..0511df2d99176f97d353f7b5a0a00562960e8165 --- /dev/null +++ b/MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.c @@ -0,0 +1,111 @@ +/** @file + Null version of TRNG (True Random Number Generator) services. + + Copyright (c) 2021, Arm Limited. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent + + @par Glossary: + - TRNG - True Random Number Generator +**/ + +#include +#include + +/** Get the TRNG version. + + A TRNG may be implemented by the system firmware, in which case this + function shall return the version information for the TRNG implementation. + Returning version information is optional and if not implemented, + EFI_UNSUPPORTED shall be returned. + + @param [out] MajorRevision Major revision. + @param [out] MinorRevision Minor revision. + + @retval EFI_SUCCESS The function completed successfully. + @retval EFI_INVALID_PARAMETER Invalid parameter. + @retval EFI_UNSUPPORTED Function not implemented. +**/ +EFI_STATUS +EFIAPI +GetTrngVersion ( + OUT UINT16 * CONST MajorRevision, + OUT UINT16 * CONST MinorRevision + ) +{ + ASSERT (FALSE); + return EFI_UNSUPPORTED; +} + +/** Get the UUID of the TRNG backend. + + A TRNG may be implemented by the system firmware, in which case this + function shall return the UUID for the TRNG implementation. + Returning the TRNG UUID is optional and if not implemented, EFI_UNSUPPORTED + shall be returned. + + @param [out] Guid UUID of the TRNG backend. + + @retval EFI_SUCCESS The function completed successfully. + @retval EFI_INVALID_PARAMETER Invalid parameter. + @retval EFI_UNSUPPORTED Function not implemented. +**/ +EFI_STATUS +EFIAPI +GetTrngUuid ( + OUT GUID * CONST Guid + ) +{ + ASSERT (FALSE); + return EFI_UNSUPPORTED; +} + +/** Returns maximum number of entropy bits that can be returned in a single + call. + + @return Returns the maximum number of Entropy bits that can be returned + in a single call to GetEntropy(). +**/ +UINTN +EFIAPI +GetTrngMaxSupportedEntropyBits ( + VOID + ) +{ + ASSERT (FALSE); + return 0; +} + +/** Returns N bits of conditioned entropy. + + See [3] Section 2.3.1 GetEntropy: An Interface to the Entropy Source + GetEntropy + Input: + bits_of_entropy: the requested amount of entropy + Output: + entropy_bitstring: The string that provides the requested entropy. + status: A Boolean value that is TRUE if the request has been satisfied, + and is FALSE otherwise. + Note: In this implementation this function returns a status code instead + of a boolean value. + + @param [in] EntropyBits Number of entropy bits requested. + @param [out] Buffer Buffer to return the entropy bits. + @param [in] BufferSize Size of the Buffer in bytes. + + @retval EFI_SUCCESS The function completed successfully. + @retval EFI_INVALID_PARAMETER Invalid parameter. + @retval EFI_UNSUPPORTED Function not implemented. + @retval EFI_BAD_BUFFER_SIZE Buffer size is too small. + @retval EFI_NOT_READY No Entropy available. +**/ +EFI_STATUS +EFIAPI +GetEntropy ( + IN CONST UINTN EntropyBits, + OUT UINT8 * CONST Buffer, + IN CONST UINTN BufferSize + ) +{ + ASSERT (FALSE); + return EFI_UNSUPPORTED; +} diff --git a/MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.inf b/MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.inf new file mode 100644 index 0000000000000000000000000000000000000000..a700cf66f457f8898d5c51a7b9c0b3d7643ff7f9 --- /dev/null +++ b/MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.inf @@ -0,0 +1,30 @@ +## @file +# Null instance of TRNG (True Random Number Generator) Library. +# +# Copyright (c) 2021, Arm Limited. All rights reserved.
+# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + INF_VERSION = 0x0001001B + BASE_NAME = BaseTrngLibNull + MODULE_UNI_FILE = BaseTrngLibNull.uni + FILE_GUID = ABDE1C87-4F50-4B82-9133-7A79E13F69AB + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = TrngLib + +# +# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 +# + +[Sources] + BaseTrngLibNull.c + +[Packages] + MdePkg/MdePkg.dec + +[LibraryClasses] + DebugLib diff --git a/MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.uni b/MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.uni new file mode 100644 index 0000000000000000000000000000000000000000..1ec7def522e5975e9621eb280776251b1e5502ca --- /dev/null +++ b/MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.uni @@ -0,0 +1,12 @@ +// /** @file +// Null Instance of TRNG (True Random Number Generator) Library. +// +// Copyright (c) 2021, Arm Limited. All rights reserved.
+// +// SPDX-License-Identifier: BSD-2-Clause-Patent +// +// **/ + +#string STR_MODULE_ABSTRACT #language en-US "Null instance of TRNG Library" + +#string STR_MODULE_DESCRIPTION #language en-US "This library instance should be used with modules that inherit an (indirect) dependency on the TrngLib class, but never actually call TrngLib APIs for consuming Entropy." diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index a94959169b2fd9d4b5bf7ad903bf5ce06566c60e..f83753e132e9b9eb4152927fc182701fb1e70ca4 100644 --- a/MdePkg/MdePkg.dsc +++ b/MdePkg/MdePkg.dsc @@ -67,6 +67,7 @@ [Components] MdePkg/Library/DxeRngLib/DxeRngLib.inf MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf + MdePkg/Library/BaseTrngLibNull/BaseTrngLibNull.inf MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'