mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
Update CMake options of RDRND
Separate CMake option of rdrand and rdseed. In some CPUs only rdrand is supported.
This commit is contained in:
@@ -21,7 +21,10 @@ extern "C" {
|
||||
|
||||
|
||||
int rdrand_bytes(uint8_t *buf, size_t buflen);
|
||||
|
||||
#ifdef INTEL_RDSEED
|
||||
int rdseed_bytes(uint8_t *buf, size_t buflen);
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user