Add PSA_ERROR_BUFFER_TOO_SMALL to psa_mac_compute

This commit is contained in:
Adrian L. Shaw 2019-08-07 15:59:33 +01:00
parent 650229ba38
commit 1f42a84a13

View file

@ -1243,6 +1243,8 @@ psa_status_t psa_mac_compute(psa_key_handle_t handle,
* \p handle is not compatible with \p alg.
* \retval #PSA_ERROR_NOT_SUPPORTED
* \p alg is not supported or is not a MAC algorithm.
* \retval #PSA_ERROR_BUFFER_TOO_SMALL
* \p mac_size is too small
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
* \retval #PSA_ERROR_COMMUNICATION_FAILURE
* \retval #PSA_ERROR_HARDWARE_FAILURE