/kernel/linux/common_modules/tzdriver/core/ |
H A D | session_manager.h | 23 int tc_ns_open_session(struct tc_ns_dev_file *dev_file, 25 int tc_ns_close_session(struct tc_ns_dev_file *dev_file, 27 int tc_ns_send_cmd(struct tc_ns_dev_file *dev_file, 29 int tc_ns_load_image(struct tc_ns_dev_file *dev, const char *file_buffer, 31 int tc_ns_load_image_with_lock(struct tc_ns_dev_file *dev, 33 void close_unclosed_session_in_kthread(struct tc_ns_dev_file *dev); 36 struct tc_ns_service *tc_find_service_in_dev(const struct tc_ns_dev_file *dev, 40 const struct tc_ns_dev_file *dev_file); 41 int tc_ns_load_secfile(struct tc_ns_dev_file *dev_file,
|
H A D | agent.h | 56 struct tc_ns_dev_file *owner; 115 int tc_ns_register_agent(struct tc_ns_dev_file *dev_file, unsigned int agent_id, 118 void send_crashed_event_response_all(const struct tc_ns_dev_file *dev_file); 121 void send_event_response_single(const struct tc_ns_dev_file *dev_file); 127 bool is_system_agent(const struct tc_ns_dev_file *dev_file); 128 void tee_agent_clear_dev_owner(const struct tc_ns_dev_file *dev_file);
|
H A D | session_manager.c | 113 static int add_service_to_dev(struct tc_ns_dev_file *dev, in add_service_to_dev() 162 static void del_service_from_dev(struct tc_ns_dev_file *dev, in del_service_from_dev() 189 unsigned int session_id, const struct tc_ns_dev_file *dev_file) in tc_find_session_withowner() 206 struct tc_ns_service *tc_find_service_in_dev(const struct tc_ns_dev_file *dev, in tc_find_service_in_dev() 225 struct tc_ns_dev_file *dev_file = NULL; in tc_find_session_by_uuid() 316 int tc_ns_load_secfile(struct tc_ns_dev_file *dev_file, in tc_ns_load_secfile() 396 static int set_login_information_uname(struct tc_ns_dev_file *dev_file, uint32_t uid) in set_login_information_uname() 414 static int set_login_information_uid(struct tc_ns_dev_file *dev_file, uint32_t ca_uid) in set_login_information_uid() 431 static int set_login_information(struct tc_ns_dev_file *dev_file, in set_login_information() 491 static int check_login_method(struct tc_ns_dev_file *dev_fil [all...] |
H A D | tz_update_crl.h | 19 int send_crl_to_tee(const char *crl_buffer, uint32_t crl_len, const struct tc_ns_dev_file *dev_file);
20 int tc_ns_update_ta_crl(const struct tc_ns_dev_file *dev_file, void __user *argp);
21 int tz_update_crl(const char *file_path, const struct tc_ns_dev_file *dev_file);
|
H A D | tc_client_driver.h | 32 struct tc_ns_dev_file *tc_find_dev_file(unsigned int dev_file_id); 33 int tc_ns_client_open(struct tc_ns_dev_file **dev_file, uint8_t kernel_api); 34 int tc_ns_client_close(struct tc_ns_dev_file *dev);
|
H A D | tc_client_driver.c | 205 static int tc_ns_get_tee_version(const struct tc_ns_dev_file *dev_file, in tc_ns_get_tee_version() 251 static int get_pack_name_len(struct tc_ns_dev_file *dev_file, in get_pack_name_len() 270 static int get_public_key_len(struct tc_ns_dev_file *dev_file, in get_public_key_len() 289 static int get_public_key(struct tc_ns_dev_file *dev_file, in get_public_key() 326 static int alloc_login_buf(struct tc_ns_dev_file *dev_file, in alloc_login_buf() 356 static int tc_login_check(const struct tc_ns_dev_file *dev_file) in tc_login_check() 374 static int tc_ns_client_login_func(struct tc_ns_dev_file *dev_file, in tc_ns_client_login_func() 440 int tc_ns_client_open(struct tc_ns_dev_file **dev_file, uint8_t kernel_api) in tc_ns_client_open() 442 struct tc_ns_dev_file *dev = NULL; in tc_ns_client_open() 483 static void del_dev_node(struct tc_ns_dev_file *de [all...] |
H A D | tz_update_crl.c | 27 int send_crl_to_tee(const char *crl_buffer, uint32_t crl_len, const struct tc_ns_dev_file *dev_file)
in send_crl_to_tee() 79 int tc_ns_update_ta_crl(const struct tc_ns_dev_file *dev_file, void __user *argp)
in tc_ns_update_ta_crl() 151 int tz_update_crl(const char *file_path, const struct tc_ns_dev_file *dev_file)
in tz_update_crl()
|
H A D | agent.c | 363 void send_event_response_single(const struct tc_ns_dev_file *dev_file) in send_event_response_single() 735 static void init_restart_agent_node(struct tc_ns_dev_file *dev_file, in init_restart_agent_node() 748 static int create_new_agent_node(struct tc_ns_dev_file *dev_file, in create_new_agent_node() 867 struct smc_event_data **event_data, struct tc_ns_dev_file *dev_file, bool *find_flag) in is_agent_already_exist() 964 int tc_ns_register_agent(struct tc_ns_dev_file *dev_file, in tc_ns_register_agent() 1068 bool is_system_agent(const struct tc_ns_dev_file *dev_file) in is_system_agent() 1091 void send_crashed_event_response_all(const struct tc_ns_dev_file *dev_file) in send_crashed_event_response_all() 1118 void tee_agent_clear_dev_owner(const struct tc_ns_dev_file *dev_file) in tee_agent_clear_dev_owner() 1170 struct tc_ns_dev_file dev = {0}; in def_tee_agent_run()
|
H A D | teek_client_api.c | 337 ret = tc_ns_client_open((struct tc_ns_dev_file **)&context->dev, in teek_initialize_context() 395 struct tc_ns_dev_file *dev_file = NULL; in check_open_sess_params() 407 dev_file = (struct tc_ns_dev_file *)(context->dev); in check_open_sess_params()
|
H A D | tz_spi_notify.c | 221 struct tc_ns_dev_file *temp_dev_file = NULL; in find_notify_sess()
|
/kernel/linux/common_modules/tzdriver/ |
H A D | agent.h | 56 struct tc_ns_dev_file *owner; 115 int tc_ns_register_agent(struct tc_ns_dev_file *dev_file, unsigned int agent_id, 118 void send_crashed_event_response_all(const struct tc_ns_dev_file *dev_file); 121 void send_event_response_single(const struct tc_ns_dev_file *dev_file); 127 bool is_system_agent(const struct tc_ns_dev_file *dev_file); 128 void tee_agent_clear_dev_owner(const struct tc_ns_dev_file *dev_file);
|
H A D | teek_ns_client.h | 98 struct tc_ns_dev_file { struct 205 struct tc_ns_dev_file *owner; 216 struct tc_ns_dev_file *dev_file; 226 struct tc_ns_dev_file *dev;
|
H A D | tui.h | 210 int tc_ns_tui_event(struct tc_ns_dev_file *dev_file, const void *argp); 267 static inline int tc_ns_tui_event(struct tc_ns_dev_file *dev_file, const void *argp) in tc_ns_tui_event()
|
/kernel/linux/common_modules/tzdriver/auth/ |
H A D | client_hash_auth.h | 27 int calc_client_auth_hash(struct tc_ns_dev_file *dev_file, 32 static inline int calc_client_auth_hash(struct tc_ns_dev_file *dev_file, in calc_client_auth_hash() 50 int set_login_information_hash(struct tc_ns_dev_file *hash_dev_file);
|
H A D | client_hash_auth.c | 301 int calc_client_auth_hash(struct tc_ns_dev_file *dev_file, in calc_client_auth_hash() 362 static int construct_hashdata(struct tc_ns_dev_file *dev_file, in construct_hashdata() 441 int set_login_information_hash(struct tc_ns_dev_file *hash_dev_file) in set_login_information_hash()
|
/kernel/linux/common_modules/tzdriver/tui/ |
H A D | tui.h | 210 int tc_ns_tui_event(struct tc_ns_dev_file *dev_file, const void *argp); 267 static inline int tc_ns_tui_event(struct tc_ns_dev_file *dev_file, const void *argp) in tc_ns_tui_event()
|
H A D | tui.c | 1985 int tc_ns_tui_event(struct tc_ns_dev_file *dev_file, const void *argp)
|