blob: ace775ef31911ae340f37aae6582e94436bfccb8 [file] [log] [blame]
Summer Qin153f3df2022-11-17 15:51:02 +08001/*!
2 * Copyright (c) 2023, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8@c:include("psa/client.h")
9
10program tfm_erpc
11
12@external type psa_handle_t = int32
13@external type psa_status_t = int32
14
Kevin Peng0eca5ea2023-07-21 17:32:31 +080015interface psa_client_api {
Summer Qin153f3df2022-11-17 15:51:02 +080016 psa_framework_version() -> uint32
17 psa_version(uint32 sid) -> uint32
18 erpc_psa_call(psa_handle_t handle, int32 t, list<binary> erpc_in_vec, inout list<binary> erpc_out_vec) -> psa_status_t
Summer Qin153f3df2022-11-17 15:51:02 +080019 psa_connect(uint32 sid, uint32 ver) -> psa_handle_t
20 psa_close(psa_handle_t handle) -> void
21}