blob: 189893ad3935e56d2316f1b42f57d26e60ae1224 [file] [edit]
# Copyright (c) 2025, SECO Mind Srl
#
# SPDX-License-Identifier: Apache-2.0
menuconfig UUID
bool "Universally Unique Identifier (UUID) library"
help
Enable use of the UUID library.
if UUID
config UUID_V4
bool "UUID version 4 generation support"
depends on ENTROPY_GENERATOR
help
Enable generation of UUID v4.
config UUID_V5
bool "UUID version 5 generation support"
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"
depends on BASE64
help
Enable conversion functions to write UUIDs in base 64
formats.
endif