mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-06 21:40:11 +00:00
b3de69493c
This tied input and output buffers together in awkward pairs, which made the API more difficult to use. Signed-off-by: David Horstmann <david.horstmann@arm.com>
30 lines
827 B
Plaintext
30 lines
827 B
Plaintext
PSA input buffer copy: straightforward copy
|
|
copy_input:20:20:PSA_SUCCESS
|
|
|
|
PSA input buffer copy: copy buffer larger than required
|
|
copy_input:10:20:PSA_SUCCESS
|
|
|
|
PSA input buffer copy: copy buffer too small
|
|
copy_input:20:10:PSA_ERROR_CORRUPTION_DETECTED
|
|
|
|
PSA input buffer copy: zero-length source buffer
|
|
copy_input:0:10:PSA_SUCCESS
|
|
|
|
PSA input buffer copy: zero-length both buffers
|
|
copy_input:0:0:PSA_SUCCESS
|
|
|
|
PSA output buffer copy: straightforward copy
|
|
copy_output:20:20:PSA_SUCCESS
|
|
|
|
PSA output buffer copy: output buffer larger than required
|
|
copy_output:10:20:PSA_SUCCESS
|
|
|
|
PSA output buffer copy: output buffer too small
|
|
copy_output:20:10:PSA_ERROR_CORRUPTION_DETECTED
|
|
|
|
PSA output buffer copy: zero-length source buffer
|
|
copy_output:0:10:PSA_SUCCESS
|
|
|
|
PSA output buffer copy: zero-length both buffers
|
|
copy_output:0:0:PSA_SUCCESS
|