mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 04:55:33 +00:00
Minor fixes to formatting and compilation conditions
This commit is contained in:
parent
f394e09431
commit
ea680197f8
|
@ -501,7 +501,8 @@ int main( int argc, char *argv[] )
|
|||
memset( buf, 0, sizeof( buf ) );
|
||||
memset( tmp, 0, sizeof( tmp ) );
|
||||
TIME_AND_TSC( "AES-CMAC-PRF-128",
|
||||
mbedtls_aes_cmac_prf_128( tmp, 16, buf, BUFSIZE, output ) );
|
||||
mbedtls_aes_cmac_prf_128( tmp, 16, buf, BUFSIZE,
|
||||
output ) );
|
||||
}
|
||||
#endif /* MBEDTLS_CMAC_C */
|
||||
#endif /* MBEDTLS_AES_C */
|
||||
|
|
|
@ -278,7 +278,7 @@ int main( int argc, char *argv[] )
|
|||
suites_tested++;
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_CMAC_C) && ( defined(MBEDTLS_AES_C) || defined(MBEDTLS_DES_C) )
|
||||
#if defined(MBEDTLS_CMAC_C)
|
||||
if( ( mbedtls_cmac_self_test( v ) ) != 0 )
|
||||
{
|
||||
suites_failed++;
|
||||
|
|
Loading…
Reference in a new issue