diff options
Diffstat (limited to 'MdePkg/Include/Library/RngLib.h')
-rw-r--r-- | MdePkg/Include/Library/RngLib.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/MdePkg/Include/Library/RngLib.h b/MdePkg/Include/Library/RngLib.h index 157a93139c..ece4394168 100644 --- a/MdePkg/Include/Library/RngLib.h +++ b/MdePkg/Include/Library/RngLib.h @@ -66,4 +66,21 @@ GetRandomNumber64 ( OUT UINT64 *Rand
);
+/**
+ Generates a 128-bit random number.
+
+ if Rand is NULL, then ASSERT().
+
+ @param[out] Rand Buffer pointer to store the 128-bit random value.
+
+ @retval TRUE Random number generated successfully.
+ @retval FALSE Failed to generate the random number.
+
+**/
+BOOLEAN
+EFIAPI
+GetRandomNumber128 (
+ OUT UINT64 *Rand
+ );
+
#endif // __RNG_LIB_H__
|