mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-08 23:49:24 +01:00
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
This commit is contained in:
parent
1934318dce
commit
dbd443dca6
33 changed files with 793 additions and 741 deletions
|
|
@ -7,7 +7,7 @@ depends_on:POLARSSL_BASE64_C
|
|||
END_DEPENDENCIES
|
||||
|
||||
BEGIN_CASE
|
||||
base64_encode:src_string:dst_string:dst_buf_size:result
|
||||
base64_encode:src_string:dst_string:#dst_buf_size:#result
|
||||
{
|
||||
unsigned char src_str[1000];
|
||||
unsigned char dst_str[1000];
|
||||
|
|
@ -26,7 +26,7 @@ base64_encode:src_string:dst_string:dst_buf_size:result
|
|||
END_CASE
|
||||
|
||||
BEGIN_CASE
|
||||
base64_decode:src_string:dst_string:result
|
||||
base64_decode:src_string:dst_string:#result
|
||||
{
|
||||
unsigned char src_str[1000];
|
||||
unsigned char dst_str[1000];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue