1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-24 12:01:11 +03:00
Files
mbedtls/library/psa_crypto.c
Darryl Green 0892d0fbbf Initialize key bits to max size + 1 in psa_import_key
In psa_import_key, the key bits value was uninitialized before
calling the secure element driver import function. There is a
potential issue if the driver returns PSA_SUCCESS without setting
the key bits. This shouldn't happen, but shouldn't be discounted
either, so we initialize the key bits to an invalid issue.
2019-08-21 16:56:16 +01:00

210 KiB