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 <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2023-12-14 16:14:41 +00:00
parent 9c97fda0ab
commit 93b2dc7853

View File

@ -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