mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-01-04 15:50:13 +01:00
Closing a wrapped key with the new SE driver interface while MBEDTLS_PSA_CRYPTO_SE_C is also enabled leads to the key material not being freed, even though an old SE driver is not in use, leading to a memory leak. This is because a wrapped key is also considered external. This commit extends the check for skipping by checking whether an old-style SE driver is registered with the provided slot, in addition to checking whether the key is external. Signed-off-by: Fredrik Strupe <fredrik.strupe@silabs.com> |
||
|---|---|---|
| .. | ||
| 00README.md | ||
| add-aes-ecb-to-psa.txt | ||
| add_cipher_transparent_driver.txt | ||
| add_sign_verify_keygen_transparent_driver.txt | ||
| adjusting sliding_window_size_PR3592.txt | ||
| bugfix_3524.txt | ||
| bugfix_PR3294.txt | ||
| comment_typo_in_mbedtls_ssl_set_bio.txt | ||
| fix-typo.txt | ||
| psa_close_key_memory_leak_fix.txt | ||