Use Openthread Hardware Entropy Collector (#484)

* create new file named as hardware_entropy.c for mbedtls to use OT hardware entropy source
This commit is contained in:
Lu Wang
2016-09-13 18:38:45 -07:00
committed by Jonathan Hui
parent 44350178ad
commit 043a664cca
4 changed files with 48 additions and 3 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ uint32_t otPlatRandomGet(void)
return mlcg;
}
ThreadError otPlatSecureRandomGet(uint16_t aInputLength, uint8_t *aOutput, uint16_t *aOutputLength)
ThreadError otPlatRandomSecureGet(uint16_t aInputLength, uint8_t *aOutput, uint16_t *aOutputLength)
{
ThreadError error = kThreadError_None;