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 742084ea25
commit 88c51adfc0

View File

@ -687,6 +687,7 @@ psa_status_t psa_export_key(psa_key_handle_t handle,
* \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