Adapted .function files and .data files to new test framework
Changes include:
- Integers marked with '#' in the .function files.
- Strings should have "" in .data files.
- String comparison instead of preprocessor-like replace for e.g. '=='
- Params and variables cannot have the same name in .function files
diff --git a/tests/suites/test_suite_blowfish.function b/tests/suites/test_suite_blowfish.function
index 8a1e344..a7e6785 100644
--- a/tests/suites/test_suite_blowfish.function
+++ b/tests/suites/test_suite_blowfish.function
@@ -7,7 +7,7 @@
END_DEPENDENCIES
BEGIN_CASE
-blowfish_encrypt_ecb:hex_key_string:hex_src_string:hex_dst_string:setkey_result
+blowfish_encrypt_ecb:hex_key_string:hex_src_string:hex_dst_string:#setkey_result
{
unsigned char key_str[100];
unsigned char src_str[100];
@@ -36,7 +36,7 @@
END_CASE
BEGIN_CASE
-blowfish_decrypt_ecb:hex_key_string:hex_src_string:hex_dst_string:setkey_result
+blowfish_decrypt_ecb:hex_key_string:hex_src_string:hex_dst_string:#setkey_result
{
unsigned char key_str[100];
unsigned char src_str[100];
@@ -65,7 +65,7 @@
END_CASE
BEGIN_CASE
-blowfish_encrypt_cbc:hex_key_string:hex_iv_string:hex_src_string:hex_dst_string:cbc_result
+blowfish_encrypt_cbc:hex_key_string:hex_iv_string:hex_src_string:hex_dst_string:#cbc_result
{
unsigned char key_str[100];
unsigned char iv_str[100];
@@ -98,7 +98,7 @@
END_CASE
BEGIN_CASE
-blowfish_decrypt_cbc:hex_key_string:hex_iv_string:hex_src_string:hex_dst_string:cbc_result
+blowfish_decrypt_cbc:hex_key_string:hex_iv_string:hex_src_string:hex_dst_string:#cbc_result
{
unsigned char key_str[100];
unsigned char iv_str[100];