23 #ifndef MBEDTLS_TIMING_H 24 #define MBEDTLS_TIMING_H 26 #if !defined(MBEDTLS_CONFIG_FILE) 29 #include MBEDTLS_CONFIG_FILE 32 #if !defined(MBEDTLS_TIMING_ALT) 121 #include "timing_alt.h" 128 #if defined(MBEDTLS_SELF_TEST) timer structure
Definition: timing.h:45
Definition: btstack_hid.c:110
GLuint GLfloat * val
Definition: glext.h:7847
Configuration options (set of defines)
uint32_t int_ms
Definition: timing.h:56
int mbedtls_timing_self_test(int verbose)
Checkup routine.
Definition: timing.c:395
void mbedtls_set_alarm(int seconds)
Setup an alarm clock.
Definition: timing.c:313
void mbedtls_timing_set_delay(void *data, uint32_t int_ms, uint32_t fin_ms)
Set a pair of delays to watch (See mbedtls_timing_get_delay().)
Definition: timing.c:325
unsigned char opaque[32]
Definition: timing.h:47
GLboolean reset
Definition: glext.h:6318
int mbedtls_timing_get_delay(void *data)
Get the status of delays (Memory helper: number of delays passed.)
Definition: timing.c:339
Context for mbedtls_timing_set/get_delay()
Definition: timing.h:53
volatile int mbedtls_timing_alarmed
Definition: timing.c:241
unsigned long mbedtls_timing_get_timer(struct mbedtls_timing_hr_time *val, int reset)
Return the elapsed time in milliseconds.
Definition: timing.c:286
unsigned int uint32_t
Definition: stdint.h:126
unsigned long mbedtls_timing_hardclock(void)
Return the CPU cycle counter value.
Definition: timing.c:225
uint32_t fin_ms
Definition: timing.h:57