Skip to content

Commit 2ab14bb

Browse files
committed
Clarified new platform errors in the ChangeLog
Clarified new platform errors and error code deprecations in the ChangeLog.
1 parent e51d4b3 commit 2ab14bb

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

ChangeLog

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,19 @@ Features
3434
with a 1024-bit key.
3535

3636
API Changes
37-
* Add a common error code for a feature that is not supported by the
38-
underlying alternative implementations.
37+
* Add a common error code of `MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` for
38+
a feature that is not supported by underlying alternative
39+
implementations implementing cryptographic primitives. This is useful for
40+
hardware accelerators that don't implement all options or features.
3941

4042
New deprecations
41-
* All the current module specific errors that mean a feature is not available
42-
are deprecated, so the platform error should be used.
43-
* All the module specific generic hardware accelaration errors that existed
44-
are deprecated, so the platform error should be used.
43+
* All module specific errors following the form
44+
MBEDTLS_ERR_XXX_FEATURE_UNAVAILABLE that indicate a feature is not
45+
supported are deprecated and are now replaced by the new equivalent
46+
platform error.
47+
* All module specific generic hardware accelaration errors following the
48+
form MBEDTLS_ERR_XXX_HW_ACCEL_FAILED that are deprecated and are replaced
49+
by the equivalent plaform error.
4550

4651
Bugfix
4752
* Fix wrong order of freeing in programs/ssl/ssl_server2 example

0 commit comments

Comments
 (0)