Files
zephyr/lib/uuid/Kconfig
Valerio Setti fc422beb68 lib: uuid: replace legacy crypto support with PSA API
Legacy crypto support is going to be removed in the next Mbed TLS release
(which will be named TF-PSA-Crypto for the crypto support) so this
commit transitions UUID library from legacy crypto to PSA API.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-23 11:42:11 +03:00

46 lines
1.1 KiB
Plaintext

# Copyright (c) 2025, SECO Mind Srl
#
# SPDX-License-Identifier: Apache-2.0
menu "Universally Unique Identifier (UUID)"
config UUID
bool "UUID support [EXPERIMENTAL]"
select EXPERIMENTAL
help
Enable use of the UUID library.
config UUID_V4
bool "UUID version 4 generation support [EXPERIMENTAL]"
select EXPERIMENTAL
depends on UUID
depends on ENTROPY_GENERATOR
help
Enable generation of UUID v4.
config UUID_V5
bool "UUID version 5 generation support [EXPERIMENTAL]"
select EXPERIMENTAL
depends on UUID
depends on MBEDTLS
depends on MBEDTLS_PSA_CRYPTO_C
depends on PSA_WANT_ALG_SHA_1
# 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
Enable generation of UUID v5.
config UUID_BASE64
bool "UUID Base64 support [EXPERIMENTAL]"
select EXPERIMENTAL
depends on UUID
depends on BASE64
help
Enable conversion functions to write UUIDs in base 64
formats.
endmenu