1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Add timing_self_test() with consistency tests

This commit is contained in:
Manuel Pégourié-Gonnard
2014-03-27 20:07:08 +01:00
parent 487588d0bf
commit 470fc935b5
3 changed files with 140 additions and 4 deletions

View File

@ -74,6 +74,15 @@ void set_alarm( int seconds );
*/
void m_sleep( int milliseconds );
#if defined(POLARSSL_SELF_TEST)
/**
* \brief Checkup routine
*
* \return 0 if successful, or 1 if a test failed
*/
int timing_self_test( int verbose );
#endif
#ifdef __cplusplus
}
#endif