mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-05 00:40:09 +00:00
Removed PSA_ERROR_DOES_NOT_EXIST from psa_export_key
If the key doesn't exist by the time this call is made then the handle is invalid, which means that PSA_ERROR_INVALID_HANDLE should be returned rather than "does not exist"
This commit is contained in:
parent
0542d595ce
commit
742084ea25
@ -604,7 +604,6 @@ psa_status_t psa_destroy_key(psa_key_handle_t handle);
|
||||
*
|
||||
* \retval #PSA_SUCCESS
|
||||
* \retval #PSA_ERROR_INVALID_HANDLE
|
||||
* \retval #PSA_ERROR_DOES_NOT_EXIST
|
||||
* \retval #PSA_ERROR_NOT_PERMITTED
|
||||
* The key does not have the #PSA_KEY_USAGE_EXPORT flag.
|
||||
* \retval #PSA_ERROR_NOT_SUPPORTED
|
||||
|
Loading…
x
Reference in New Issue
Block a user