]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLibNull/Rand/CryptRandNull.c
2 Pseudorandom Number Generator Wrapper Implementation which does not provide
5 Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #include "InternalCryptLib.h"
13 Sets up the seed value for the pseudorandom number generator.
15 Return FALSE to indicate this interface is not supported.
17 @param[in] Seed Pointer to seed value.
18 If NULL, default seed is used.
19 @param[in] SeedSize Size of seed value.
20 If Seed is NULL, this parameter is ignored.
22 @retval FALSE This interface is not supported.
28 IN CONST UINT8
*Seed OPTIONAL
,
37 Generates a pseudorandom byte stream of the specified size.
39 Return FALSE to indicate this interface is not supported.
41 @param[out] Output Pointer to buffer to receive random value.
42 @param[in] Size Size of random bytes to generate.
44 @retval FALSE This interface is not supported.