mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-03 00:39:57 +00:00
tests: Reformating due to unhexify_alloc() renaming
Command to find the files in which lines have gone
larger than 79 characters due to the renaming:
grep '.\{80\}' \
`git diff-tree --no-commit-id --name-only -r HEAD` \
| grep unhexify_alloc
Signed-off-by: Ronald Cron <[email protected]>
This commit is contained in:
@@ -119,7 +119,8 @@ void aes_encrypt_xts( char *hex_key_string, char *hex_data_unit_string,
|
|||||||
|
|
||||||
mbedtls_aes_xts_init( &ctx );
|
mbedtls_aes_xts_init( &ctx );
|
||||||
|
|
||||||
data_unit = mbedtls_test_unhexify_alloc( hex_data_unit_string, &data_unit_len );
|
data_unit = mbedtls_test_unhexify_alloc( hex_data_unit_string,
|
||||||
|
&data_unit_len );
|
||||||
TEST_ASSERT( data_unit_len == AES_BLOCK_SIZE );
|
TEST_ASSERT( data_unit_len == AES_BLOCK_SIZE );
|
||||||
|
|
||||||
key = mbedtls_test_unhexify_alloc( hex_key_string, &key_len );
|
key = mbedtls_test_unhexify_alloc( hex_key_string, &key_len );
|
||||||
@@ -162,7 +163,8 @@ void aes_decrypt_xts( char *hex_key_string, char *hex_data_unit_string,
|
|||||||
|
|
||||||
mbedtls_aes_xts_init( &ctx );
|
mbedtls_aes_xts_init( &ctx );
|
||||||
|
|
||||||
data_unit = mbedtls_test_unhexify_alloc( hex_data_unit_string, &data_unit_len );
|
data_unit = mbedtls_test_unhexify_alloc( hex_data_unit_string,
|
||||||
|
&data_unit_len );
|
||||||
TEST_ASSERT( data_unit_len == AES_BLOCK_SIZE );
|
TEST_ASSERT( data_unit_len == AES_BLOCK_SIZE );
|
||||||
|
|
||||||
key = mbedtls_test_unhexify_alloc( hex_key_string, &key_len );
|
key = mbedtls_test_unhexify_alloc( hex_key_string, &key_len );
|
||||||
|
|||||||
Reference in New Issue
Block a user