Kawe Mazidjatari b3a68ed095 Add EABase, EAThread and DirtySDK to R5sdk
DirtySDK (EA's Dirty Sockets library) will be used for the LiveAPI implementation, and depends on: EABase, EAThread.
2024-04-05 18:29:03 +02:00

54 lines
1.2 KiB
C

/*H********************************************************************************/
/*!
\File cryptrand.h
\Description
Cryptographic random number generator. Uses system-defined rng where
available.
\Copyright
Copyright (c) 2012 Electronic Arts Inc.
\Version 12/05/2012 (jbrookes) First Version
*/
/********************************************************************************H*/
#ifndef _cryptrand_h
#define _cryptrand_h
/*!
\Moduledef CryptRand CryptRand
\Modulemember Crypt
*/
//@{
/*** Include files ****************************************************************/
#include "DirtySDK/platform.h"
/*** Defines **********************************************************************/
/*** Macros ***********************************************************************/
/*** Type Definitions *************************************************************/
/*** Variables ********************************************************************/
/*** Functions ********************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
// get random data
DIRTYCODE_API void CryptRandGet(uint8_t *pBuffer, int32_t iBufSize);
#ifdef __cplusplus
}
#endif
//@}
#endif // _cryptrand_h