TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | ArchGetRandomNumber16 (OUT UINT16 *Rand) |
BOOLEAN EFIAPI | ArchGetRandomNumber32 (OUT UINT32 *Rand) |
BOOLEAN EFIAPI | ArchGetRandomNumber64 (OUT UINT64 *Rand) |
BOOLEAN EFIAPI | ArchIsRngSupported (VOID) |
Architecture specific interface to RNG functionality.
Copyright (c) 2021, NUVIA Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file BaseRngLibInternals.h.
BOOLEAN EFIAPI ArchGetRandomNumber16 | ( | OUT UINT16 * | Rand | ) |
BOOLEAN EFIAPI ArchGetRandomNumber32 | ( | OUT UINT32 * | Rand | ) |
BOOLEAN EFIAPI ArchGetRandomNumber64 | ( | OUT UINT64 * | Rand | ) |
BOOLEAN EFIAPI ArchIsRngSupported | ( | VOID | ) |
Checks whether the RNG instruction is supported.
TRUE | RNG instruction is supported. |
FALSE | RNG instruction is not supported. |
Checks whether RNDR is supported.
TRUE | RNDR is supported. |
FALSE | RNDR is not supported. |
Checks whether RDRAND is supported.
TRUE | RDRAND is supported. |
FALSE | RDRAND is not supported. |
Checks whether SEED is supported.
TRUE | SEED is supported. |