Samsung Internal API reference  2.0
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 
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 
TEE_Result TEES_TUI_Protect(uint64_t paddr, size_t size, unsigned int *data)
Protect the memory used by TUI.
TEE_Result TEES_HDCP_SetKeyInfo(struct secHDCPKeyInfo_t *SecureHDCPKey_info, unsigned int *data)
Set HDCP key information.
Key information for HDCP.
Definition: tees_ssapi.h:21
TEE_Result TEES_SECCAM_GetStatus(unsigned int *data)
Get a status of secure camera.
TEE_Result TEES_TUI_SetInfo(uint32_t cmd, uint64_t paddr, size_t size, unsigned int *data)
Set or clear TUI information.
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.
TEE_Result TEES_SECCAM_Unprotect(uint64_t paddr, size_t size, unsigned int *data)
Unprotect the memory used by secure camera.
TEE_Result TEES_SECCAM_Protect(uint64_t paddr, size_t size, unsigned int *data)
Protect the memory used by secure camera.
TEE_Result TEES_TUI_Unprotect(uint64_t paddr, size_t size, unsigned int *data)
Unprotect the memory used by TUI.