From 2ab14bb2ca8cebc3175b076fa42c293a2bc72202 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Fri, 9 Nov 2018 20:09:33 +0000 Subject: [PATCH] Clarified new platform errors in the ChangeLog Clarified new platform errors and error code deprecations in the ChangeLog. --- ChangeLog | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index dea8bfd03..4abb6254c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -34,14 +34,19 @@ Features with a 1024-bit key. API Changes - * Add a common error code for a feature that is not supported by the - underlying alternative implementations. + * Add a common error code of `MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` for + a feature that is not supported by underlying alternative + implementations implementing cryptographic primitives. This is useful for + hardware accelerators that don't implement all options or features. New deprecations - * All the current module specific errors that mean a feature is not available - are deprecated, so the platform error should be used. - * All the module specific generic hardware accelaration errors that existed - are deprecated, so the platform error should be used. + * All module specific errors following the form + MBEDTLS_ERR_XXX_FEATURE_UNAVAILABLE that indicate a feature is not + supported are deprecated and are now replaced by the new equivalent + platform error. + * All module specific generic hardware accelaration errors following the + form MBEDTLS_ERR_XXX_HW_ACCEL_FAILED that are deprecated and are replaced + by the equivalent plaform error. Bugfix * Fix wrong order of freeing in programs/ssl/ssl_server2 example