Use a mutex in platform setup \ teardown functions
Use a singleton Mutex in platforms_alt functions, to be shared
with the trng function, to save RAM. Rename `platform_alt.c`
to `platform_alt.cpp` as the mutex is in a `singletonPtr`
template class.
ls
1 parent c94b586 commit 77f9faf46cefdaf5dfd1dcf7feed118bde8e5bf9
@Ron Eldor Ron Eldor authored on 14 Feb 2019
Showing 3 changed files
View
features/mbedtls/platform/src/mbed_trng.cpp
View
features/mbedtls/platform/src/platform_alt.c 100644 → 0
View
features/mbedtls/platform/src/platform_alt.cpp 0 → 100644