mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-11-05 22:44:49 +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 <ronald.cron@arm.com>
This commit is contained in:
parent
a256c7025f
commit
f73ab008d2
|
|
@ -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 );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue