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#ifndef EFI_RNG_PROTOCOL_H_
12#define EFI_RNG_PROTOCOL_H_
13
14FILE_LICENCE ( BSD2_PATENT );
15FILE_SECBOOT ( PERMITTED );
16
17#include <ipxe/efi/Guid/Rng.h>
18
19///
20/// Global ID for the Random Number Generator Protocol
21///
22#define EFI_RNG_PROTOCOL_GUID \
23 { \
24 0x3152bca5, 0xeade, 0x433d, {0x86, 0x2e, 0xc0, 0x1c, 0xdc, 0x29, 0x1f, 0x44 } \
25 }
26
28
30
31#endif
Random Number Generator (RNG) GUIDs and structures shared across RNG interfaces.
struct _EFI_RNG_INTERFACE EFI_RNG_INTERFACE
Definition Rng.h:16
EFI_RNG_INTERFACE EFI_RNG_PROTOCOL
Definition Rng.h:27
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:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926