Prefixed macros with MBEDTLS
As per tests/scripts/check-names.sh, macros in
library/ header files should be prefixed with
MBEDTLS_
The macro functions in common.h where also indented
to comply with the same test
Signed-off-by: Joe Subbiani <joe.subbiani@arm.com>
diff --git a/library/ssl_ticket.c b/library/ssl_ticket.c
index b3b8e4c..dfda1e8 100644
--- a/library/ssl_ticket.c
+++ b/library/ssl_ticket.c
@@ -245,8 +245,8 @@
{
goto cleanup;
}
- state_len_bytes[0] = BYTE_1( clear_len );
- state_len_bytes[1] = BYTE_0( clear_len );
+ state_len_bytes[0] = MBEDTLS_BYTE_1( clear_len );
+ state_len_bytes[1] = MBEDTLS_BYTE_0( clear_len );
/* Encrypt and authenticate */
if( ( ret = mbedtls_cipher_auth_encrypt_ext( &key->ctx,