57QSC_CPLUSPLUS_ENABLED_START
88#define QSC_RDP_SEED_MAX 1024000U
128QSC_CPLUSPLUS_ENABLED_END
Contains common definitions for the Quantum Secure Cryptographic (QSC) library.
#define QSC_EXPORT_API
API export macro for Microsoft compilers when importing from a DLL.
Definition qsccommon.h:645
QSC_EXPORT_API uint16_t qsc_rdp_uint16(void)
Generate a random 16-bit unsigned integer using the RDRAND entropy provider.
Definition rdp.c:134
QSC_EXPORT_API uint32_t qsc_rdp_uint32(void)
Generate a random 32-bit unsigned integer using the RDRAND entropy provider.
Definition rdp.c:152
QSC_EXPORT_API bool qsc_rdrand_available(void)
Test whether the platform exposes a usable high-resolution timer.
Definition rdp.c:13
QSC_EXPORT_API uint64_t qsc_rdp_uint64(void)
Generate a random 64-bit unsigned integer using the RDRAND entropy provider.
Definition rdp.c:172
QSC_EXPORT_API bool qsc_rdp_generate(uint8_t *output, size_t length)
Generate an array of random bytes using the RDRAND entropy provider.
Definition rdp.c:22