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 13052D8026F for ; Thu, 9 May 2024 05:56:41 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=6KY8hpuMgYrnraWPvS20/AcrsvU4P/Yf2CV6ZAbKwCY=; 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=1715234200; v=1; b=lN374r/UMz2z/tExlJFvrPNHhG7EZkYM49bNQ94Y96tyqZ2H4y1whOKuMTPz+mBTuFth+7PT 2pdQXjKxHAL6RDvlOfeWnlndOxh4bzYDQDaAwRsu7XFZeSWSllWzsUOGERVxDcWYbDF6V509dn2 A/ZY+1rM3Uo5sA8o4q9acKiwcigOptLg3uUs8MA2oe7MVyRbbzWhGg8Ko5a3sS32jMqjnXZGFJo DxT6wUz5TpkR0g1N4CDwttlm2GwJjVnw8giBD/G24M3wgmS3c8owA+uqRTDp5RRkgs/6QAfpdwn oZh2mP7YyEeB/ycM5+n/ZHPohVztCywrOIYLloT6KQiSQ== X-Received: by 127.0.0.2 with SMTP id TOaTYY7687511xVZnbCYfw8Z; Wed, 08 May 2024 22:56:40 -0700 X-Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) by mx.groups.io with SMTP id smtpd.web10.3653.1715234200065321396 for ; Wed, 08 May 2024 22:56:40 -0700 X-Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-23e94f0788aso261088fac.2 for ; Wed, 08 May 2024 22:56:39 -0700 (PDT) X-Gm-Message-State: mTTAkvLWPceQaSNdVAa3d525x7686176AA= X-Google-Smtp-Source: AGHT+IGamgxTfnVjulFiuon36LoXSM7KXev21Tj+KVppoYUGM4Kh+faI95mGnBcd1IRqdjf2gEn1GA== X-Received: by 2002:a05:6870:310b:b0:23c:58fe:5df5 with SMTP id 586e51a60fabf-2409890ecd7mr5095413fac.14.1715234198794; Wed, 08 May 2024 22:56:38 -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-6f4d2b26cf5sm525611b3a.195.2024.05.08.22.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 22:56:38 -0700 (PDT) From: "Doug Flick via groups.io" To: devel@edk2.groups.io Cc: Andrew Fish , Ray Ni Subject: [edk2-devel] [PATCH v2 01/13] EmulatorPkg: : Add RngDxe to EmulatorPkg Date: Wed, 8 May 2024 22:56:21 -0700 Message-Id: <20240509055633.828642-2-doug.edk2@gmail.com> In-Reply-To: <20240509055633.828642-1-doug.edk2@gmail.com> References: <20240509055633.828642-1-doug.edk2@gmail.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 22:56:40 -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="lN374r/U"; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io From: Doug Flick 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] --- EmulatorPkg/EmulatorPkg.dsc | 9 +++++++-- EmulatorPkg/EmulatorPkg.fdf | 6 +++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index 5fa1ed345a33..0a66294cb768 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -127,9 +127,9 @@ [LibraryClasses] ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf=0D FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf=0D ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/I= magePropertiesRecordLib.inf=0D -=0D -!if $(SECURE_BOOT_ENABLE) =3D=3D TRUE=0D RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf=0D +=0D +!if $(SECURE_BOOT_ENABLE) =3D=3D TRUE=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 @@ [Components] 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 5420756eaa6f..d756c144d94d 100644 --- a/EmulatorPkg/EmulatorPkg.fdf +++ b/EmulatorPkg/EmulatorPkg.fdf @@ -193,6 +193,11 @@ [FV.FvRecovery] 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 @@ [Rule.Common.UEFI_APPLICATION.BINARY] 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 (#118717): https://edk2.groups.io/g/devel/message/118717 Mute This Topic: https://groups.io/mt/105996579/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-