From 93b2dc7853e20452a444ca9ac7d9a9ee1842ca95 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Thu, 14 Dec 2023 16:14:41 +0000 Subject: [PATCH] Add note about support for buffer overlap Note that enabling MBEDTLS_PSA_COPY_CALLER_BUFFERS allows full buffer overlap support, whereas without it, overlap support is reduced to that documented in the function descriptions. Signed-off-by: David Horstmann --- include/mbedtls/config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index d9e7dc2b7..a8bc45ea9 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -1579,7 +1579,10 @@ * an untrusted party, for example where arguments to PSA calls are passed * across a trust boundary. * - * Note: Enabling this option increases memory usage and code size. + * \note Enabling this option increases memory usage and code size. + * + * \note Enabling this option enables full support for overlap of input and + * output buffers passed to PSA functions. */ #define MBEDTLS_PSA_COPY_CALLER_BUFFERS