TianoCore EDK2 master
|
#include "InternalCryptLib.h"
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | RandomSeed (IN CONST UINT8 *Seed OPTIONAL, IN UINTN SeedSize) |
BOOLEAN EFIAPI | RandomBytes (OUT UINT8 *Output, IN UINTN Size) |
Pseudorandom Number Generator Wrapper Implementation which does not provide real capabilities.
Copyright (c) 2012, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CryptRandNull.c.
Generates a pseudorandom byte stream of the specified size.
Return FALSE to indicate this interface is not supported.
[out] | Output | Pointer to buffer to receive random value. |
[in] | Size | Size of random bytes to generate. |
FALSE | This interface is not supported. |
Definition at line 49 of file CryptRandNull.c.
Sets up the seed value for the pseudorandom number generator.
Return FALSE to indicate this interface is not supported.
[in] | Seed | Pointer to seed value. If NULL, default seed is used. |
[in] | SeedSize | Size of seed value. If Seed is NULL, this parameter is ignored. |
FALSE | This interface is not supported. |
Definition at line 27 of file CryptRandNull.c.