mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 01:55:46 +01:00
Fix style in ARIA parameter validation tests
This commit is contained in:
parent
2f87504cb7
commit
fac1d44d62
@ -33,15 +33,15 @@ void aria_invalid_param( )
|
|||||||
mbedtls_aria_setkey_enc( NULL, key,
|
mbedtls_aria_setkey_enc( NULL, key,
|
||||||
sizeof( key ) ) );
|
sizeof( key ) ) );
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
||||||
mbedtls_aria_setkey_enc( &ctx, NULL,
|
mbedtls_aria_setkey_enc( &ctx, NULL,
|
||||||
sizeof( key ) ) );
|
sizeof( key ) ) );
|
||||||
|
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
||||||
mbedtls_aria_setkey_dec( NULL, key,
|
mbedtls_aria_setkey_dec( NULL, key,
|
||||||
sizeof( key ) ) );
|
sizeof( key ) ) );
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
||||||
mbedtls_aria_setkey_dec( &ctx, NULL,
|
mbedtls_aria_setkey_dec( &ctx, NULL,
|
||||||
sizeof( key ) ) );
|
sizeof( key ) ) );
|
||||||
|
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
||||||
mbedtls_aria_crypt_ecb( NULL, input, output ) );
|
mbedtls_aria_crypt_ecb( NULL, input, output ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user