mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 19:38:21 +00:00
Minor fixes to formatting and compilation conditions
This commit is contained in:
parent
69283e51d5
commit
b981b16379
2 changed files with 7 additions and 6 deletions
|
@ -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