diff options
Diffstat (limited to 'sys/contrib/edk2/Include/Protocol/Rng.h')
| -rw-r--r-- | sys/contrib/edk2/Include/Protocol/Rng.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys/contrib/edk2/Include/Protocol/Rng.h b/sys/contrib/edk2/Include/Protocol/Rng.h new file mode 100644 index 000000000000..5c3e1daa1e2e --- /dev/null +++ b/sys/contrib/edk2/Include/Protocol/Rng.h @@ -0,0 +1,28 @@ +/** @file + EFI_RNG_PROTOCOL as defined in UEFI 2.4. + The UEFI Random Number Generator Protocol is used to provide random bits for use + in applications, or entropy for seeding other random number generators. + +Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> +SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef EFI_RNG_PROTOCOL_H_ +#define EFI_RNG_PROTOCOL_H_ + +#include <Guid/Rng.h> + +/// +/// Global ID for the Random Number Generator Protocol +/// +#define EFI_RNG_PROTOCOL_GUID \ + { \ + 0x3152bca5, 0xeade, 0x433d, {0x86, 0x2e, 0xc0, 0x1c, 0xdc, 0x29, 0x1f, 0x44 } \ + } + +typedef EFI_RNG_INTERFACE EFI_RNG_PROTOCOL; + +extern EFI_GUID gEfiRngProtocolGuid; + +#endif |
