Added PSA_ERROR_STORAGE_FAILURE to psa_mac_compute

In case the key could not be retrieved from
storage.
This commit is contained in:
Adrian L. Shaw 2019-08-07 10:47:47 +01:00
parent 2a889781c5
commit 650229ba38

View file

@ -1575,6 +1575,8 @@ psa_status_t psa_mac_verify_finish(psa_mac_operation_t *operation,
* \retval #PSA_ERROR_COMMUNICATION_FAILURE
* \retval #PSA_ERROR_HARDWARE_FAILURE
* \retval #PSA_ERROR_CORRUPTION_DETECTED
* \retval #PSA_ERROR_STORAGE_FAILURE
* The key could not be retrieved from storage.
* \retval #PSA_ERROR_BAD_STATE
* The library has not been previously initialized by psa_crypto_init().
* It is implementation-dependent whether a failure to initialize