mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 07:54:24 +01:00
Removed trailing whitespace
Signed-off-by: Cédric Meuter <cedric.meuter@gmail.com>
This commit is contained in:
parent
ad27fb03b5
commit
ff3db6a5cf
@ -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.
|
||||||
|
|
||||||
|
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user