Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
Signed-off-by: TRodziewicz <[email protected]>
  • Loading branch information
tomasz-rodziewicz-mobica committed Apr 7, 2021
1 parent 5feb670 commit 20ad475
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/suites/test_suite_ecdsa.function
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ void ecdsa_prim_random( int id )
if ( test_runs == 1 )
{
TEST_ASSERT( mbedtls_test_rnd_pseudo_rand( &rnd_info,
buf, sizeof( buf ) )
buf, sizeof( buf ) )
== 0 );
} else {
TEST_ASSERT( mbedtls_test_rnd_zero_rand( NULL,
buf, sizeof( buf ) )
buf, sizeof( buf ) )
== 0 );
}

Expand All @@ -242,7 +242,7 @@ void ecdsa_prim_random( int id )
TEST_ASSERT( mbedtls_ecdsa_sign( &grp, &r, &s, &d, buf, sizeof( buf ),
&mbedtls_test_rnd_pseudo_rand,
&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 );
}

Expand Down Expand Up @@ -382,11 +382,11 @@ void ecdsa_write_read_random( int id )
if ( test_runs == 1 )
{
TEST_ASSERT( mbedtls_test_rnd_pseudo_rand( &rnd_info,
hash, sizeof( hash ) )
hash, sizeof( hash ) )
== 0 );
} else {
TEST_ASSERT( mbedtls_test_rnd_zero_rand( NULL,
hash, sizeof( hash ) )
hash, sizeof( hash ) )
== 0 );
}

Expand Down

0 comments on commit 20ad475

Please sign in to comment.