xref: /freebsd/sys/contrib/edk2/Include/Protocol/Rng.h (revision f439973d6726c3be929c8fb3b1545b8b1744abc3)
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 
6 Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8 
9 **/
10 
11 #ifndef EFI_RNG_PROTOCOL_H_
12 #define EFI_RNG_PROTOCOL_H_
13 
14 #include <Guid/Rng.h>
15 
16 ///
17 /// Global ID for the Random Number Generator Protocol
18 ///
19 #define EFI_RNG_PROTOCOL_GUID \
20   { \
21     0x3152bca5, 0xeade, 0x433d, {0x86, 0x2e, 0xc0, 0x1c, 0xdc, 0x29, 0x1f, 0x44 } \
22   }
23 
24 typedef EFI_RNG_INTERFACE EFI_RNG_PROTOCOL;
25 
26 extern EFI_GUID  gEfiRngProtocolGuid;
27 
28 #endif
29