10 #ifndef MBEDTLS_TIMING_H
11 #define MBEDTLS_TIMING_H
12 #include "mbedtls/private_access.h"
22 #if !defined(MBEDTLS_TIMING_ALT)
30 uint64_t MBEDTLS_PRIVATE(opaque)[4];
38 uint32_t MBEDTLS_PRIVATE(int_ms);
39 uint32_t MBEDTLS_PRIVATE(fin_ms);
struct mbedtls_timing_delay_context mbedtls_timing_delay_context
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().)
uint32_t mbedtls_timing_get_final_delay(const mbedtls_timing_delay_context *data)
Get the final timing delay.
Build-time configuration info.
unsigned long mbedtls_timing_get_timer(struct mbedtls_timing_hr_time *val, int reset)
int mbedtls_timing_get_delay(void *data)
Get the status of delays (Memory helper: number of delays passed.)