From 3489cc14333e023bfe55a0f0cc08e47f7b6ac75b Mon Sep 17 00:00:00 2001 From: Mateusz Starzyk Date: Thu, 20 May 2021 13:52:48 +0200 Subject: [PATCH] Improve migration guide for SHA384 option Signed-off-by: Mateusz Starzyk --- .../modify_SHA384_option_behaviour.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/3.0-migration-guide.d/modify_SHA384_option_behaviour.md b/docs/3.0-migration-guide.d/modify_SHA384_option_behaviour.md index 0efe14aa71..fe6c75ec9e 100644 --- a/docs/3.0-migration-guide.d/modify_SHA384_option_behaviour.md +++ b/docs/3.0-migration-guide.d/modify_SHA384_option_behaviour.md @@ -5,5 +5,8 @@ This does not affect users who use the default `config.h`. MBEDTLS_SHA512_NO_SHA384 was disabled by default, now MBEDTLS_SHA384_C is enabled by default. -If you were using a config file with MBEDTLS_SHA512_NO_SHA384 enabled, -then just remove it (don't define MBEDTLS_SHA384_C). +If you were using a config file with both MBEDTLS_SHA512_C and +MBEDTLS_SHA512_NO_SHA384, then just remove the MBEDTLS_SHA512_NO_SHA384. +If you were using a config file with MBEDTLS_SHA512_C and without +MBEDTLS_SHA512_NO_SHA384 and you need the SHA-384 algorithm, then add +`#define MBEDTLS_SHA384_C` to your config file.