mirror of
https://github.com/openssl/openssl.git
synced 2025-03-19 19:50:42 +08:00
rand: declare get_hardware_random_value() before use.
Introduced by #12923 Fixes #13004 Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13005)
This commit is contained in:
parent
7339547d45
commit
53c4992e0b
@ -16,12 +16,13 @@
|
||||
# if defined(OPENSSL_SYS_TANDEM) && defined(_TNS_X_TARGET)
|
||||
# include <builtin.h> /* _rdrand64 */
|
||||
# include <string.h> /* memcpy */
|
||||
static size_t get_hardware_random_value(unsigned char *buf, size_t len);
|
||||
# else
|
||||
size_t OPENSSL_ia32_rdseed_bytes(unsigned char *buf, size_t len);
|
||||
size_t OPENSSL_ia32_rdrand_bytes(unsigned char *buf, size_t len);
|
||||
# endif
|
||||
|
||||
static size_t get_hardware_random_value(unsigned char *buf, size_t len);
|
||||
|
||||
/*
|
||||
* Acquire entropy using Intel-specific cpu instructions
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user