32 #ifndef __BOLOS_TIME_H__ 33 #define __BOLOS_TIME_H__ 60 int bls_time_delta(uint8_t *referenceOut,
size_t referenceOutLength, uint64_t* delta, uint8_t *trusted);
73 int bls_time(uint64_t *time, uint8_t *trusted);
76 #endif // __BOLOS_TIME_H__ int bls_time_supported(void)
Check if time hardware APIs are supported on this platform.
int bls_time_delta(uint8_t *referenceOut, size_t referenceOutLength, uint64_t *delta, uint8_t *trusted)
Return the time difference in seconds between two calls.
int bls_time(uint64_t *time, uint8_t *trusted)
Return the time as the number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC)...