Fix copypasta in lifetime function descriptions

This commit is contained in:
Gilles Peskine 2018-04-17 14:09:24 +02:00 committed by itayzafrir
parent 8ca560293b
commit 9bb53d7aff

View file

@ -596,9 +596,8 @@ typedef uint32_t psa_key_lifetime_t;
/** \brief Retrieve the lifetime of a key slot.
*
* The assignment of lifetimes to slots is implementation-dependent.
* \param key Slot whose content is to be exported. This must
* be an occupied key slot.
*
* \param key Slot to query.
* \param lifetime On success, the lifetime value.
*
* \retval PSA_SUCCESS
@ -615,9 +614,8 @@ psa_status_t psa_get_key_lifetime(psa_key_slot_t key,
* whether the lifetime of an occupied key slot can be changed, is
* implementation-dependent.
*
* \param key Slot whose content is to be exported. This must
* be an occupied key slot.
* \param lifetime The lifetime value to be set for the given key.
* \param key Slot whose lifetime is to be changed.
* \param lifetime The lifetime value to set for the given key slot.
*
* \retval PSA_SUCCESS
* Success.