Skip to content
Commit dfe9a91d authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Carles Cufí
Browse files

modules: mbedtls: bring back SHA384 support



Before mbedTLS 3.0 there was just SHA512 option, which enabled both SHA384
and SHA512 support. mbedTLS 3.0 introduced SHA384 specific option, which
means that SHA384 got unsupported after merging
commit 4e6cfb67 ("modules: mbedTLS: Bump mbedTLS to 3.0").

Introduce SHA384 Kconfig options, so that support for it can be selected in
project configuration if needed. Since SHA384 still depends on SHA512 to be
selected, add such dependency in Kconfig.

Select SHA384 support in non-generic (not configured by Kconfig) mbedTLS
config headers, so that previous (before mbedTLS 3.0 was merged) behavior
is regained.

Fixes: 4e6cfb67 ("modules: mbedTLS: Bump mbedTLS to 3.0")
Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
parent 994f6c86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment