diff --git a/tests/suites/test_suite_aes.function b/tests/suites/test_suite_aes.function index fc2cbacc3..c45a9ed6f 100644 --- a/tests/suites/test_suite_aes.function +++ b/tests/suites/test_suite_aes.function @@ -303,7 +303,7 @@ void aes_encrypt_ofb( int fragment_size, char *hex_key_string, size_t iv_offset = 0; int in_buffer_len; unsigned char* src_str_next; - int key_len, iv_len; + int key_len; memset(key_str, 0x00, 100); memset(iv_str, 0x00, 100); @@ -313,7 +313,7 @@ void aes_encrypt_ofb( int fragment_size, char *hex_key_string, mbedtls_aes_init( &ctx ); key_len = unhexify( key_str, hex_key_string ); - iv_len = unhexify( iv_str, hex_iv_string ); + unhexify( iv_str, hex_iv_string ); in_buffer_len = unhexify( src_str, hex_src_string ); TEST_ASSERT( mbedtls_aes_setkey_enc( &ctx, key_str, key_len * 8 ) == 0 );