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 EFB3F740038 for ; Wed, 8 May 2024 15:29:33 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=0A32DYMeHmiT6gS7r3whhYuQs/EWu6vVXOraavVE+c4=; 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=1715182172; v=1; b=GtlsWu9RSrcO/nTuJdsgNY+Wknr/VPyLwdnjtQ3I2LmgHQozzArUMM1JP9Q4I7fR4Pj9165w m6OYPCnwXLCCyC9b2dn48V1i4JaeuFEC1qQebbsTO3kxAglxkloJBPO/g3pElE8RxP+jEg5UWcl 6oizQKp5/iSBSbx+kff8fWxursySz2dxfrgnYXAxwRJtIWUmFPXuNC1HNSSwPdLlo5COZkwjy1E /QO6aIDEs/J19v3o9uWHcdosFEoMjtucpZ4zlt00fuGYzxOPJOaTR1J2Nu4LdffauWRo6CuZ3Br qUAnMAmSAk7q2od/7ebGdGnYkzzs8W6WWj4zTpN1ArPJA== X-Received: by 127.0.0.2 with SMTP id M7dsYY7687511xk4XaWKCXDu; Wed, 08 May 2024 08:29:32 -0700 X-Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mx.groups.io with SMTP id smtpd.web10.15706.1715182171721193378 for ; Wed, 08 May 2024 08:29:31 -0700 X-Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-61c4ebd0c99so2975257a12.0 for ; Wed, 08 May 2024 08:29:31 -0700 (PDT) X-Gm-Message-State: tokkWsSXTyzjzzArhyCKV0E4x7686176AA= X-Google-Smtp-Source: AGHT+IHd3bzpErh8/XdagHKgKkHpWvaruhATY42PrIIxg1eAOf42c33uSU2o6HhNMFh9YL2hrw4KUg== X-Received: by 2002:a17:902:e84e:b0:1e3:e259:46c with SMTP id d9443c01a7336-1eeb089be29mr42296715ad.67.1715182170919; Wed, 08 May 2024 08:29:30 -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 kt7-20020a170903088700b001e862f0b319sm12032291plb.264.2024.05.08.08.29.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 08:29:30 -0700 (PDT) From: "Doug Flick via groups.io" To: devel@edk2.groups.io Cc: Andrew Fish , Ray Ni Subject: [edk2-devel] [PATCH v1 01/14] EmulatorPkg: : Add RngDxe to EmulatorPkg Date: Wed, 8 May 2024 08:29:12 -0700 Message-Id: <20240508152925.741226-2-doug.edk2@gmail.com> In-Reply-To: <20240508152925.741226-1-doug.edk2@gmail.com> References: <20240508152925.741226-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 08:29:31 -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=GtlsWu9R; 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 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 (#118674): https://edk2.groups.io/g/devel/message/118674 Mute This Topic: https://groups.io/mt/105983239/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-