Add new timing test suite that runs the timing self test

This commit is contained in:
Paul Bakker 2016-07-19 14:57:00 +01:00 committed by Simon Butcher
parent 81c60910e1
commit 50157ff5ab
4 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,15 @@
/* BEGIN_HEADER */
#include "mbedtls/timing.h"
/* END_HEADER */
/* BEGIN_DEPENDENCIES
* depends_on:MBEDTLS_TIMING_C
* END_DEPENDENCIES
*/
/* BEGIN_CASE depends_on:MBEDTLS_SELF_TEST */
void timing_selftest()
{
TEST_ASSERT( mbedtls_timing_self_test( 0 ) == 0 );
}
/* END_CASE */