diff --git a/tests/include/test/helpers.h b/tests/include/test/helpers.h index 787b96ab09..757a43be4a 100644 --- a/tests/include/test/helpers.h +++ b/tests/include/test/helpers.h @@ -58,6 +58,13 @@ #include "mbedtls/bignum.h" #endif +/** The type of test case arguments that contain binary data. */ +typedef struct data_tag +{ + uint8_t * x; + uint32_t len; +} data_t; + typedef enum { MBEDTLS_TEST_RESULT_SUCCESS = 0, diff --git a/tests/suites/helpers.function b/tests/suites/helpers.function index 91ad925fbf..a7531e700a 100644 --- a/tests/suites/helpers.function +++ b/tests/suites/helpers.function @@ -51,13 +51,6 @@ typedef UINT32 uint32_t; #include #endif -/* Type for Hex parameters */ -typedef struct data_tag -{ - uint8_t * x; - uint32_t len; -} data_t; - /*----------------------------------------------------------------------------*/ /* Status and error constants */