Commit Graph

5 Commits (feature-secure-time)

Author SHA1 Message Date
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 53a86fb9b3 Use mbedtls_entropy_* for random bytes generation 2018-12-04 16:24:57 -06:00
Michael Schwarcz 44f6b8a07c Add secure_time library implementation 2018-12-04 16:24:57 -06:00