[edk2-devel] [PATCH edk2-platforms 02/15] Platform/AMD: add RngLib for Overdriveboard
Ard Biesheuvel
ard.biesheuvel at arm.com
Wed Nov 25 13:09:00 UTC 2020
On 11/25/20 1:55 PM, Leif Lindholm wrote:
> OpenSSL now requires an RngLib. Add the generic
> MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
> to fix Overdrive build.
>
> Cc: Ard Biesheuvel <ard.biesheuvel at arm.com>
> Signed-off-by: Leif Lindholm <leif at nuviainc.com>
> ---
> Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
> index 5a38b9dd96ae..bf4d6dd7b804 100644
> --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
> +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
> @@ -119,6 +119,7 @@ [LibraryClasses.common]
> PlatformFlashAccessLib|Silicon/AMD/Styx/Library/StyxPlatformFlashAccessLib/StyxPlatformFlashAccessLib.inf
>
> OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
> + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
> TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
>
> UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
>
Could we use DxeRngLib here? That will be backed by the h/w RNG instead
of the cycle counter.
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#67963): https://edk2.groups.io/g/devel/message/67963
Mute This Topic: https://groups.io/mt/78498662/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list