[entropy] allow for entropy source sharing (#3818)

This commit is contained in:
Kamil Sroka
2019-05-10 09:40:54 +02:00
committed by Jonathan Hui
parent fc580c39e6
commit 56fa9ac9cd
110 changed files with 1510 additions and 598 deletions
+1 -6
View File
@@ -248,12 +248,7 @@ const struct Command Interpreter::sCommands[] = {
{"version", &Interpreter::ProcessVersion},
};
#ifdef OTDLL
uint32_t otPlatRandomGet(void)
{
return (uint32_t)rand();
}
#else
#ifndef OTDLL
void otFreeMemory(const void *)
{
// No-op on systems running OpenThread in-proc