diff --git a/ChangeLog.d/reduce-cpu-modifiers-to-file-scope.txt b/ChangeLog.d/reduce-cpu-modifiers-to-file-scope.txt index bb8d2a2891..9bfc80c99c 100644 --- a/ChangeLog.d/reduce-cpu-modifiers-to-file-scope.txt +++ b/ChangeLog.d/reduce-cpu-modifiers-to-file-scope.txt @@ -1,4 +1,12 @@ Bugfix - * Fix #5758. Compilers might generate unexpected instructions when CPU - modifiers were specified as global flags( command line or global headers). - It is fixed with reducing the scope of CPU modifier flags. + * Fix an issue when compiling with MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT + enabled, which required specifying compiler flags enabling SHA3 Crypto + Extensions, where some compilers would emit EOR3 instructions in other + modules, which would then fail if run on a CPU without the SHA3 + extensions. Fixes #5758. + +Changes + * When enabling MBEDTLS_SHA256_USE_A64_CRYPTO_* or + MBEDTLS_SHA512_USE_A64_CRYPTO_*, it is no longer necessary to specify + compiler target flags on the command line; the library now sets target + options within the appropriate modules.