29 #define EFI_RNG_ALGORITHM_SP800_90_HASH_256_GUID \ 31 0xa7af67cb, 0x603b, 0x4d42, {0xba, 0x21, 0x70, 0xbf, 0xb6, 0x29, 0x3f, 0x96 } \ 33 #define EFI_RNG_ALGORITHM_SP800_90_HMAC_256_GUID \ 35 0xc5149b43, 0xae85, 0x4f53, {0x99, 0x82, 0xb9, 0x43, 0x35, 0xd3, 0xa9, 0xe7 } \ 37 #define EFI_RNG_ALGORITHM_SP800_90_CTR_256_GUID \ 39 0x44f0de6e, 0x4d8c, 0x4045, {0xa8, 0xc7, 0x4d, 0xd1, 0x68, 0x85, 0x6b, 0x9e } \ 47 #define EFI_RNG_ALGORITHM_X9_31_3DES_GUID \ 49 0x63c4785a, 0xca34, 0x4012, {0xa3, 0xc8, 0x0b, 0x6a, 0x32, 0x4f, 0x55, 0x46 } \ 51 #define EFI_RNG_ALGORITHM_X9_31_AES_GUID \ 53 0xacd03321, 0x777e, 0x4d3d, {0xb1, 0xc8, 0x20, 0xcf, 0xd8, 0x88, 0x20, 0xc9 } \ 60 #define EFI_RNG_ALGORITHM_RAW \ 62 0xe43176d7, 0xb6e8, 0x4827, {0xb7, 0x84, 0x7f, 0xfd, 0xc4, 0xb6, 0x85, 0x61 } \ 70 #define EFI_RNG_ALGORITHM_ARM_RNDR \ 72 0x43d2fde3, 0x9d4e, 0x4d79, {0x02, 0x96, 0xa8, 0x9b, 0xca, 0x78, 0x08, 0x41} \ 157 #endif // #ifndef RNG_GUID_H_ #define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
128 bit buffer containing a unique identifier value.
EFI_GUID gEfiRngAlgorithmSp80090Hash256Guid
FILE_LICENCE(BSD2_PATENT)
The Random Number Generator (RNG) interface provides random bits for use in applications,...
UINT64 UINTN
Unsigned value of native width.
EFI_GUID gEfiRngAlgorithmArmRndr
EFI_GUID gEfiRngAlgorithmRaw
EFI_GUID gEfiRngAlgorithmX9313DesGuid
EFI_GUID gEfiRngAlgorithmSp80090Ctr256Guid
EFI_GUID EFI_RNG_ALGORITHM
A selection of EFI_RNG_PROTOCOL algorithms.
EFI_STATUS(EFIAPI * EFI_RNG_GET_RNG)(IN EFI_RNG_INTERFACE *This, IN EFI_RNG_ALGORITHM *RNGAlgorithm OPTIONAL, IN UINTN RNGValueLength, OUT UINT8 *RNGValue)
Produces and returns an RNG value using either the default or specified RNG algorithm.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_STATUS(EFIAPI * EFI_RNG_GET_INFO)(IN EFI_RNG_INTERFACE *This, IN OUT UINTN *RNGAlgorithmListSize, OUT EFI_RNG_ALGORITHM *RNGAlgorithmList)
Returns information about the random number generation implementation.
EFI_GUID gEfiRngAlgorithmSp80090Hmac256Guid
EFI_GUID gEfiRngAlgorithmX931AesGuid