mbedtls/tf-psa-crypto/tests
Valerio Setti 91577020a2 pkwrite: fix buffer overrun
This commit fixes potential buffer overrun in:
- pk_write_rsa_der
- pk_write_ec_pubkey

In both functions, when dealing with opaque keys, there was no
check that the provided buffer was large enough to contain the
key being exported. This commit fixes this problem and it also
adds some testing in test_suite_pkwrite to trigger these checks.

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
2024-10-11 14:55:24 +02:00
..
suites pkwrite: fix buffer overrun 2024-10-11 14:55:24 +02:00
.gitignore
CMakeLists.txt cmake: tf-psa-crypto: Replace some Mbed TLS options/variables by TF-PSA-Crypto ones 2024-10-01 15:32:01 +02:00