From 2d05e0f440aa97692b2a109a9a774e1f0862a4e4 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Wed, 30 Jun 2021 18:42:34 +0100 Subject: [PATCH] Move subsection Signed-off-by: Dave Rodgman --- docs/3.0-migration-guide.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/3.0-migration-guide.md b/docs/3.0-migration-guide.md index 90d787773..1b24c4160 100644 --- a/docs/3.0-migration-guide.md +++ b/docs/3.0-migration-guide.md @@ -191,6 +191,20 @@ removed from the library. Please use parameters from RFC3526 (still in the library, only in binary form) or RFC 7919 (also available in the library) or other trusted sources instead. +### Deprecated functions were removed from hashing modules + +Modules: MD5, SHA1, SHA256, SHA512, MD. + +- The functions `mbedtls_xxx_starts_ret()`, `mbedtls_xxx_update_ret()`, + `mbedtls_xxx_finish_ret()` and `mbedtls_xxx_ret()` were renamed to replace + the corresponding functions without `_ret` appended. Please call the name without `_ret` appended and check the return value. +- The function `mbedtls_md_init_ctx()` was removed; please use + `mbedtls_md_setup()` instead. +- The functions `mbedtls_xxx_process()` were removed. You normally don't need + to call that from application code. However if you do (or if you want to + provide your own version of that function), please use + `mbedtls_internal_xxx_process()` instead, and check the return value. + ### Change `MBEDTLS_ECP_FIXED_POINT_OPTIM` behavior The option `MBEDTLS_ECP_FIXED_POINT_OPTIM` now increases code size and it does @@ -246,20 +260,6 @@ Alternative implementations of the SHA256 and SHA512 modules must adjust their f Please also refer to the section [Low-level crypto](#low-level-crypto) for changes that could sit in either category. -### Deprecated functions were removed from hashing modules - -Modules: MD5, SHA1, SHA256, SHA512, MD. - -- The functions `mbedtls_xxx_starts_ret()`, `mbedtls_xxx_update_ret()`, - `mbedtls_xxx_finish_ret()` and `mbedtls_xxx_ret()` were renamed to replace - the corresponding functions without `_ret` appended. Please call the name without `_ret` appended and check the return value. -- The function `mbedtls_md_init_ctx()` was removed; please use - `mbedtls_md_setup()` instead. -- The functions `mbedtls_xxx_process()` were removed. You normally don't need - to call that from application code. However if you do (or if you want to - provide your own version of that function), please use - `mbedtls_internal_xxx_process()` instead, and check the return value. - ### Remove 3DES ciphersuites This change does not affect users using default settings for 3DES in `mbedtls_config.h`