mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Implement byte reading macros to remaining files
The previous commits cherry picked from the changes made with relation to the development branch. This commit makes the appropriate chnages to the files not present in the development branch. Signed-off-by: Joe Subbiani <joe.subbiani@arm.com>
This commit is contained in:
@ -494,8 +494,8 @@ static void ssl_mac( mbedtls_md_context_t *md_ctx,
|
||||
|
||||
memcpy( header, ctr, 8 );
|
||||
header[ 8] = (unsigned char) type;
|
||||
header[ 9] = (unsigned char)( len >> 8 );
|
||||
header[10] = (unsigned char)( len );
|
||||
header[ 9] = MBEDTLS_BYTE_1( len );
|
||||
header[10] = MBEDTLS_BYTE_0( len );
|
||||
|
||||
memset( padding, 0x36, padlen );
|
||||
mbedtls_md_starts( md_ctx );
|
||||
|
Reference in New Issue
Block a user