selftest supports cmac if only MBEDTLS_DES_C is defined
Other minor typo fixes
This commit is contained in:
parent
3d3c9b8be7
commit
86ff986884
5 changed files with 95 additions and 62 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue