]>
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"
14 Sets up the seed value for the pseudorandom number generator.
16 Return FALSE to indicate this interface is not supported.
18 @param[in] Seed Pointer to seed value.
19 If NULL, default seed is used.
20 @param[in] SeedSize Size of seed value.
21 If Seed is NULL, this parameter is ignored.
23 @retval FALSE This interface is not supported.
29 IN CONST UINT8
*Seed OPTIONAL
,
38 Generates a pseudorandom byte stream of the specified size.
40 Return FALSE to indicate this interface is not supported.
42 @param[out] Output Pointer to buffer to receive random value.
43 @param[in] Size Size of random bytes to generate.
45 @retval FALSE This interface is not supported.