mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
add missing parameter output_size on psa_cipher_finish
This commit is contained in:
@ -574,7 +574,7 @@ void cipher_test_positive( int alg_arg, int key_type_arg,
|
||||
output, output_size,
|
||||
&output_length) == PSA_SUCCESS );
|
||||
TEST_ASSERT( psa_cipher_finish( &operation, output + output_length,
|
||||
&output_length) == PSA_SUCCESS );
|
||||
output_size, &output_length) == PSA_SUCCESS );
|
||||
|
||||
TEST_ASSERT( psa_cipher_abort( &operation ) == PSA_SUCCESS );
|
||||
|
||||
@ -637,7 +637,7 @@ void cipher_test_decrypt( int alg_arg, int key_type_arg,
|
||||
output, output_size,
|
||||
&output_length) == PSA_SUCCESS );
|
||||
TEST_ASSERT( psa_cipher_finish( &operation, output + output_length,
|
||||
&output_length) == PSA_SUCCESS );
|
||||
output_size, &output_length) == PSA_SUCCESS );
|
||||
|
||||
TEST_ASSERT( psa_cipher_abort( &operation ) == PSA_SUCCESS );
|
||||
|
||||
@ -700,7 +700,7 @@ void cipher_test_verify_output( int alg_arg, int key_type_arg,
|
||||
output1, output1_size,
|
||||
&output1_length) == PSA_SUCCESS );
|
||||
TEST_ASSERT( psa_cipher_finish( &operation1, output1 + output1_length,
|
||||
&tmp_output_length) == PSA_SUCCESS );
|
||||
output1_size, &tmp_output_length) == PSA_SUCCESS );
|
||||
|
||||
output1_length += tmp_output_length;
|
||||
|
||||
@ -715,7 +715,7 @@ void cipher_test_verify_output( int alg_arg, int key_type_arg,
|
||||
output2, output2_size, &output2_length) == PSA_SUCCESS );
|
||||
tmp_output_length = 0;
|
||||
TEST_ASSERT( psa_cipher_finish( &operation2, output2 + output2_length,
|
||||
&tmp_output_length) == PSA_SUCCESS );
|
||||
output2_size, &tmp_output_length) == PSA_SUCCESS );
|
||||
|
||||
output2_length += tmp_output_length;
|
||||
|
||||
|
Reference in New Issue
Block a user