On Thu, Oct 01, 2020 at 12:06:07 +0100, Andrew Goodbody wrote: > > Anyway, yes - commit b5701a4c7a0f ("CryptoPkg: OpensslLib: Use RngLib > > to generate entropy in rand_pool"), merged through > > https://github.com/tianocore/edk2/pull/938 broke EmulatorPkg, and most > > platforms outside the main edk2 tree. > > > > This should have been handled better. > > > > But the fix is simple - if the platform port produces EFI_RNG_PROTOCOL > > from some onboard hw, you can use the approach from edk2-platforms > > commit 1e09147a01ae ("Platforms/RaspberryPi: Fix RPi4 RngLib build error"). > > Otherwise, you can use the approach used in edk2 commit 416813753726 > > ("ArmVirtPkg: Add RngLib based on TimerLib for CryptoPkg"). > > Just to be sure I understand this - most platforms outside of the main edk2 > tree are going to need updating to take account of this change.
Well, most non-x86 platforms. There is an RdRand implementation in tree, which I expect most platforms that could use already did. / Leif -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#65796): https://edk2.groups.io/g/devel/message/65796 Mute This Topic: https://groups.io/mt/77236499/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-