mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 08:55:42 +00:00
Add MBEDTLS_ERR_SHA512_BAD_INPUT_DATA to error.{h,c}
This commit is contained in:
parent
ba519b94a5
commit
863d483965
|
@ -865,6 +865,8 @@ void mbedtls_strerror( int ret, char *buf, size_t buflen )
|
|||
#if defined(MBEDTLS_SHA512_C)
|
||||
if( use_ret == -(MBEDTLS_ERR_SHA512_HW_ACCEL_FAILED) )
|
||||
mbedtls_snprintf( buf, buflen, "SHA512 - SHA-512 hardware accelerator failed" );
|
||||
if( use_ret == -(MBEDTLS_ERR_SHA512_BAD_INPUT_DATA) )
|
||||
mbedtls_snprintf( buf, buflen, "SHA512 - Invalid input data" );
|
||||
#endif /* MBEDTLS_SHA512_C */
|
||||
|
||||
#if defined(MBEDTLS_THREADING_C)
|
||||
|
|
Loading…
Reference in a new issue