From 49540ac5292bfbc0399badb3383a418c0e3dd4bd Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 26 Oct 2022 18:02:56 +0200 Subject: [PATCH 1/2] Move copyright notice out of the Doxygen documentation Signed-off-by: Gilles Peskine --- include/mbedtls/constant_time.h | 3 ++- include/mbedtls/legacy_or_psa.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/mbedtls/constant_time.h b/include/mbedtls/constant_time.h index c5de57a01f..fb1f7e98ea 100644 --- a/include/mbedtls/constant_time.h +++ b/include/mbedtls/constant_time.h @@ -1,6 +1,7 @@ /** * Constant-time functions - * + */ +/* * Copyright The Mbed TLS Contributors * SPDX-License-Identifier: Apache-2.0 * diff --git a/include/mbedtls/legacy_or_psa.h b/include/mbedtls/legacy_or_psa.h index 2156be946b..fe87399e77 100644 --- a/include/mbedtls/legacy_or_psa.h +++ b/include/mbedtls/legacy_or_psa.h @@ -2,6 +2,8 @@ * Macros to express dependencies for code and tests that may use either the * legacy API or PSA in various builds; mostly for internal use. * + */ +/* * Copyright The Mbed TLS Contributors * SPDX-License-Identifier: Apache-2.0 * From 3a9ebd69c38aa92b310d7e4acf64ee9e3d82aade Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 26 Oct 2022 18:03:14 +0200 Subject: [PATCH 2/2] Declare legacy_or_psa.h as private We think we're likely to change these macros. So make them *only* for internal use, not just "mostly". Signed-off-by: Gilles Peskine --- include/mbedtls/legacy_or_psa.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/mbedtls/legacy_or_psa.h b/include/mbedtls/legacy_or_psa.h index fe87399e77..f872ddaf1f 100644 --- a/include/mbedtls/legacy_or_psa.h +++ b/include/mbedtls/legacy_or_psa.h @@ -1,7 +1,8 @@ /** * Macros to express dependencies for code and tests that may use either the - * legacy API or PSA in various builds; mostly for internal use. - * + * legacy API or PSA in various builds. This whole header file is currently + * for internal use only and both the header file and the macros it defines + * may change or be removed without notice. */ /* * Copyright The Mbed TLS Contributors