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 7de0928fd1
commit 0d405d8bb9

View File

@ -1477,7 +1477,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