mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-23 22:45:22 +00:00
Fix return error values description
Fix return PSA_ERROR_INVALID_ARGUMENT description for psa_set_key_lifetime() and psa_get_key_lifetime()
This commit is contained in:
parent
ea0500936e
commit
a7d245a4a2
|
@ -604,8 +604,7 @@ typedef uint32_t psa_key_lifetime_t;
|
||||||
* \retval PSA_SUCCESS
|
* \retval PSA_SUCCESS
|
||||||
* Success.
|
* Success.
|
||||||
* \retval PSA_ERROR_INVALID_ARGUMENT
|
* \retval PSA_ERROR_INVALID_ARGUMENT
|
||||||
* The key slot is invalid,
|
* The key slot is invalid.
|
||||||
* or the key data is not correctly formatted.
|
|
||||||
*/
|
*/
|
||||||
psa_status_t psa_get_key_lifetime(psa_key_slot_t key,
|
psa_status_t psa_get_key_lifetime(psa_key_slot_t key,
|
||||||
psa_key_lifetime_t *lifetime);
|
psa_key_lifetime_t *lifetime);
|
||||||
|
@ -623,7 +622,7 @@ psa_status_t psa_get_key_lifetime(psa_key_slot_t key,
|
||||||
* Success.
|
* Success.
|
||||||
* \retval PSA_ERROR_INVALID_ARGUMENT
|
* \retval PSA_ERROR_INVALID_ARGUMENT
|
||||||
* The key slot is invalid,
|
* The key slot is invalid,
|
||||||
* or the key data is not correctly formatted.
|
* or the lifetime value is invalid.
|
||||||
*/
|
*/
|
||||||
psa_status_t psa_set_key_lifetime(psa_key_slot_t key,
|
psa_status_t psa_set_key_lifetime(psa_key_slot_t key,
|
||||||
psa_key_lifetime_t lifetime);
|
psa_key_lifetime_t lifetime);
|
||||||
|
|
Loading…
Reference in a new issue