summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2022-11-24 17:17:55 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-03-07 15:34:23 +0000
commit75fb0cfc82376906243386514be0e4067d702117 (patch)
treebe3e93f1fdb02bcec8f1db951234175524b8b949 /OvmfPkg
parentbfb574db110899471fe09db819587b3151c7b7b5 (diff)
downloadedk2-75fb0cfc82376906243386514be0e4067d702117.tar.gz
edk2-75fb0cfc82376906243386514be0e4067d702117.tar.bz2
edk2-75fb0cfc82376906243386514be0e4067d702117.zip
SecurityPkg/RngDxe: Conditionally install EFI_RNG_PROTOCOL
On Arm platforms, the number of available RNG algorithms is dynamically detected and can be 0 in the absence of FEAT_RNG and firmware TRNG. In this case, the EFI_RNG_PROTOCOL should not be installed to prevent from installing an empty protocol. Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> [ardb: return EFI_REQUEST_UNLOAD_IMAGE instead of an error] Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'OvmfPkg')
0 files changed, 0 insertions, 0 deletions