From 9c90226df17f1ba39107bb4029a2baf84fc2462b Mon Sep 17 00:00:00 2001 From: TRodziewicz Date: Fri, 11 Jun 2021 14:30:01 +0200 Subject: [PATCH] Addition of the migration guide and change log files Signed-off-by: TRodziewicz --- ChangeLog.d/issue4083.txt | 5 +++++ .../move_part_of_timing_module_out_of_the_library.md | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 ChangeLog.d/issue4083.txt create mode 100644 docs/3.0-migration-guide.d/move_part_of_timing_module_out_of_the_library.md diff --git a/ChangeLog.d/issue4083.txt b/ChangeLog.d/issue4083.txt new file mode 100644 index 000000000..f3f7e31b0 --- /dev/null +++ b/ChangeLog.d/issue4083.txt @@ -0,0 +1,5 @@ +Changes + * Remove the following functions: mbedtls_timing_self_test() and + mbedtls_hardclock_poll(). Move the following functions to the benchmark.c + file and make them static: mbedtls_timing_hardclock() and + mbedtls_set_alarm(). Fixes #4083. diff --git a/docs/3.0-migration-guide.d/move_part_of_timing_module_out_of_the_library.md b/docs/3.0-migration-guide.d/move_part_of_timing_module_out_of_the_library.md new file mode 100644 index 000000000..f0b539c8f --- /dev/null +++ b/docs/3.0-migration-guide.d/move_part_of_timing_module_out_of_the_library.md @@ -0,0 +1,12 @@ +Move part of timing module out of the library +-- + +The change affects users who use any of the following functions: +`mbedtls_timing_self_test()`, `mbedtls_hardclock_poll()`, +`mbedtls_timing_hardclock()` and `mbedtls_set_alarm()`. + +This change is the first step of a plan of removal of the `timing.c` from the +library. The plan is to move all the timing functions to the `platform.c` file. + +For users who still need removed functions the migration path is to re-implement +them as a platform support code.