Commit Graph

5 Commits (be1bc94a0b4ec34d2fa81f72e43dcff012564f07)

Author SHA1 Message Date
Danny Shavit be1bc94a0b Fix secure_time_get_impl
We now handle the case of  invalid boot_time, returning stored_time + secs_since_boot
2018-12-04 16:24:58 -06:00
Michael Schwarcz 6cd9af7070 Review fixes 2018-12-04 16:24:58 -06:00
Michael Schwarcz 0dd966dd0d Build secure-time only on platform with NVSTORE and DEVICE_TRNG
- Add mbed_lib.json with SECURE_TIME_ENABLED macro defaulted to 1.
- Disable SECURE_TIME_ENABLED if NVSTORE or DEVICE_TRNG are disabled.
- Compile secure-time sources only if SECURE_TIME_ENABLED is enabled.
2018-12-04 16:24:57 -06:00
Michael Schwarcz 0476b21c69 CR fixes 2018-12-04 16:24:57 -06:00
Michael Schwarcz 44f6b8a07c Add secure_time library implementation 2018-12-04 16:24:57 -06:00