mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Ability to provide alternate timing implementation
This commit is contained in:
@ -159,6 +159,19 @@
|
||||
* \{
|
||||
*/
|
||||
|
||||
/**
|
||||
* \def POLARSSL_TIMING_ALT
|
||||
*
|
||||
* Uncomment to provide your own alternate implementation for hardclock(),
|
||||
* get_timer(), set_alarm() and m_sleep().
|
||||
*
|
||||
* Only works if you have POLARSSL_TIMING_C enabled.
|
||||
*
|
||||
* You will need to provide a header "timing_alt.h" and an implementation at
|
||||
* compile time.
|
||||
*/
|
||||
//#define POLARSSL_TIMING_ALT
|
||||
|
||||
/**
|
||||
* \def POLARSSL_XXX_ALT
|
||||
*
|
||||
|
Reference in New Issue
Block a user