Re: [edk2-devel] [PATCH 08/11] OvmfPkg: specify RngLib instances in dsc files

2019-11-14 Thread Wang, Jian J
l > Cc: Justen, Jordan L ; Gao, Liming > ; Ni, Ray > Subject: Re: [edk2-devel] [PATCH 08/11] OvmfPkg: specify RngLib instances in > dsc files > > On 11/14/19 15:40, Wang, Jian J wrote: > > > I'm curious that you want to do the "degrade" dynamically at boo

Re: [edk2-devel] [PATCH 08/11] OvmfPkg: specify RngLib instances in dsc files

2019-11-14 Thread Laszlo Ersek
On 11/14/19 15:40, Wang, Jian J wrote: > I'm curious that you want to do the "degrade" dynamically at boot time not > build time, right? Indeed, that's the whole point. When running on QEMU (considering all of arm/aarch64/i386/x86_64), the firmware can assume quite little of the underlying platfo

Re: [edk2-devel] [PATCH 08/11] OvmfPkg: specify RngLib instances in dsc files

2019-11-14 Thread Wang, Jian J
edk2-devel] [PATCH 08/11] OvmfPkg: specify RngLib instances in > dsc files > > Jian, Ard, > > commenting for both OvmfPkg and ArmVirtPkg: > > On 11/14/19 03:17, Wang, Jian J wrote: > > Per BZ1871, OpensslLib will depend on RngLib instead of TimerLib. > > Update OVMF d

Re: [edk2-devel] [PATCH 08/11] OvmfPkg: specify RngLib instances in dsc files

2019-11-14 Thread Laszlo Ersek
Jian, Ard, commenting for both OvmfPkg and ArmVirtPkg: On 11/14/19 03:17, Wang, Jian J wrote: > Per BZ1871, OpensslLib will depend on RngLib instead of TimerLib. > Update OVMF dsc files to accommodate the coming changes. It's supposed > that only TlsDxe needs random number. The DxeRngLibRngProtoc

[edk2-devel] [PATCH 08/11] OvmfPkg: specify RngLib instances in dsc files

2019-11-13 Thread Wang, Jian J
Per BZ1871, OpensslLib will depend on RngLib instead of TimerLib. Update OVMF dsc files to accommodate the coming changes. It's supposed that only TlsDxe needs random number. The DxeRngLibRngProtocol is added for it. For all other drivers, BaseRngLibNull is used by default. Ref: https://bugzilla.t