Deprecate hardware acceleration errors

Deprecate the module-specific XXX_HW_ACCEL_FAILED and
XXX_FEATURE_UNAVAILABLE errors, as alternative implementations should now
return `MBEDTLS_ERR_PLATFORM_HW_FAILED` and
`MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED`.
This commit is contained in:
Ron Eldor 2018-10-04 10:59:13 +03:00 committed by Jaeden Amero
parent bcca58c6cd
commit 9924bdc792
28 changed files with 95 additions and 29 deletions

View file

@ -35,6 +35,7 @@
#include <stddef.h>
#include <stdint.h>
/* MBEDTLS_ERR_SHA512_HW_ACCEL_FAILED is deprecated and should not be used. */
#define MBEDTLS_ERR_SHA512_HW_ACCEL_FAILED -0x0039 /**< SHA-512 hardware accelerator failed */
#ifdef __cplusplus