tests: Add mbedtls_test_ prefix to *hexify functions

Add mbedtls_test_ prefix to hexify() and unhexify()
test helper functions.

Command to change *.function files:
find . -name "*.function" -exec awk -i inplace \
    '{sub(/(un|)hexify\>/,"mbedtls_test_&")}1' {} \;

Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
Ronald Cron
2020-06-12 14:33:08 +02:00
parent e9c09f1efc
commit 72d628f7f5
16 changed files with 107 additions and 103 deletions
+4 -2
View File
@@ -53,8 +53,10 @@
int mbedtls_test_platform_setup( void );
void mbedtls_test_platform_teardown( void );
int unhexify( unsigned char *obuf, const char *ibuf );
void hexify( unsigned char *obuf, const unsigned char *ibuf, int len );
int mbedtls_test_unhexify( unsigned char *obuf, const char *ibuf );
void mbedtls_test_hexify( unsigned char *obuf,
const unsigned char *ibuf,
int len );
/**
* Allocate and zeroize a buffer.