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 647CD780091 for ; Fri, 24 May 2024 05:45:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=g92TogeeY6e1AcgugMWjxyegsoUdO+79gKHpRbW5nwM=; 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=1716529524; v=1; b=jxNkEKn6199vxtnwE4x4uhjjhCwdSSH5naEKAGi0pEN0v1i7xm1CGw8tx0tvKijx9/nRSMOM nGHWO2EpBiBi2WUfRGoWOMJXusEqKFxFC7sPTBFJJfHrIAiP2zbHm6ph0geJKZDHXfQfHgp75JR KAmX3OCcXneGGXBOkjfZWJLYNqlMveNYkJVe46yrEr5HTasMtJ0ZrwyjFO7OCcxB+kfJlmDr03r oaNxGfFxNZ+gxAgUxKHHKpJMpbbeYxI1V31X7BzAzi2YugAGsRC6ZrFYU8MlG0y8ldv+Vo9hWvE jP4WSvwtzdWeVFsaS79CO5I0acuDMbhsVub46oyWcROMg== X-Received: by 127.0.0.2 with SMTP id h5G4YY7687511xTHW7wh8lEq; Thu, 23 May 2024 22:45:24 -0700 X-Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) by mx.groups.io with SMTP id smtpd.web11.9344.1716529519349873683 for ; Thu, 23 May 2024 22:45:19 -0700 X-Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-245435c02e1so3839571fac.0 for ; Thu, 23 May 2024 22:45:19 -0700 (PDT) X-Gm-Message-State: G1CYSa32uCMQqI56ONwSJ52Ix7686176AA= X-Google-Smtp-Source: AGHT+IGcvvdrZxT7G3ebU+Q/ETg+/echQbQrSjaCV5+BnUnXcvIVL+HQdTbv7u2+iW+ZQkxn4m8a2A== X-Received: by 2002:a05:6870:c0d2:b0:23c:bbe9:84c with SMTP id 586e51a60fabf-24ca10f9e41mr1545030fac.12.1716529518555; Thu, 23 May 2024 22:45:18 -0700 (PDT) X-Received: from localhost.localdomain (c-67-160-15-86.hsd1.wa.comcast.net. [67.160.15.86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f8fcfe64a4sm471919b3a.158.2024.05.23.22.45.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 22:45:18 -0700 (PDT) From: "Doug Flick via groups.io" X-Google-Original-From: Flickdm To: devel@edk2.groups.io Cc: Andrew Fish , Ray Ni Subject: [edk2-devel] [PATCH v3 01/20] EmulatorPkg: : Add RngDxe to EmulatorPkg Date: Thu, 23 May 2024 22:44:53 -0700 Message-Id: <20240524054512.523329-2-douglas.flick@microsoft.com> In-Reply-To: <20240524054512.523329-1-douglas.flick@microsoft.com> References: <20240524054512.523329-1-douglas.flick@microsoft.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: Thu, 23 May 2024 22:45:19 -0700 Resent-From: dougflick@microsoft.com Reply-To: devel@edk2.groups.io,dougflick@microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: 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=jxNkEKn6; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io This patch adds RngDxe to EmulatorPkg. The RngDxe is used to provide random number generation services to the UEFI firmware. Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Doug Flick [MSFT] Reviewed-by: Ray Ni --- EmulatorPkg/EmulatorPkg.dsc | 7 ++++++- EmulatorPkg/EmulatorPkg.fdf | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index 5fa1ed345a..0a66294cb7 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -127,9 +127,9 @@ ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf=0D FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf=0D ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/I= magePropertiesRecordLib.inf=0D + RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf=0D =0D !if $(SECURE_BOOT_ENABLE) =3D=3D TRUE=0D - RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf=0D IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf=0D OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf=0D PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecu= reLibNull.inf=0D @@ -398,6 +398,11 @@ EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf=0D EmulatorPkg/TimerDxe/Timer.inf=0D =0D + #=0D + # Rng Protocol producer=0D + #=0D + SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf=0D +=0D !if $(SECURE_BOOT_ENABLE) =3D=3D TRUE=0D SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDx= e.inf=0D !endif=0D diff --git a/EmulatorPkg/EmulatorPkg.fdf b/EmulatorPkg/EmulatorPkg.fdf index 5420756eaa..d756c144d9 100644 --- a/EmulatorPkg/EmulatorPkg.fdf +++ b/EmulatorPkg/EmulatorPkg.fdf @@ -193,6 +193,11 @@ INF RuleOverride =3D UI MdeModulePkg/Application/UiAp= p/UiApp.inf INF MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf=0D INF MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf=0D =0D +#=0D +# Rng Protocol producer=0D +#=0D +INF SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf=0D +=0D #=0D # Secure Boot Key Enroll=0D #=0D @@ -320,4 +325,3 @@ INF ShellPkg/Application/Shell/Shell.inf UI STRING=3D"$(MODULE_NAME)" Optional=0D VERSION STRING=3D"$(INF_VERSION)" Optional BUILD_NUM=3D$(BUILD_NUMBE= R)=0D }=0D -=0D --=20 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119228): https://edk2.groups.io/g/devel/message/119228 Mute This Topic: https://groups.io/mt/106276853/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-