| Samsung Internal API reference 2.0

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

- File List
- Globals

tees_ssapi.h
Go to the documentation of this file.
1
9 #pragma once
10
11 #include <stdint.h>
12 #include <tee_internal_api.h>
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
21 struct secHDCPKeyInfo_t {
22 uint32_t *session_key;
23 uint32_t *riv;
24 };
25
29 #define SECCAM_SECURE 0x0000
30
34 #define SECCAM_NORMAL 0x9101
35
39 enum{
40 TUI_SET_INFO = 1,
41 TUI_CLEAR_INFO,
42 };
43
76 DSO_EXPORT TEE_Result TEES_SECCAM_GetStatus(unsigned int *data);
77
108 DSO_EXPORT TEE_Result TEES_SECCAM_Protect(uint64_t paddr, size_t size, unsigned int *data);
109
139 DSO_EXPORT TEE_Result TEES_SECCAM_Unprotect(uint64_t paddr, size_t size, unsigned int *data);
140
141
176 DSO_EXPORT TEE_Result TEES_SECCAM_IsProtected(uint64_t paddr, size_t size, unsigned int *data);
177
178
210 DSO_EXPORT TEE_Result TEES_HDCP_SetKeyInfo(struct secHDCPKeyInfo_t *SecureHDCPKey_info, unsigned int *data);
211
243 DSO_EXPORT TEE_Result TEES_TUI_SetInfo(uint32_t cmd, uint64_t paddr, size_t size, unsigned int *data);
244
274 DSO_EXPORT TEE_Result TEES_TUI_Protect(uint64_t paddr, size_t size, unsigned int *data);
275
305 DSO_EXPORT TEE_Result TEES_TUI_Unprotect(uint64_t paddr, size_t size, unsigned int *data);
306 #ifdef __cplusplus
307 }
308 #endif
309
TEES_TUI_Protect
TEE_Result TEES_TUI_Protect(uint64_t paddr, size_t size, unsigned int *data)
Protect the memory used by TUI.
TEES_HDCP_SetKeyInfo
TEE_Result TEES_HDCP_SetKeyInfo(struct secHDCPKeyInfo_t *SecureHDCPKey_info, unsigned int *data)
Set HDCP key information.
secHDCPKeyInfo_t
Key information for HDCP.
Definition: tees_ssapi.h:21
TEES_SECCAM_GetStatus
TEE_Result TEES_SECCAM_GetStatus(unsigned int *data)
Get a status of secure camera.
TEES_TUI_SetInfo
TEE_Result TEES_TUI_SetInfo(uint32_t cmd, uint64_t paddr, size_t size, unsigned int *data)
Set or clear TUI information.
TEES_SECCAM_IsProtected
TEE_Result TEES_SECCAM_IsProtected(uint64_t paddr, size_t size, unsigned int *data)
Check the memory used by secure camera whether it is protected or not.
TEES_SECCAM_Unprotect
TEE_Result TEES_SECCAM_Unprotect(uint64_t paddr, size_t size, unsigned int *data)
Unprotect the memory used by secure camera.
TEES_SECCAM_Protect
TEE_Result TEES_SECCAM_Protect(uint64_t paddr, size_t size, unsigned int *data)
Protect the memory used by secure camera.
TEES_TUI_Unprotect
TEE_Result TEES_TUI_Unprotect(uint64_t paddr, size_t size, unsigned int *data)
Unprotect the memory used by TUI.