aboutsummaryrefslogtreecommitdiff
path: root/components/service/secure_storage/client/psa/its/its_client.h
blob: b8b72090dd3a646b4b05ad557305b1a6528f6b2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef PSA_ITS_CLIENT_H
#define PSA_ITS_CLIENT_H

#include <psa/error.h>
#include <rpc_caller.h>

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @brief      Assignes a concrete rpc caller to the ITS library and initialises
 *             the library state.
 *
 * @param[in]  rpc_caller RPC caller instance
 *
 * @return     A status indicating the success/failure of the operation
 */
psa_status_t psa_its_client_init(struct rpc_caller *caller);

#ifdef __cplusplus
}
#endif

#endif /* PSA_ITS_CLIENT_H */