Rename HexParam_t -> data_t for consistent coding style
diff --git a/tests/suites/test_suite_des.function b/tests/suites/test_suite_des.function
index 8fab5e4..b5acb7b 100644
--- a/tests/suites/test_suite_des.function
+++ b/tests/suites/test_suite_des.function
@@ -8,15 +8,15 @@
*/
/* BEGIN_CASE */
-void des_check_weak( HexParam_t * key, int ret )
+void des_check_weak( data_t * key, int ret )
{
TEST_ASSERT( mbedtls_des_key_check_weak( key->x ) == ret );
}
/* END_CASE */
/* BEGIN_CASE */
-void des_encrypt_ecb( HexParam_t * key_str, HexParam_t * src_str,
- HexParam_t * hex_dst_string )
+void des_encrypt_ecb( data_t * key_str, data_t * src_str,
+ data_t * hex_dst_string )
{
unsigned char output[100];
mbedtls_des_context ctx;
@@ -36,8 +36,8 @@
/* END_CASE */
/* BEGIN_CASE */
-void des_decrypt_ecb( HexParam_t * key_str, HexParam_t * src_str,
- HexParam_t * hex_dst_string )
+void des_decrypt_ecb( data_t * key_str, data_t * src_str,
+ data_t * hex_dst_string )
{
unsigned char output[100];
mbedtls_des_context ctx;
@@ -57,8 +57,8 @@
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CBC */
-void des_encrypt_cbc( HexParam_t * key_str, HexParam_t * iv_str,
- HexParam_t * src_str, HexParam_t * hex_dst_string,
+void des_encrypt_cbc( data_t * key_str, data_t * iv_str,
+ data_t * src_str, data_t * hex_dst_string,
int cbc_result )
{
unsigned char output[100];
@@ -82,8 +82,8 @@
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CBC */
-void des_decrypt_cbc( HexParam_t * key_str, HexParam_t * iv_str,
- HexParam_t * src_str, HexParam_t * hex_dst_string,
+void des_decrypt_cbc( data_t * key_str, data_t * iv_str,
+ data_t * src_str, data_t * hex_dst_string,
int cbc_result )
{
unsigned char output[100];
@@ -107,8 +107,8 @@
/* END_CASE */
/* BEGIN_CASE */
-void des3_encrypt_ecb( int key_count, HexParam_t * key_str,
- HexParam_t * src_str, HexParam_t * hex_dst_string )
+void des3_encrypt_ecb( int key_count, data_t * key_str,
+ data_t * src_str, data_t * hex_dst_string )
{
unsigned char output[100];
mbedtls_des3_context ctx;
@@ -134,8 +134,8 @@
/* END_CASE */
/* BEGIN_CASE */
-void des3_decrypt_ecb( int key_count, HexParam_t * key_str,
- HexParam_t * src_str, HexParam_t * hex_dst_string )
+void des3_decrypt_ecb( int key_count, data_t * key_str,
+ data_t * src_str, data_t * hex_dst_string )
{
unsigned char output[100];
mbedtls_des3_context ctx;
@@ -161,9 +161,9 @@
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CBC */
-void des3_encrypt_cbc( int key_count, HexParam_t * key_str,
- HexParam_t * iv_str, HexParam_t * src_str,
- HexParam_t * hex_dst_string, int cbc_result )
+void des3_encrypt_cbc( int key_count, data_t * key_str,
+ data_t * iv_str, data_t * src_str,
+ data_t * hex_dst_string, int cbc_result )
{
unsigned char output[100];
mbedtls_des3_context ctx;
@@ -193,9 +193,9 @@
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CBC */
-void des3_decrypt_cbc( int key_count, HexParam_t * key_str,
- HexParam_t * iv_str, HexParam_t * src_str,
- HexParam_t * hex_dst_string, int cbc_result )
+void des3_decrypt_cbc( int key_count, data_t * key_str,
+ data_t * iv_str, data_t * src_str,
+ data_t * hex_dst_string, int cbc_result )
{
unsigned char output[100];
mbedtls_des3_context ctx;