audk/SecurityPkg/RandomNumberGenerator/RngDxe
Pierre Gondois 75fb0cfc82 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>
2023-03-07 15:34:23 +00:00
..
AArch64 SecurityPkg/RngDxe: Add Arm support of RngDxe 2022-11-06 16:32:28 +00:00
Arm SecurityPkg/RngDxe: Add Arm support of RngDxe 2022-11-06 16:32:28 +00:00
Rand SecurityPkg/RngDxe: Correctly update mAvailableAlgoArrayCount 2023-03-07 15:34:23 +00:00
ArmRngDxe.c SecurityPkg/RngDxe: Correctly update mAvailableAlgoArrayCount 2023-03-07 15:34:23 +00:00
ArmTrng.c SecurityPkg/RngDxe: Add AArch64 RawAlgorithm support through ArmTrngLib 2022-11-06 16:32:28 +00:00
RngDxe.c SecurityPkg/RngDxe: Conditionally install EFI_RNG_PROTOCOL 2023-03-07 15:34:23 +00:00
RngDxe.inf SecurityPkg/RngDxe: Add Arm support of RngDxe 2022-11-06 16:32:28 +00:00
RngDxe.uni
RngDxeExtra.uni
RngDxeInternals.h SecurityPkg/RngDxe: Check before advertising Cpu Rng algo 2022-11-06 16:32:28 +00:00