2024-03-11 17:21:54 +00:00
|
|
|
Security
|
2024-03-12 16:47:46 +00:00
|
|
|
* Passing buffers that are stored in untrusted memory as arguments
|
|
|
|
to PSA functions is now secure by default.
|
|
|
|
The PSA core now protects against modification of inputs or exposure
|
|
|
|
of intermediate outputs during operations. This is currently implemented
|
|
|
|
by copying buffers.
|
|
|
|
This feature increases code size and memory usage. If buffers passed to
|
|
|
|
PSA functions are owned exclusively by the PSA core for the duration of
|
2024-03-13 13:30:55 +00:00
|
|
|
the function call (i.e. no buffer parameters are stored in memory shared
|
|
|
|
with an untrusted party), copying may be disabled by setting
|
2024-03-12 16:47:46 +00:00
|
|
|
MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS.
|
2024-03-13 13:30:55 +00:00
|
|
|
Note that setting this option will cause input-output buffer overlap to
|
|
|
|
be only partially supported.
|
2024-03-12 16:56:49 +00:00
|
|
|
Bugfix
|
|
|
|
* Fully support arbitrary overlap between inputs and outputs of PSA
|
2024-03-13 13:30:55 +00:00
|
|
|
functions. Note that overlap is still only partially supported when
|
2024-03-12 16:56:49 +00:00
|
|
|
MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS is set.
|