Zephyr API Documentation 3.7.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
14
15#define PSA_SUCCESS ((psa_status_t)0)
16
17#define PSA_ERROR_GENERIC_ERROR ((psa_status_t)-132)
18#define PSA_ERROR_NOT_PERMITTED ((psa_status_t)-133)
19#define PSA_ERROR_NOT_SUPPORTED ((psa_status_t)-134)
20#define PSA_ERROR_INVALID_ARGUMENT ((psa_status_t)-135)
21#define PSA_ERROR_ALREADY_EXISTS ((psa_status_t)-139)
22#define PSA_ERROR_DOES_NOT_EXIST ((psa_status_t)-140)
23#define PSA_ERROR_INSUFFICIENT_STORAGE ((psa_status_t)-142)
24#define PSA_ERROR_STORAGE_FAILURE ((psa_status_t)-146)
25#define PSA_ERROR_INVALID_SIGNATURE ((psa_status_t)-149)
26#define PSA_ERROR_DATA_CORRUPT ((psa_status_t)-152)
27
29#endif
__INT32_TYPE__ int32_t
Definition stdint.h:74
int32_t psa_status_t
Definition error.h:13