mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-26 09:16:47 +01:00
Add new timing test suite that runs the timing self test
This commit is contained in:
parent
81c60910e1
commit
50157ff5ab
4 changed files with 23 additions and 1 deletions
15
tests/suites/test_suite_timing.function
Normal file
15
tests/suites/test_suite_timing.function
Normal 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue