From b48c8704e61e04ba8dc93cc1cb22f9a6e71119ad Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Fri, 17 May 2024 13:18:52 +0200 Subject: [PATCH] Fix crypto_adjust_config_dependencies.h documentation Signed-off-by: Ronald Cron --- include/psa/crypto_adjust_config_dependencies.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/psa/crypto_adjust_config_dependencies.h b/include/psa/crypto_adjust_config_dependencies.h index aeedf681b6..5a22205bf3 100644 --- a/include/psa/crypto_adjust_config_dependencies.h +++ b/include/psa/crypto_adjust_config_dependencies.h @@ -2,9 +2,13 @@ * \file psa/crypto_adjust_config_dependencies.h * \brief Adjust PSA configuration by resolving some dependencies. * + * This is an internal header. Do not include it directly. + * * See docs/proposed/psa-conditional-inclusion-c.md. - * If a cryptographic mechanism A depends on a cryptographic mechanism B and - * A is enabled then enable B. + * If the Mbed TLS implementation of a cryptographic mechanism A depends on a + * cryptographic mechanism B then if the cryptographic mechanism A is enabled + * and not accelerated enable B. Note that if A is enabled and accelerated, it + * is not necessary to enable B for A support. */ /* * Copyright The Mbed TLS Contributors