summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/Guid/RngAlgorithm.h
blob: c3121f873b6ed61c89daa470084fb3085dfc59d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/** @file
  Rng Algorithm

  Copyright (c) 2023, Arm Limited. All rights reserved.<BR>
  SPDX-License-Identifier: BSD-2-Clause-Patent
**/

#ifndef RNG_ALGORITHM_GUID_H_
#define RNG_ALGORITHM_GUID_H_

///
/// The implementation of a Random Number Generator might be unsafe, when using
/// a dummy implementation for instance. Allow identifying such implementation
/// with this GUID.
///
#define EDKII_RNG_ALGORITHM_UNSAFE \
  { \
    0x869f728c, 0x409d, 0x4ab4, {0xac, 0x03, 0x71, 0xd3, 0x09, 0xc1, 0xb3, 0xf4 } \
  }

extern EFI_GUID  gEdkiiRngAlgorithmUnSafe;

#endif // #ifndef RNG_ALGORITHM_GUID_H_