Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1/* Copyright (c) 2024 Nordic Semiconductor
2 * SPDX-License-Identifier: Apache-2.0
3 */
4#ifndef PSA_ERROR_H
5#define PSA_ERROR_H
11#include <stdint.h>
12
15
17#define PSA_SUCCESS ((psa_status_t)0)
18
20#define PSA_ERROR_GENERIC_ERROR ((psa_status_t)-132)
21
25#define PSA_ERROR_NOT_PERMITTED ((psa_status_t)-133)
26
30#define PSA_ERROR_NOT_SUPPORTED ((psa_status_t)-134)
31
33#define PSA_ERROR_INVALID_ARGUMENT ((psa_status_t)-135)
34
36#define PSA_ERROR_ALREADY_EXISTS ((psa_status_t)-139)
37
39#define PSA_ERROR_DOES_NOT_EXIST ((psa_status_t)-140)
40
42#define PSA_ERROR_INSUFFICIENT_STORAGE ((psa_status_t)-142)
43
45#define PSA_ERROR_STORAGE_FAILURE ((psa_status_t)-146)
46
48#define PSA_ERROR_INVALID_SIGNATURE ((psa_status_t)-149)
49
51#define PSA_ERROR_DATA_CORRUPT ((psa_status_t)-152)
52
54#endif
__INT32_TYPE__ int32_t
Definition stdint.h:74
int32_t psa_status_t
Function return status.
Definition error.h:14