mbed-os/connectivity/mbedtls/platform/inc
Lingkai Dong f96f98e60e mbedtls: Use LowPowerTimer/Timer for timing
Previously we used `gettimeofday()` for Mbed TLS timing, but its
implementation provided by Mbed OS is only precise to seconds. The
microsecond component of the output `struct timeval` is always set
to zero. But Mbed TLS requires millisecond precision.

To provide required timing precision, switch to use `LowPowerTicker`
or (microsecond) `Ticker`. `LowPowerTicker` is preferred as it saves
power and Mbed TLS does not require microsecond precision.
2021-06-14 17:25:08 +01:00
..
platform_alt.h Move mbedtls 2020-08-11 11:32:08 +01:00
platform_mbed.h mbedtls: Don't attempt to use default_random_seed 2021-05-04 13:56:54 +01:00
shared_rng.h Move mbedtls 2020-08-11 11:32:08 +01:00
timing_alt.h mbedtls: Use LowPowerTimer/Timer for timing 2021-06-14 17:25:08 +01:00