1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (C) Foundries Ltd. 2020 - All Rights Reserved
4  * Author: Jorge Ramirez <jorge@foundries.io>
5  */
6 
7 #ifndef SE050_USER_APIS_H_
8 #define SE050_USER_APIS_H_
9 
10 #include <fsl_sss_se05x_apis.h>
11 #include <fsl_sss_se05x_types.h>
12 #include <nxScp03_Types.h>
13 #include <se050_sss_apis.h>
14 #include <se050_utils.h>
15 
16 sss_status_t se050_configure_host(sss_user_impl_session_t *host_session,
17 				  sss_key_store_t *host_ks,
18 				  SE_Connect_Ctx_t *open_ctx,
19 				  struct se050_auth_ctx *auth_ctx,
20 				  SE_AuthType_t auth_type,
21 				  struct se050_scp_key *keys);
22 
23 TEE_Result se050_host_key_store_get_key(sss_key_store_t *ks __unused,
24 					sss_object_t *ko, uint8_t *data,
25 					size_t *byte_len, size_t *bit_len);
26 #endif /* SE050_USER_APIS_H_ */
27