Fix test functions and data after moving hexify/unhexify out

- Separate string and hex parameter as unhexify is moved out of the function. It's input should only be hex.
- Fix test mbedtls_ccm_encrypt_and_tag that grows input message buffer with tag
- Add missing expected length parameter in ECP TLS tests
- Add deleted TEST_ASSERT and mbedtls calls that got removed in script based code generation
This commit is contained in:
Azim Khan 2017-05-31 20:46:35 +01:00 committed by Mohammad Azim Khan
parent 5e7f8df800
commit 46c9b1f196
18 changed files with 795 additions and 790 deletions

View file

@ -122,6 +122,7 @@ void mbedtls_debug_print_buf( char * file, int line, char * text,
mbedtls_ssl_conf_dbg( &conf, string_debug, &buffer);
mbedtls_debug_print_buf( &ssl, 0, file, line, text, data, data_len );
TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );