Added PSA_ERROR_INSUFFICIENT_MEMORY to psa_export_public_key

For the same reasons that psa_export_key can fail with this error
This commit is contained in:
Adrian L. Shaw 2019-08-06 17:09:33 +01:00
parent 7f1863c905
commit 11638b99a0

View file

@ -868,6 +868,7 @@ psa_status_t psa_hash_compute(psa_algorithm_t alg,
* \retval #PSA_ERROR_COMMUNICATION_FAILURE
* \retval #PSA_ERROR_HARDWARE_FAILURE
* \retval #PSA_ERROR_CORRUPTION_DETECTED
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
* \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