mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 15:14:17 +01:00
Fix unused param warnings in test function
This commit is contained in:
parent
e55e103bfe
commit
488d9309fc
@ -563,13 +563,21 @@ void aes_check_params( )
|
|||||||
/* BEGIN_CASE */
|
/* BEGIN_CASE */
|
||||||
void aes_misc_params( )
|
void aes_misc_params( )
|
||||||
{
|
{
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_CBC) || \
|
||||||
|
defined(MBEDTLS_CIPHER_MODE_XTS) || \
|
||||||
|
defined(MBEDTLS_CIPHER_MODE_CFB) || \
|
||||||
|
defined(MBEDTLS_CIPHER_MODE_OFB)
|
||||||
mbedtls_aes_context aes_ctx;
|
mbedtls_aes_context aes_ctx;
|
||||||
|
const unsigned char in[16] = { 0 };
|
||||||
|
unsigned char out[16];
|
||||||
|
#endif
|
||||||
#if defined(MBEDTLS_CIPHER_MODE_XTS)
|
#if defined(MBEDTLS_CIPHER_MODE_XTS)
|
||||||
mbedtls_aes_xts_context xts_ctx;
|
mbedtls_aes_xts_context xts_ctx;
|
||||||
#endif
|
#endif
|
||||||
const unsigned char in[16] = { 0 };
|
#if defined(MBEDTLS_CIPHER_MODE_CFB) || \
|
||||||
unsigned char out[16];
|
defined(MBEDTLS_CIPHER_MODE_OFB)
|
||||||
size_t size;
|
size_t size;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* These calls accept NULL */
|
/* These calls accept NULL */
|
||||||
TEST_VALID_PARAM( mbedtls_aes_free( NULL ) );
|
TEST_VALID_PARAM( mbedtls_aes_free( NULL ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user