summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseRngLib/BaseRng.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseRngLib/BaseRng.c')
-rw-r--r--MdePkg/Library/BaseRngLib/BaseRng.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/MdePkg/Library/BaseRngLib/BaseRng.c b/MdePkg/Library/BaseRngLib/BaseRng.c
index 5b63d8f714..cbf405db81 100644
--- a/MdePkg/Library/BaseRngLib/BaseRng.c
+++ b/MdePkg/Library/BaseRngLib/BaseRng.c
@@ -19,8 +19,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
// Uses the recommended value defined in Section 7.3.17 of "Intel 64 and IA-32
// Architectures Software Developer's Manual".
//
-#define GETRANDOM_RETRY_LIMIT 10
-
+#define GETRANDOM_RETRY_LIMIT 10
/**
Generates a 16-bit random number.
@@ -36,7 +35,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
BOOLEAN
EFIAPI
GetRandomNumber16 (
- OUT UINT16 *Rand
+ OUT UINT16 *Rand
)
{
UINT32 Index;
@@ -77,7 +76,7 @@ GetRandomNumber16 (
BOOLEAN
EFIAPI
GetRandomNumber32 (
- OUT UINT32 *Rand
+ OUT UINT32 *Rand
)
{
UINT32 Index;
@@ -118,7 +117,7 @@ GetRandomNumber32 (
BOOLEAN
EFIAPI
GetRandomNumber64 (
- OUT UINT64 *Rand
+ OUT UINT64 *Rand
)
{
UINT32 Index;
@@ -159,7 +158,7 @@ GetRandomNumber64 (
BOOLEAN
EFIAPI
GetRandomNumber128 (
- OUT UINT64 *Rand
+ OUT UINT64 *Rand
)
{
ASSERT (Rand != NULL);