| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

tees_internal_api.h
1 /*
2 *
3 * Copyright (C) 2012-2019, Samsung Electronics Co., Ltd.
4 *
5 * Custom internal API
6 *
7 */
8
9 #ifndef _TEES_INTERNAL_API_H
10 #define _TEES_INTERNAL_API_H
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 #include <dso_defs.h>
17 #include <tee_internal_api.h>
18
19 // Object Storage Constants
20 #define TEES_STORAGE_PRIVATE_EFS 0x80000000 /* Custom constant for using efs partition on trusted storage */
21
22 #ifdef ENABLE_TMF
23 DSO_EXPORT TEE_Result __tees_create_perso_object(uint32_t storageID,
24 const void *objectID,
25 uint32_t objectIDLen,
26 uint32_t flags,
27 TEE_ObjectHandle attr,
28 const void *initialData,
29 uint32_t initialDataLen,
30 TEE_ObjectHandle *object,
31 const TEE_UUID *uuid);
32
33 DSO_EXPORT TEE_Result __tees_start_enum_perso_object(TEE_ObjectEnumHandle objectEnumerator,
34 uint32_t storageID,
35 const TEE_UUID *uuid);
36 #endif /* ENABLE_TMF */
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif // _TEES_INTERNAL_API_H