Remove trailing spaces

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
TRodziewicz 2021-04-07 09:44:01 +02:00
parent 5feb6702dd
commit 20ad475cc2

View File

@ -226,11 +226,11 @@ void ecdsa_prim_random( int id )
if ( test_runs == 1 ) if ( test_runs == 1 )
{ {
TEST_ASSERT( mbedtls_test_rnd_pseudo_rand( &rnd_info, TEST_ASSERT( mbedtls_test_rnd_pseudo_rand( &rnd_info,
buf, sizeof( buf ) ) buf, sizeof( buf ) )
== 0 ); == 0 );
} else { } else {
TEST_ASSERT( mbedtls_test_rnd_zero_rand( NULL, TEST_ASSERT( mbedtls_test_rnd_zero_rand( NULL,
buf, sizeof( buf ) ) buf, sizeof( buf ) )
== 0 ); == 0 );
} }
@ -242,7 +242,7 @@ void ecdsa_prim_random( int id )
TEST_ASSERT( mbedtls_ecdsa_sign( &grp, &r, &s, &d, buf, sizeof( buf ), TEST_ASSERT( mbedtls_ecdsa_sign( &grp, &r, &s, &d, buf, sizeof( buf ),
&mbedtls_test_rnd_pseudo_rand, &mbedtls_test_rnd_pseudo_rand,
&rnd_info ) == 0 ); &rnd_info ) == 0 );
TEST_ASSERT( mbedtls_ecdsa_verify( &grp, buf, sizeof( buf ), &Q, &r, &s ) TEST_ASSERT( mbedtls_ecdsa_verify( &grp, buf, sizeof( buf ), &Q, &r, &s )
== 0 ); == 0 );
} }
@ -382,11 +382,11 @@ void ecdsa_write_read_random( int id )
if ( test_runs == 1 ) if ( test_runs == 1 )
{ {
TEST_ASSERT( mbedtls_test_rnd_pseudo_rand( &rnd_info, TEST_ASSERT( mbedtls_test_rnd_pseudo_rand( &rnd_info,
hash, sizeof( hash ) ) hash, sizeof( hash ) )
== 0 ); == 0 );
} else { } else {
TEST_ASSERT( mbedtls_test_rnd_zero_rand( NULL, TEST_ASSERT( mbedtls_test_rnd_zero_rand( NULL,
hash, sizeof( hash ) ) hash, sizeof( hash ) )
== 0 ); == 0 );
} }