Add buffer size macro for psa_get_key_domain_parameters

This commit is contained in:
Gilles Peskine 2019-04-28 11:44:17 +02:00
parent 9bc88c6e2c
commit aa02c17dfa
3 changed files with 37 additions and 1 deletions

View file

@ -447,6 +447,10 @@ psa_status_t psa_set_key_domain_parameters(psa_key_attributes_t *attributes,
* \param[in] attributes The key attribute structure to query.
* \param[out] data On success, the key domain parameters.
* \param data_size Size of the \p data buffer in bytes.
* The buffer is guaranteed to be large
* enough if its size in bytes is at least
* the value given by
* PSA_KEY_DOMAIN_PARAMETERS_SIZE().
* \param[out] data_length On success, the number of bytes
* that make up the key domain parameters data.
*