From 20ad475cc2d3cf4fb43271f4b344ae3783ccf72d Mon Sep 17 00:00:00 2001 From: TRodziewicz Date: Wed, 7 Apr 2021 09:44:01 +0200 Subject: [PATCH] Remove trailing spaces Signed-off-by: TRodziewicz --- tests/suites/test_suite_ecdsa.function | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/suites/test_suite_ecdsa.function b/tests/suites/test_suite_ecdsa.function index 08bbe632b..5c72d9771 100644 --- a/tests/suites/test_suite_ecdsa.function +++ b/tests/suites/test_suite_ecdsa.function @@ -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 ); } @@ -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 ); } @@ -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 ); }