Platform Random Number
IntroductionThis header contains function prototypes called by the WAC engine that must be implemented by the platform. These functions are called when the platform needs random numbers or bytes. Functions
PlatformCryptoStrongRandomBytesThis function is called by the WAC engine when it needs cryptographically strong random bytes. This function should fill the inBuffer with inByteCount cryptographically strong bytes. OSStatus PlatformCryptoStrongRandomBytes( void *inBuffer, size_t inByteCount ); ParametersReturn ValuekNoErr if successful or an error code indicating failure. |