Correct insufficient memory return documentation.

Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
Paul Elliott
2023-02-15 23:34:29 +00:00
parent a1c9409d88
commit 7ef174b285
+2 -3
View File
@@ -711,8 +711,7 @@ uint32_t mbedtls_psa_verify_hash_get_num_ops(
* \retval #PSA_ERROR_NOT_SUPPORTED Either no internal interruptible operations
* are currently supported, or the key type is currently unsupported.
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
* There was insufficient memory either to load the key representation,
* or to store the hash.
* There was insufficient memory to load the key representation.
*/
psa_status_t mbedtls_psa_sign_hash_start(
mbedtls_psa_sign_hash_interruptible_operation_t *operation,
@@ -817,7 +816,7 @@ psa_status_t mbedtls_psa_sign_hash_abort(
* or the key type is currently unsupported.
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
* There was insufficient memory either to load the key representation,
* or to store the hash.
* or to prepare the operation.
*/
psa_status_t mbedtls_psa_verify_hash_start(
mbedtls_psa_verify_hash_interruptible_operation_t *operation,