mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
selftest supports cmac if only MBEDTLS_DES_C is defined
Other minor typo fixes
This commit is contained in:
committed by
Simon Butcher
parent
9044b0295c
commit
57863ad7ed
@ -587,6 +587,8 @@ void mbedtls_strerror( int ret, char *buf, size_t buflen )
|
||||
mbedtls_snprintf( buf, buflen, "CMAC - Bad input parameters to function" );
|
||||
if( use_ret == -(MBEDTLS_ERR_CMAC_VERIFY_FAILED) )
|
||||
mbedtls_snprintf( buf, buflen, "CMAC - Verification failed" );
|
||||
if( use_ret == -(MBEDTLS_ERR_CMAC_ALLOC_FAILED) )
|
||||
mbedtls_snprintf( buf, buflen, "CMAC - Failed to allocate memory" );
|
||||
#endif /* MBEDTLS_CMAC_C */
|
||||
|
||||
#if defined(MBEDTLS_CTR_DRBG_C)
|
||||
|
Reference in New Issue
Block a user