mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01:00
selftest supports cmac if only MBEDTLS_DES_C is defined
Other minor typo fixes
This commit is contained in:
parent
9044b0295c
commit
57863ad7ed
5 changed files with 95 additions and 62 deletions
|
|
@ -278,7 +278,7 @@ int main( int argc, char *argv[] )
|
|||
suites_tested++;
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_CMAC_C) && defined(MBEDTLS_AES_C)
|
||||
#if defined(MBEDTLS_CMAC_C) && ( defined(MBEDTLS_AES_C) || defined(MBEDTLS_DES_C) )
|
||||
if( ( ret = mbedtls_cmac_self_test( v ) ) != 0 )
|
||||
return( ret );
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue