Disable timing_selftest() for now

This commit is contained in:
Manuel Pégourié-Gonnard 2014-04-09 09:56:16 +02:00 committed by Paul Bakker
parent 17b85cbd69
commit 0f79babd4b
2 changed files with 7 additions and 1 deletions

View File

@ -326,6 +326,9 @@ void m_sleep( int milliseconds )
/* /*
* Checkup routine * Checkup routine
*
* Warning: this is work in progress, some tests may not be reliable enough
* yet! False positives may happen.
*/ */
int timing_self_test( int verbose ) int timing_self_test( int verbose )
{ {

View File

@ -195,7 +195,10 @@ int main( int argc, char *argv[] )
#endif #endif
#endif #endif
#if defined(POLARSSL_TIMING_C) /*
* Not reliable enough yet
*/
#if 0 && defined(POLARSSL_TIMING_C)
if( ( ret = timing_self_test( v ) ) != 0 ) if( ( ret = timing_self_test( v ) ) != 0 )
return( ret ); return( ret );
#endif #endif