Error codes#
Macros#
The action was completed successfully.
An error occurred that does not correspond to any defined failure cause.
The requested operation or a parameter is not supported by this implementation.
The requested action is denied by a policy.
An output buffer is too small.
Asking for an item that already exists.
Asking for an item that doesn't exist.
The requested action cannot be performed in the current state.
The parameters passed to the function are invalid.
There is not enough runtime memory.
There is not enough persistent storage.
There was a communication failure inside the implementation.
There was a storage failure that may have led to data loss.
A hardware failure was detected.
A tampering attempt was detected.
There is not enough entropy to generate random data needed for the requested action.
The signature, MAC or hash is incorrect.
The decrypted padding is incorrect.
Return this error when there's insufficient data when attempting to read from a resource.
The key identifier is not valid.
Stored data has been corrupted.
Data read from storage is not valid for the implementation.
Requested operation has been delayed until the slot will be no longer in use.
The action was completed successfully.
An error occurred that does not correspond to any defined failure cause.
The requested operation or a parameter is not supported by this implementation.
The requested action is denied by a policy.
An output buffer is too small.
Asking for an item that already exists.
Asking for an item that doesn't exist.
The requested action cannot be performed in the current state.
The parameters passed to the function are invalid.
There is not enough runtime memory.
There is not enough persistent storage.
There was a communication failure inside the implementation.
There was a storage failure that may have led to data loss.
A hardware failure was detected.
A tampering attempt was detected.
There is not enough entropy to generate random data needed for the requested action.
The signature, MAC or hash is incorrect.
The decrypted padding is incorrect.
Return this error when there's insufficient data when attempting to read from a resource.
The key identifier is not valid.
Stored data has been corrupted.
Data read from storage is not valid for the implementation.
Typedef Documentation#
psa_status_t#
typedef int32_t psa_status_t
Function return status.
This is either PSA_SUCCESS (which is zero), indicating success, or a small negative value indicating that an error occurred. Errors are encoded as one of the PSA_ERROR_xxx
values defined here.
psa_status_t#
typedef int32_t psa_status_t
Function return status.
This is either PSA_SUCCESS (which is zero), indicating success, or a small negative value indicating that an error occurred. Errors are encoded as one of the PSA_ERROR_xxx
values defined here.