changes driver as current bsp only supports printf partially
This commit is contained in:
@@ -255,39 +255,39 @@ int main( int argc, char* argv[] ) {
|
||||
rand_bytes_init();
|
||||
|
||||
#if defined( API_AEAD ) && !defined( DRIVER_BYPASS_TEST )
|
||||
printf( "++ test : encrypt" "\n" );
|
||||
printf( "++ test : encrypt\n" "\n" );
|
||||
test_encrypt();
|
||||
printf( "-- test : encrypt" "\n" );
|
||||
printf( "-- test : encrypt\n" "\n" );
|
||||
|
||||
printf( "++ test : decrypt" "\n" );
|
||||
printf( "++ test : decrypt\n" "\n" );
|
||||
test_decrypt();
|
||||
printf( "-- test : decrypt" "\n" );
|
||||
printf( "-- test : decrypt\n" "\n" );
|
||||
#endif
|
||||
|
||||
#if defined( API_HASH ) && !defined( DRIVER_BYPASS_TEST )
|
||||
printf( "++ test : hash" "\n" );
|
||||
printf( "++ test : hash\n" "\n" );
|
||||
test_hash();
|
||||
printf( "-- test : hash" "\n" );
|
||||
printf( "-- test : hash\n" "\n" );
|
||||
#endif
|
||||
|
||||
#if defined( API_AEAD ) && !defined( DRIVER_BYPASS_TIME )
|
||||
printf( "++ time : encrypt" "\n" );
|
||||
printf( "++ time : encrypt\n" "\n" );
|
||||
time_encrypt();
|
||||
printf( "-- time : encrypt" "\n" );
|
||||
printf( "-- time : encrypt\n" "\n" );
|
||||
|
||||
printf( "++ time : decrypt" "\n" );
|
||||
printf( "++ time : decrypt\n" "\n" );
|
||||
time_decrypt();
|
||||
printf( "-- time : decrypt" "\n" );
|
||||
printf( "-- time : decrypt\n" "\n" );
|
||||
|
||||
printf( "++ time : kernel" "\n" );
|
||||
printf( "++ time : kernel\n" "\n" );
|
||||
time_kernel();
|
||||
printf( "-- time : kernel" "\n" );
|
||||
printf( "-- time : kernel\n" "\n" );
|
||||
#endif
|
||||
|
||||
#if defined( API_HASH ) && !defined( DRIVER_BYPASS_TIME )
|
||||
printf( "++ time : hash" "\n" );
|
||||
printf( "++ time : hash\n" "\n" );
|
||||
time_hash();
|
||||
printf( "-- time : hash" "\n" );
|
||||
printf( "-- time : hash\n" "\n" );
|
||||
#endif
|
||||
|
||||
rand_bytes_fini();
|
||||
|
Reference in New Issue
Block a user