]> git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/OpensslLib/rand_pool_noise.c
CryptoPkg/OpensslLib: Add functions for upgrading OpenSSL1_1_1b
[mirror_edk2.git] / CryptoPkg / Library / OpensslLib / rand_pool_noise.c
1 /** @file
2 Provide rand noise source.
3
4 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #include <Library/BaseLib.h>
10
11 /**
12 Get 64-bit noise source
13
14 @param[out] Rand Buffer pointer to store 64-bit noise source
15
16 @retval FALSE Failed to generate
17 **/
18 BOOLEAN
19 EFIAPI
20 GetRandomNoise64 (
21 OUT UINT64 *Rand
22 )
23 {
24 //
25 // Return FALSE will fallback to use PerformaceCounter to
26 // generate noise.
27 //
28 return FALSE;
29 }