summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RandTests.c
diff options
context:
space:
mode:
Diffstat (limited to 'CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RandTests.c')
-rw-r--r--CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RandTests.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RandTests.c b/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RandTests.c
index cc6b2ca46b..9d297f0052 100644
--- a/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RandTests.c
+++ b/CryptoPkg/Test/UnitTest/Library/BaseCryptLib/RandTests.c
@@ -19,7 +19,7 @@ UINT8 RandomBuffer[RANDOM_NUMBER_SIZE] = { 0x0 };
UNIT_TEST_STATUS
EFIAPI
TestVerifyPrngGeneration (
- UNIT_TEST_CONTEXT Context
+ UNIT_TEST_CONTEXT Context
)
{
UINTN Index;
@@ -28,7 +28,7 @@ TestVerifyPrngGeneration (
Status = RandomSeed (SeedString, sizeof (SeedString));
UT_ASSERT_TRUE (Status);
- for (Index = 0; Index < 10; Index ++) {
+ for (Index = 0; Index < 10; Index++) {
Status = RandomBytes (RandomBuffer, RANDOM_NUMBER_SIZE);
UT_ASSERT_TRUE (Status);
@@ -41,11 +41,11 @@ TestVerifyPrngGeneration (
return UNIT_TEST_PASSED;
}
-TEST_DESC mPrngTest[] = {
- //
- // -----Description--------------------------------Class--------------------Function----------------Pre---Post--Context
- //
- {"TestVerifyPrngGeneration()", "CryptoPkg.BaseCryptLib.Prng", TestVerifyPrngGeneration, NULL, NULL, NULL},
+TEST_DESC mPrngTest[] = {
+ //
+ // -----Description--------------------------------Class--------------------Function----------------Pre---Post--Context
+ //
+ { "TestVerifyPrngGeneration()", "CryptoPkg.BaseCryptLib.Prng", TestVerifyPrngGeneration, NULL, NULL, NULL },
};
-UINTN mPrngTestNum = ARRAY_SIZE(mPrngTest);
+UINTN mPrngTestNum = ARRAY_SIZE (mPrngTest);