Add missing abort call to the end of tests
All tests should have an abort call in case of test failure to make sure
everything is cleaned up. Also removed unused define.
@@ -3343,6 +3343,7 @@ void aead_multipart_encrypt( int key_type_arg, data_t *key_data,
exit:
psa_destroy_key( key );
+ psa_aead_abort( &operation );
mbedtls_free( output_data );
mbedtls_free( part_data );
mbedtls_free( final_data );
@@ -3715,6 +3716,7 @@ void aead_multipart_encrypt_decrypt( int key_type_arg, data_t *key_data,
exit:
psa_destroy_key( key );
+ psa_aead_abort( &operation );
mbedtls_free( output_data );
mbedtls_free( output_data2 );
mbedtls_free( part_data );
@@ -3950,6 +3952,7 @@ void aead_multipart_decrypt( int key_type_arg, data_t *key_data,
exit:
psa_destroy_key( key );
+ psa_aead_abort( &operation );
mbedtls_free( output_data );
mbedtls_free( part_data );
mbedtls_free( final_data );
