TianoCore EDK2 master
|
#include "TestBaseCryptLib.h"
Go to the source code of this file.
Macros | |
#define | RANDOM_NUMBER_SIZE 256 |
Functions | |
UNIT_TEST_STATUS EFIAPI | TestVerifyPrngGeneration (UNIT_TEST_CONTEXT Context) |
Variables | |
CONST UINT8 | SeedString [] = "This is the random seed for PRNG verification." |
UINT8 | PreviousRandomBuffer [RANDOM_NUMBER_SIZE] = { 0x0 } |
UINT8 | RandomBuffer [RANDOM_NUMBER_SIZE] = { 0x0 } |
TEST_DESC | mPrngTest [] |
UINTN | mPrngTestNum = ARRAY_SIZE (mPrngTest) |
Application for Pseudorandom Number Generator Validation.
Copyright (c) 2010, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file RandTests.c.
#define RANDOM_NUMBER_SIZE 256 |
Definition at line 11 of file RandTests.c.
UNIT_TEST_STATUS EFIAPI TestVerifyPrngGeneration | ( | UNIT_TEST_CONTEXT | Context | ) |
Definition at line 21 of file RandTests.c.
TEST_DESC mPrngTest[] |
Definition at line 44 of file RandTests.c.
UINTN mPrngTestNum = ARRAY_SIZE (mPrngTest) |
Definition at line 51 of file RandTests.c.
UINT8 PreviousRandomBuffer[RANDOM_NUMBER_SIZE] = { 0x0 } |
Definition at line 15 of file RandTests.c.
UINT8 RandomBuffer[RANDOM_NUMBER_SIZE] = { 0x0 } |
Definition at line 17 of file RandTests.c.
CONST UINT8 SeedString[] = "This is the random seed for PRNG verification." |
Definition at line 13 of file RandTests.c.