]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Rand/CryptRandNull.c
8838e224a0853b9a5ba6904a65dd11571206e655
2 Pseudorandom Number Generator Wrapper Implementation which does not provide
5 Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include "InternalCryptLib.h"
20 Sets up the seed value for the pseudorandom number generator.
22 Return FALSE to indicate this interface is not supported.
24 @param[in] Seed Pointer to seed value.
25 If NULL, default seed is used.
26 @param[in] SeedSize Size of seed value.
27 If Seed is NULL, this parameter is ignored.
29 @retval FALSE This interface is not supported.
35 IN CONST UINT8
*Seed OPTIONAL
,
44 Generates a pseudorandom byte stream of the specified size.
46 Return FALSE to indicate this interface is not supported.
48 @param[out] Output Pointer to buffer to receive random value.
49 @param[in] Size Size of randome bytes to generate.
51 @retval FALSE This interface is not supported.