iPXE
Rng.h
Go to the documentation of this file.
1/** @file
2 EFI_RNG_PROTOCOL as defined in UEFI 2.4.
3 The UEFI Random Number Generator Protocol is used to provide random bits for use
4 in applications, or entropy for seeding other random number generators.
5
6Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
7SPDX-License-Identifier: BSD-2-Clause-Patent
8
9**/
10
11#pragma once
12
13FILE_LICENCE ( BSD2_PATENT );
14FILE_SECBOOT ( PERMITTED );
15
16#include <ipxe/efi/Guid/Rng.h>
17
18///
19/// Global ID for the Random Number Generator Protocol
20///
21#define EFI_RNG_PROTOCOL_GUID \
22 { \
23 0x3152bca5, 0xeade, 0x433d, {0x86, 0x2e, 0xc0, 0x1c, 0xdc, 0x29, 0x1f, 0x44 } \
24 }
25
27
Random Number Generator (RNG) GUIDs and structures shared across RNG interfaces.
struct _EFI_RNG_INTERFACE EFI_RNG_INTERFACE
Definition Rng.h:15
EFI_RNG_INTERFACE EFI_RNG_PROTOCOL
Definition Rng.h:26
EFI_GUID gEfiRngProtocolGuid
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:921
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:951