Removed trailing whitespace

Signed-off-by: Cédric Meuter <cedric.meuter@gmail.com>
This commit is contained in:
Cédric Meuter 2021-01-10 15:40:33 +01:00
parent ad27fb03b5
commit ff3db6a5cf
2 changed files with 1 additions and 3 deletions

View File

@ -3,4 +3,3 @@ Features
signature with a specific salt length. This function allows to validate signature with a specific salt length. This function allows to validate
test cases provided in the NIST's CAVP test suite. Contributed by Cédric test cases provided in the NIST's CAVP test suite. Contributed by Cédric
Meuter in PR #3183. Meuter in PR #3183.

View File

@ -161,14 +161,13 @@ void pkcs1_rsassa_pss_sign( int mod, data_t * input_P, data_t * input_Q,
info.length = rnd_buf->len; info.length = rnd_buf->len;
} }
TEST_ASSERT( mbedtls_rsa_rsassa_pss_sign_ext( &ctx, &mbedtls_test_rnd_buffer_rand, TEST_ASSERT( mbedtls_rsa_rsassa_pss_sign_ext( &ctx, &mbedtls_test_rnd_buffer_rand,
&info, digest, 0, hash_result, &info, digest, 0, hash_result,
fixed_salt_length, output ) == result ); fixed_salt_length, output ) == result );
if( result == 0 ) if( result == 0 )
{ {
ASSERT_COMPARE( output, ctx.len, result_str->x, result_str->len ); ASSERT_COMPARE( output, ctx.len, result_str->x, result_str->len );
} }
exit: exit:
mbedtls_mpi_free( &N ); mbedtls_mpi_free( &P ); mbedtls_mpi_free( &N ); mbedtls_mpi_free( &P );