Home
last modified time | relevance | path

Searched refs:TEEC_Result (Results 1 – 24 of 24) sorted by relevance

/rk3399_rockchip-uboot/lib/optee_clientApi/
H A DOpteeClientRPC.c33 TEEC_Result OpteeRpcAlloc(uint32_t Size, uint32_t *Address) in OpteeRpcAlloc()
35 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcAlloc()
55 TEEC_Result OpteeRpcFree(uint32_t Address) in OpteeRpcFree()
61 TEEC_Result OpteeRpcCmdLoadV2Ta(t_teesmc32_arg *TeeSmc32Arg) in OpteeRpcCmdLoadV2Ta()
63 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdLoadV2Ta()
98 TEEC_Result OpteeRpcCmdRpmb(t_teesmc32_arg *TeeSmc32Arg) in OpteeRpcCmdRpmb()
120 TEEC_Result OpteeRpcCmdFs(t_teesmc32_arg *TeeSmc32Arg) in OpteeRpcCmdFs()
122 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdFs()
142 TEEC_Result OpteeRpcCmdGetTime(t_teesmc32_arg *TeeSmc32Arg) in OpteeRpcCmdGetTime()
150 TEEC_Result OpteeRpcCmdWaitMutex(t_teesmc32_arg *TeeSmc32Arg) in OpteeRpcCmdWaitMutex()
[all …]
H A DOpteeClientApiLib.c101 TEEC_Result OpteeClientApiLibInitialize(void) in OpteeClientApiLibInitialize()
103 TEEC_Result status = TEEC_SUCCESS; in OpteeClientApiLibInitialize()
137 TEEC_Result TEEC_InitializeContext(const char *name, in TEEC_InitializeContext()
140 TEEC_Result teecresult = TEEC_SUCCESS; in TEEC_InitializeContext()
181 TEEC_Result TEEC_FinalizeContext(TEEC_Context *context) in TEEC_FinalizeContext()
207 TEEC_Result TEEC_AllocateSharedMemory(TEEC_Context *context, in TEEC_AllocateSharedMemory()
210 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_AllocateSharedMemory()
279 TEEC_Result TEEC_RegisterSharedMemory(TEEC_Context *context, in TEEC_RegisterSharedMemory()
282 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_RegisterSharedMemory()
324 TEEC_Result TEEC_OpenSession(TEEC_Context *context, in TEEC_OpenSession()
[all …]
H A DOpteeClientSMC.c22 static TEEC_Result OpteeSmcCall(t_teesmc32_arg *TeeSmc32Arg);
44 TEEC_Result TEEC_SMC_OpenSession(TEEC_Context *context, in TEEC_SMC_OpenSession()
50 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_SMC_OpenSession()
148 TEEC_Result TEEC_SMC_CloseSession(TEEC_Session *session, in TEEC_SMC_CloseSession()
151 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_SMC_CloseSession()
193 TEEC_Result TEEC_SMC_InvokeCommand(TEEC_Session *session, in TEEC_SMC_InvokeCommand()
198 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_SMC_InvokeCommand()
253 TEEC_Result TEEC_SMC_RequestCancellation(TEEC_Operation *operation, in TEEC_SMC_RequestCancellation()
329 TEEC_Result OpteeSmcCall(t_teesmc32_arg *TeeSmc32Arg) in OpteeSmcCall()
331 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeSmcCall()
H A Dtee_mmc_rpmb.c92 TEEC_Result emmc_rpmb_process(t_teesmc32_arg *smc_arg) in emmc_rpmb_process()
100 TEEC_Result result = TEEC_SUCCESS; in emmc_rpmb_process()
101 TEEC_Result status; in emmc_rpmb_process()
148 TEEC_Result emmc_rpmb_process(t_teesmc32_arg *smc_arg) in emmc_rpmb_process()
H A Dtee_ufs_rpmb.c159 TEEC_Result ufs_rpmb_process(t_teesmc32_arg *smc_arg) in ufs_rpmb_process()
167 TEEC_Result result = TEEC_SUCCESS; in ufs_rpmb_process()
168 TEEC_Result status; in ufs_rpmb_process()
215 TEEC_Result ufs_rpmb_process(t_teesmc32_arg *smc_arg) in ufs_rpmb_process()
H A DOpteeClientInterface.c109 TEEC_Result TeecResult; in trusty_base_write_security_data()
212 TEEC_Result TeecResult; in trusty_base_read_security_data()
310 TEEC_Result TeecResult; in trusty_base_end_security_data()
358 TEEC_Result TeecResult; in trusty_notify_always_use_security()
486 TEEC_Result TeecResult; in trusty_base_end_efuse_or_otp()
537 TEEC_Result TeecResult; in trusty_base_efuse_or_otp_operation()
623 TEEC_Result res; in trusty_notify_optee_uboot_end()
645 TEEC_Result TeecResult; in trusty_read_vbootkey_enable_flag()
672 TEEC_Result TeecResult; in trusty_ta_encryption_key_is_written()
728 TEEC_Result TeecResult; in trusty_oem_encrypt_data_is_written()
[all …]
H A DOpteeClientRkNewFs_v1.c993 static TEEC_Result ree_fs_new_create(size_t num_params, in ree_fs_new_create()
1065 static TEEC_Result ree_fs_new_close(size_t num_params, in ree_fs_new_close()
1074 static TEEC_Result ree_fs_new_read(size_t num_params, in ree_fs_new_read()
1125 static TEEC_Result ree_fs_new_write(size_t num_params, in ree_fs_new_write()
1236 static TEEC_Result ree_fs_new_truncate(size_t num_params, in ree_fs_new_truncate()
1286 static TEEC_Result ree_fs_new_remove(size_t num_params, in ree_fs_new_remove()
1344 static TEEC_Result ree_fs_new_rename(size_t num_params, in ree_fs_new_rename()
1399 static TEEC_Result ree_fs_new_opendir(size_t num_params, in ree_fs_new_opendir()
1423 static TEEC_Result ree_fs_new_closedir(size_t num_params, in ree_fs_new_closedir()
1437 static TEEC_Result ree_fs_new_readdir(size_t num_params, in ree_fs_new_readdir()
H A DOpteeClientRkNewFs_v2.c994 static TEEC_Result ree_fs_new_create(size_t num_params, in ree_fs_new_create()
1054 static TEEC_Result ree_fs_new_close(size_t num_params, in ree_fs_new_close()
1063 static TEEC_Result ree_fs_new_read(size_t num_params, in ree_fs_new_read()
1116 static TEEC_Result ree_fs_new_write(size_t num_params, in ree_fs_new_write()
1214 static TEEC_Result ree_fs_new_truncate(size_t num_params, in ree_fs_new_truncate()
1254 static TEEC_Result ree_fs_new_remove(size_t num_params, in ree_fs_new_remove()
1298 static TEEC_Result ree_fs_new_rename(size_t num_params, in ree_fs_new_rename()
1343 static TEEC_Result ree_fs_new_opendir(size_t num_params, in ree_fs_new_opendir()
1368 static TEEC_Result ree_fs_new_closedir(size_t num_params, in ree_fs_new_closedir()
1382 static TEEC_Result ree_fs_new_readdir(size_t num_params, in ree_fs_new_readdir()
/rk3399_rockchip-uboot/include/optee_include/
H A Dtee_client_api.h210 typedef uint32_t TEEC_Result; typedef
383 TEEC_Result TEEC_InitializeContext(const char *name, TEEC_Context *context);
400 TEEC_Result TEEC_FinalizeContext(TEEC_Context *context);
428 TEEC_Result TEEC_OpenSession(TEEC_Context *context,
461 TEEC_Result TEEC_InvokeCommand(TEEC_Session *session,
478 TEEC_Result TEEC_RegisterSharedMemory(TEEC_Context *context,
492 TEEC_Result TEEC_AllocateSharedMemory(TEEC_Context *context,
521 TEEC_Result TEEC_RegisterTA(const void *ta, const size_t size);
H A DOpteeClientSMC.h13 TEEC_Result TEEC_SMC_OpenSession(TEEC_Context * context,
19 TEEC_Result TEEC_SMC_CloseSession(TEEC_Session *session,
22 TEEC_Result TEEC_SMC_InvokeCommand(TEEC_Session *session,
27 TEEC_Result TEEC_SMC_RequestCancellation(TEEC_Operation *operation,
H A Dtee_mmc_rpmb.h12 TEEC_Result emmc_rpmb_process(t_teesmc32_arg *TeeSmc32Arg);
H A Dtee_ufs_rpmb.h12 TEEC_Result ufs_rpmb_process(t_teesmc32_arg *TeeSmc32Arg);
H A DOpteeClientApiLib.h13 TEEC_Result OpteeClientApiLibInitialize(void);
H A DOpteeClientRPC.h24 TEEC_Result OpteeRpcCallback(ARM_SMC_ARGS *ArmSmcArgs);
/rk3399_rockchip-uboot/include/
H A Dkeymaster.h21 TEEC_Result read_from_keymaster(uint8_t *filename,
36 TEEC_Result write_to_keymaster(uint8_t *filename,
48 TEEC_Result trusty_read_oem_unlock(uint8_t *unlock);
57 TEEC_Result trusty_write_oem_unlock(uint8_t unlock);
H A Dwrite_keybox.h35 TEEC_Result write_to_security_storage(uint8_t is_use_rpmb,
/rk3399_rockchip-uboot/common/
H A Dkeymaster.c15 TEEC_Result read_from_keymaster(uint8_t *filename, in read_from_keymaster()
20 TEEC_Result TeecResult; in read_from_keymaster()
114 TEEC_Result write_to_keymaster(uint8_t *filename, in write_to_keymaster()
119 TEEC_Result TeecResult; in write_to_keymaster()
214 TEEC_Result trusty_write_oem_unlock(uint8_t unlock) in trusty_write_oem_unlock()
217 TEEC_Result ret; in trusty_write_oem_unlock()
226 TEEC_Result trusty_read_oem_unlock(uint8_t *unlock) in trusty_read_oem_unlock()
229 TEEC_Result ret; in trusty_read_oem_unlock()
H A Did_attestation.c40 TEEC_Result ret = read_from_keymaster((u8 *)ids_digest_file, strlen(ids_digest_file), in read_id_attestation_digest()
52 TEEC_Result ret = write_to_keymaster((u8 *)ids_file, strlen(ids_file), in write_id_attestation()
77 TEEC_Result ret = read_from_keymaster((u8 *)ids_file, in write_id_attestation_to_secure_storage()
H A Dwrite_keybox.c25 TEEC_Result write_to_security_storage(uint8_t is_use_rpmb, in write_to_security_storage()
31 TEEC_Result TeecResult; in write_to_security_storage()
129 TEEC_Result TeecResult; in rk_send_keybox_to_ta()
239 TEEC_Result ret; in write_keybox_to_secure_storage()
H A Dattestation_key.c209 TEEC_Result ret=write_to_keymaster((uint8_t *)key_file, strlen(key_file), in write_key()
466 TEEC_Result ret_rsa=write_key(KM_ALGORITHM_RSA, key_name, key_data, key_data_length); in write_attestation_key_to_secure_storage()
474 TEEC_Result ret_ec=write_key(KM_ALGORITHM_EC, key_name, key_data, key_data_length); in write_attestation_key_to_secure_storage()
H A Dandroid_bootloader.c1364 TEEC_Result result; in android_bootloader_boot_flow()
/rk3399_rockchip-uboot/cmd/
H A Doptee.c16 TEEC_Result TeecResult; in test_secure_storage_default()
158 TEEC_Result TeecResult; in test_secure_storage_security_partition()
H A Dbootrkp.c328 TEEC_Result result; in do_boot_rockchip()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Df_fastboot.c2042 TEEC_Result result; in cb_oem()
2074 TEEC_Result result; in cb_oem()
2130 TEEC_Result result; in cb_oem()