mbedtls/tf-psa-crypto/drivers
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
..
builtin pkwrite: fix buffer overrun 2024-10-11 14:55:24 +02:00
everest cmake: tf-psa-crypto: Replace some Mbed TLS options/variables by TF-PSA-Crypto ones 2024-10-01 15:32:01 +02:00
p256-m cmake: tf-psa-crypto: Replace some Mbed TLS options/variables by TF-PSA-Crypto ones 2024-10-01 15:32:01 +02:00
CMakeLists.txt CMake: Move build of legacy crypto modules to tf-psa-crypto 2024-10-01 15:32:01 +02:00