Improve documentation of psa_internal_allocate_key_slot

This commit is contained in:
Gilles Peskine 2019-06-05 11:39:57 +02:00
parent 70e085a7d9
commit bfcae2e436

View file

@ -57,8 +57,11 @@ void psa_wipe_all_key_slots( void );
/** Find a free key slot and mark it as in use. /** Find a free key slot and mark it as in use.
* *
* \param[out] handle On success, a slot number that is not in use. This * \param[out] handle On success, a slot number that can be used as a
* value can be used as a handle to the slot. * handle to the slot. The selected slot was not
* in use before. This function marks it as in use
* and otherwise leaves it in a freshly-initialized
* state.
* \param[out] p_slot On success, a pointer to the slot. * \param[out] p_slot On success, a pointer to the slot.
* *
* \retval #PSA_SUCCESS * \retval #PSA_SUCCESS