lib: uuid: do not support UUID_v5 on TF-M platforms
When TF-M is enabled, Mbed TLS's MD module (which is used to generate v5 UUIDs) will dispacth hash operations to TF-M. Unfortunately TF-M does not support SHA-1 (because it's a weak algorithm) so the computation will fail. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
767772aad1
commit
31e38c83b3
1 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,11 @@ config UUID_V5
|
||||||
depends on MBEDTLS
|
depends on MBEDTLS
|
||||||
depends on MBEDTLS_MD
|
depends on MBEDTLS_MD
|
||||||
depends on MBEDTLS_SHA1
|
depends on MBEDTLS_SHA1
|
||||||
|
# When TF-M is enabled, Mbed TLS's MD module (which is used to generate
|
||||||
|
# v5 UUIDs) will dispacth hash operations to TF-M. Unfortunately TF-M
|
||||||
|
# does not support SHA-1 (because it's a weak algorithm) so the
|
||||||
|
# computation will fail.
|
||||||
|
depends on !BUILD_WITH_TFM
|
||||||
help
|
help
|
||||||
Enable generation of UUID v5.
|
Enable generation of UUID v5.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue