47#define PSA_FRAMEWORK_VERSION (0x0100) /**< Version of the PSA Framework API. */
48#define PSA_VERSION_NONE (0L) /**< Identifier for an unimplemented Root of Trust (RoT) Service. */
49
50#define PSA_NSPE_IDENTIFIER (-1L) /**< "Partition" identifier of the NSPE.*/
51
52#define PSA_NULL_HANDLE ((psa_handle_t)0) /**< Denotes an invalid handle.*/
53
54#define PSA_MAX_IOVEC (4UL) /**< Maximum number of psa_invec and psa_outvec structures allowed for psa_call().*/
55
56#define PSA_POLL (0x00000000UL) /**< Returns immediately even if none of the requested signals is asserted.*/
57#define PSA_BLOCK (0x80000000UL) /**< Block the caller until one of the requested signals is asserted.*/
58#define PSA_WAIT_ANY (0xFFFFFFFFUL) /**< A mask value that includes all Secure Partition signals.*/
59
60#define PSA_MINOR_VERSION_POLICY_RELAXED (0UL) /**< Don't perform minor version check during psa_connect().*/
61#define PSA_MINOR_VERSION_POLICY_STRICT (1UL) /**< Force minor version check during psa_connect().*/
62
63#define PSA_DOORBELL (0x00000008UL) /**< Mask for PSA_DOORBELL signal.*/
64
65#define PSA_IPC_CONNECT (1) /**< The IPC message type that indicates a new connection.*/
66#define PSA_IPC_CALL (2) /**< The IPC message type that indicates a client request.*/
67#define PSA_IPC_DISCONNECT (3) /**< The IPC message type that indicates the end of a connection.*/
68#define PSA_IPC_VERSION (4) /**< The IPC message type that indicates a client query for a specific sid.*/
69
70/* Error codes */
71#define PSA_DROP_CONNECTION (INT32_MIN) /**< The result code in a call to psa_reply() to indicate a nonrecoverable error in the client.*/
72#define PSA_CONNECTION_REFUSED (INT32_MIN + 1) /**< The return value from psa_connect() if the RoT Service or SPM was unable to establish a connection.*/
73#define PSA_CONNECTION_BUSY (INT32_MIN + 2) /**< The return value from psa_connect() if the RoT Service rejects the connection for a transient reason.*/
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.