blob: 34a0a8ea689050f18fb51a35e46530dab1c0e2ee [file] [log] [blame]
Edison Ai9b628982020-07-02 18:53:36 +08001/*
2 * Copyright (c) 2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef __TFM_HAL_DEFS_H__
9#define __TFM_HAL_DEFS_H__
10
11#include <limits.h>
12#include <stdint.h>
13
14enum tfm_hal_status_t {
Mingyang Sun45c6c202020-09-23 16:17:50 +080015 TFM_HAL_ERROR_MEM_FAULT = SCHAR_MIN,
Edison Ai9b628982020-07-02 18:53:36 +080016 TFM_HAL_ERROR_MAX_VALUE,
17 TFM_HAL_ERROR_BAD_STATE,
18 TFM_HAL_ERROR_NOT_SUPPORTED,
19 TFM_HAL_ERROR_INVALID_INPUT,
20 TFM_HAL_ERROR_NOT_INIT,
21 TFM_HAL_ERROR_GENERIC,
22 TFM_HAL_SUCCESS = 0
23};
24
25#endif /* __TFM_HAL_DEFS_H__ */