Clarified new platform errors in the ChangeLog

Clarified new platform errors and error code deprecations in the ChangeLog.
This commit is contained in:
Simon Butcher 2018-11-09 20:09:33 +00:00
parent e51d4b336b
commit 2ab14bb2ca

View file

@ -34,14 +34,19 @@ Features
with a 1024-bit key. with a 1024-bit key.
API Changes API Changes
* Add a common error code for a feature that is not supported by the * Add a common error code of `MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` for
underlying alternative implementations. 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 New deprecations
* All the current module specific errors that mean a feature is not available * All module specific errors following the form
are deprecated, so the platform error should be used. MBEDTLS_ERR_XXX_FEATURE_UNAVAILABLE that indicate a feature is not
* All the module specific generic hardware accelaration errors that existed supported are deprecated and are now replaced by the new equivalent
are deprecated, so the platform error should be used. 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 Bugfix
* Fix wrong order of freeing in programs/ssl/ssl_server2 example * Fix wrong order of freeing in programs/ssl/ssl_server2 example