PSA crypto API: some cases of overlapping parameters are not supported #3266
Labels
bug
component-crypto
Crypto primitives and low-level interfaces
size-l
Estimated task size: large (2w+)
The PSA Crypto API specifies that functions must support arbitrary overlap between input buffers and output buffers. This is mostly implemented correctly in Mbed Crypto, but there are a few exceptions. We don't systematically test overlapping parameters, so we don't know what the exceptions are.
The goal of this issue is to have systematic tests of overlapping parameters and to fix all failures revealed by these tests.
As a byproduct of analyzing whether overlapping parameters are supported, update the documentation in
include/mbedtls/*.h
where this information is currently missing.The text was updated successfully, but these errors were encountered: