8#ifndef __TFM_PLATFORM_API__
9#define __TFM_PLATFORM_API__
13#include "psa/client.h"
22#define TFM_PLATFORM_API_VERSION_MAJOR (0)
23#define TFM_PLATFORM_API_VERSION_MINOR (3)
31enum tfm_platform_err_t {
32 TFM_PLATFORM_ERR_SUCCESS = 0,
33 TFM_PLATFORM_ERR_SYSTEM_ERROR,
34 TFM_PLATFORM_ERR_INVALID_PARAM,
35 TFM_PLATFORM_ERR_NOT_SUPPORTED,
38 TFM_PLATFORM_ERR_FORCE_INT_SIZE = INT_MAX
41typedef int32_t tfm_platform_ioctl_req_t;
53enum tfm_platform_err_t tfm_platform_ioctl(tfm_platform_ioctl_req_t request,