| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/include/ |
| H A D | xml_timearithm_api.h | 620 static TEEC_Result Invoke_BigIntCmpS32(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_BigIntCmpS32() 629 static TEEC_Result Invoke_BigIntCmp(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_BigIntCmp() 637 static TEEC_Result Invoke_BigIntComputeExtendedGcd(ADBG_Case_t *c, in Invoke_BigIntComputeExtendedGcd() 648 static TEEC_Result Invoke_BigIntAddMod(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_BigIntAddMod() 655 static TEEC_Result Invoke_BigIntAdd(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_BigIntAdd() 662 static TEEC_Result Invoke_BigIntMul(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_BigIntMul() 669 static TEEC_Result Invoke_BigIntMulMod(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_BigIntMulMod() 676 static TEEC_Result Invoke_StoreS32(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_StoreS32() 695 static TEEC_Result Invoke_BigIntConvertFromS32(ADBG_Case_t *c, in Invoke_BigIntConvertFromS32() 703 static TEEC_Result Invoke_BigIntConvertToS32(ADBG_Case_t *c, in Invoke_BigIntConvertToS32() [all …]
|
| H A D | xml_internal_api.h | 252 static TEEC_Result Invoke_MemFill(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_MemFill() 260 static TEEC_Result Invoke_GetPropertyAsXXX_withoutEnum( in Invoke_GetPropertyAsXXX_withoutEnum() 265 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_GetPropertyAsXXX_withoutEnum() 318 static TEEC_Result Invoke_MemCompare( in Invoke_MemCompare() 322 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_MemCompare() 357 static TEEC_Result Invoke_SetInstanceData(ADBG_Case_t *c, in Invoke_SetInstanceData() 361 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_SetInstanceData() 382 static TEEC_Result Invoke_GetInstanceData( in Invoke_GetInstanceData() 386 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_GetInstanceData() 417 static TEEC_Result Invoke_ProcessInvokeTAOpenSession( in Invoke_ProcessInvokeTAOpenSession() [all …]
|
| H A D | xml_datastorage_api.h | 1210 static TEEC_Result Invoke_ReadObjectData( in Invoke_ReadObjectData() 1214 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_ReadObjectData() 1257 static TEEC_Result Invoke_RenamePersistentObject(ADBG_Case_t *c, in Invoke_RenamePersistentObject() 1264 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_RenamePersistentObject() 1290 static TEEC_Result Invoke_AllocateTransientObject(ADBG_Case_t *c, in Invoke_AllocateTransientObject() 1301 static TEEC_Result Invoke_GetObjectInfo1(ADBG_Case_t *c, in Invoke_GetObjectInfo1() 1306 TEEC_Result res; in Invoke_GetObjectInfo1() 1331 static TEEC_Result Invoke_GetObjectInfo(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_GetObjectInfo() 1378 static TEEC_Result Invoke_RestrictObjectUsage1(ADBG_Case_t *c, in Invoke_RestrictObjectUsage1() 1386 static TEEC_Result Invoke_RestrictObjectUsage(ADBG_Case_t *c, in Invoke_RestrictObjectUsage() [all …]
|
| H A D | xml_crypto_api.h | 1015 static TEEC_Result calculate_digest(ADBG_Case_t *c, const void *data, 1019 static TEEC_Result sign_digest(ADBG_Case_t *c, 1025 static TEEC_Result mac_compute_final(ADBG_Case_t *c, TEEC_Session *s, 1030 static TEEC_Result cipher_do_final(ADBG_Case_t *c, TEEC_Session *s, 1057 static TEEC_Result Invoke_Crypto_AllocateOperation(ADBG_Case_t *c, in Invoke_Crypto_AllocateOperation() 1065 TEEC_Result res = TEEC_SUCCESS; in Invoke_Crypto_AllocateOperation() 1091 static TEEC_Result Invoke_Crypto_GetOperationInfo(ADBG_Case_t *c , in Invoke_Crypto_GetOperationInfo() 1096 TEEC_Result res = TEEC_SUCCESS; in Invoke_Crypto_GetOperationInfo() 1127 static TEEC_Result Invoke_Crypto_GetOperationInfoMultiple(ADBG_Case_t *c, in Invoke_Crypto_GetOperationInfoMultiple() 1133 TEEC_Result res = TEEC_SUCCESS; in Invoke_Crypto_GetOperationInfoMultiple() [all …]
|
| H A D | xml_common_api.h | 113 static TEEC_Result __maybe_unused 123 static TEEC_Result __maybe_unused 139 static TEEC_Result __maybe_unused 158 static TEEC_Result __maybe_unused 179 static TEEC_Result __maybe_unused 203 static TEEC_Result __maybe_unused AllocateSharedMemory(TEEC_Context *ctx, in AllocateSharedMemory() 213 static TEEC_Result GetObjectBufferAttribute_helper(ADBG_Case_t *c, in GetObjectBufferAttribute_helper() 222 TEEC_Result res = TEE_SUCCESS; in GetObjectBufferAttribute_helper() 266 static TEEC_Result __maybe_unused 275 static TEEC_Result __maybe_unused
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/rk_test/ |
| H A D | rktest.c | 42 static TEEC_Result invoke_transfer_data(TEEC_Context *context, in invoke_transfer_data() 46 TEEC_Result res = TEEC_SUCCESS; in invoke_transfer_data() 101 static TEEC_Result invoke_storage(TEEC_Session *session, in invoke_storage() 108 static TEEC_Result test_storage_speed(TEEC_Session *session, in test_storage_speed() 112 TEEC_Result res = TEEC_SUCCESS; in test_storage_speed() 143 static TEEC_Result invoke_storage_speed(TEEC_Session *session, in invoke_storage_speed() 146 TEEC_Result res = TEEC_SUCCESS; in invoke_storage_speed() 160 static TEEC_Result invoke_property(TEEC_Session *session, in invoke_property() 167 static TEEC_Result invoke_crypto_sha(TEEC_Session *session, in invoke_crypto_sha() 174 static TEEC_Result invoke_crypto_aes(TEEC_Session *session, in invoke_crypto_aes() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | xtest_helpers.h | 23 TEEC_Result xtest_teec_ctx_init(void); 27 TEEC_Result xtest_teec_open_session(TEEC_Session *session, 31 TEEC_Result xtest_teec_open_static_session(TEEC_Session *session, 44 TEEC_Result ta_crypt_cmd_allocate_operation(ADBG_Case_t *c, 51 TEEC_Result ta_crypt_cmd_allocate_transient_object(ADBG_Case_t *c, 56 TEEC_Result ta_crypt_cmd_populate_transient_object(ADBG_Case_t *c, 67 TEEC_Result ta_crypt_cmd_free_transient_object(ADBG_Case_t *c, 71 TEEC_Result ta_crypt_cmd_derive_key(ADBG_Case_t *c, 78 TEEC_Result ta_crypt_cmd_get_object_buffer_attribute(ADBG_Case_t *c, 85 TEEC_Result ta_crypt_cmd_free_operation(ADBG_Case_t *c, [all …]
|
| H A D | xtest_helpers.c | 24 TEEC_Result xtest_teec_ctx_init(void) in xtest_teec_ctx_init() 29 TEEC_Result xtest_teec_open_session(TEEC_Session *session, in xtest_teec_open_session() 42 TEEC_Result ta_crypt_cmd_allocate_operation(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_allocate_operation() 47 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_allocate_operation() 73 TEEC_Result ta_crypt_cmd_allocate_transient_object(ADBG_Case_t *c, in ta_crypt_cmd_allocate_transient_object() 79 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_allocate_transient_object() 192 TEEC_Result ta_crypt_cmd_populate_transient_object(ADBG_Case_t *c, in ta_crypt_cmd_populate_transient_object() 198 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_populate_transient_object() 234 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_set_operation_key() 258 TEEC_Result ta_crypt_cmd_free_transient_object(ADBG_Case_t *c, TEEC_Session *s, in ta_crypt_cmd_free_transient_object() [all …]
|
| H A D | regression_4100.c | 18 static TEEC_Result cmd_new_var(ADBG_Case_t *c, TEEC_Session *s, in cmd_new_var() 21 TEEC_Result res = TEEC_ERROR_GENERIC; in cmd_new_var() 36 static TEEC_Result cmd_new_fmm_var(ADBG_Case_t *c, TEEC_Session *s, in cmd_new_fmm_var() 39 TEEC_Result res = TEEC_ERROR_GENERIC; in cmd_new_fmm_var() 55 static TEEC_Result cmd_new_fmm_ctx(ADBG_Case_t *c, TEEC_Session *s, in cmd_new_fmm_ctx() 59 TEEC_Result res = TEEC_ERROR_GENERIC; in cmd_new_fmm_ctx() 76 static TEEC_Result cmd_free_handle(ADBG_Case_t *c, TEEC_Session *s, in cmd_free_handle() 82 TEEC_Result res = TEEC_ERROR_GENERIC; in cmd_free_handle() 96 static TEEC_Result cmd_from_octet_string(ADBG_Case_t *c, TEEC_Session *s, in cmd_from_octet_string() 100 TEEC_Result res = TEEC_ERROR_GENERIC; in cmd_from_octet_string() [all …]
|
| H A D | regression_6000.c | 101 static TEEC_Result fs_open(TEEC_Session *sess, void *id, uint32_t id_size, in fs_open() 105 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_open() 126 static TEEC_Result fs_create(TEEC_Session *sess, void *id, uint32_t id_size, in fs_create() 132 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_create() 156 static TEEC_Result fs_create_overwrite(TEEC_Session *sess, void *id, in fs_create_overwrite() 160 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_create_overwrite() 176 static TEEC_Result fs_close(TEEC_Session *sess, uint32_t obj) in fs_close() 189 static TEEC_Result fs_read(TEEC_Session *sess, uint32_t obj, void *data, in fs_read() 192 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_read() 213 static TEEC_Result fs_write(TEEC_Session *sess, uint32_t obj, void *data, in fs_write() [all …]
|
| H A D | xtest_uuid_helpers.c | 47 TEEC_Result xtest_uuid_from_str(TEEC_UUID *uuid, const char *s) in xtest_uuid_from_str() 49 TEEC_Result res = TEEC_SUCCESS; in xtest_uuid_from_str() 86 TEEC_Result xtest_uuid_v5(TEEC_UUID *uuid, const TEEC_UUID *ns, in xtest_uuid_v5() 89 TEEC_Result res = TEEC_SUCCESS; in xtest_uuid_v5()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/host/rk_test/ |
| H A D | rktest.c | 15 static TEEC_Result invoke_transfer_data(TEEC_Context *context, TEEC_Session *session, in invoke_transfer_data() 18 TEEC_Result res = TEEC_SUCCESS; in invoke_transfer_data() 72 static TEEC_Result invoke_storage(TEEC_Session *session, in invoke_storage() 79 static TEEC_Result test_storage_speed(TEEC_Session *session, in test_storage_speed() 83 TEEC_Result res = TEEC_SUCCESS; in test_storage_speed() 114 static TEEC_Result invoke_storage_speed(TEEC_Session *session, in invoke_storage_speed() 117 TEEC_Result res = TEEC_SUCCESS; in invoke_storage_speed() 131 static TEEC_Result invoke_property(TEEC_Session *session, in invoke_property() 138 static TEEC_Result invoke_crypto_sha(TEEC_Session *session, in invoke_crypto_sha() 145 static TEEC_Result invoke_crypto_aes(TEEC_Session *session, in invoke_crypto_aes() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/optee_clientApi/ |
| H A D | OpteeClientApiLib.c | 101 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 D | OpteeClientRPC.c | 29 TEEC_Result OpteeRpcAlloc(uint32_t Size, uint32_t *Address) in OpteeRpcAlloc() 31 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcAlloc() 51 TEEC_Result OpteeRpcFree(uint32_t Address) in OpteeRpcFree() 81 TEEC_Result OpteeRpcCmdLoadTa(t_teesmc32_arg *TeeSmc32Arg) in OpteeRpcCmdLoadTa() 83 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdLoadTa() 106 TEEC_Result Status = 0; in OpteeRpcCmdLoadTa() 152 TEEC_Result OpteeRpcCmdLoadV2Ta(t_teesmc32_arg *TeeSmc32Arg) in OpteeRpcCmdLoadV2Ta() 154 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdLoadV2Ta() 198 TEEC_Result OpteeRpcCmdFreeTa(t_teesmc32_arg *TeeSmc32Arg) in OpteeRpcCmdFreeTa() 200 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdFreeTa() [all …]
|
| H A D | OpteeClientSMC.c | 22 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 D | OpteeClientInterface.c | 95 TEEC_Result TeecResult; in trusty_base_write_security_data() 195 TEEC_Result TeecResult; in trusty_base_read_security_data() 290 TEEC_Result TeecResult; in trusty_base_end_security_data() 417 TEEC_Result TeecResult; in trusty_base_end_efuse_or_otp() 468 TEEC_Result TeecResult; in trusty_base_efuse_or_otp_operation() 554 TEEC_Result res; in trusty_notify_optee_uboot_end() 576 TEEC_Result TeecResult; in trusty_read_vbootkey_enable_flag() 619 TEEC_Result TeecResult; in trusty_select_security_level() 638 TEEC_Result TeecResult; in trusty_write_oem_ns_otp() 703 TEEC_Result TeecResult; in trusty_read_oem_ns_otp() [all …]
|
| /OK3568_Linux_fs/u-boot/include/optee_include/ |
| H A D | tee_client_api.h | 210 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 D | OpteeClientSMC.h | 13 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,
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | keymaster.c | 15 TEEC_Result read_from_keymaster(uint8_t *filename, in read_from_keymaster() 20 TEEC_Result TeecResult; in read_from_keymaster() 110 TEEC_Result write_to_keymaster(uint8_t *filename, in write_to_keymaster() 115 TEEC_Result TeecResult; in write_to_keymaster() 206 TEEC_Result trusty_write_oem_unlock(uint8_t unlock) in trusty_write_oem_unlock() 209 TEEC_Result ret; in trusty_write_oem_unlock() 218 TEEC_Result trusty_read_oem_unlock(uint8_t *unlock) in trusty_read_oem_unlock() 221 TEEC_Result ret; in trusty_read_oem_unlock()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/client_export/public/ |
| H A D | tee_client_api.h | 235 typedef uint32_t TEEC_Result; typedef 405 TEEC_Result TEEC_InitializeContext(const char *name, TEEC_Context *context); 446 TEEC_Result TEEC_OpenSession(TEEC_Context *context, 479 TEEC_Result TEEC_InvokeCommand(TEEC_Session *session, 496 TEEC_Result TEEC_RegisterSharedMemory(TEEC_Context *context, 510 TEEC_Result TEEC_AllocateSharedMemory(TEEC_Context *context,
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/client_export/public/ |
| H A D | tee_client_api.h | 249 typedef uint32_t TEEC_Result; typedef 426 TEEC_Result TEEC_InitializeContext(const char *name, TEEC_Context *context); 467 TEEC_Result TEEC_OpenSession(TEEC_Context *context, 500 TEEC_Result TEEC_InvokeCommand(TEEC_Session *session, 517 TEEC_Result TEEC_RegisterSharedMemory(TEEC_Context *context, 531 TEEC_Result TEEC_AllocateSharedMemory(TEEC_Context *context,
|
| /OK3568_Linux_fs/external/security/librkcrypto/third_party/optee_client/public/ |
| H A D | tee_client_api.h | 249 typedef uint32_t TEEC_Result; typedef 426 TEEC_Result TEEC_InitializeContext(const char *name, TEEC_Context *context); 467 TEEC_Result TEEC_OpenSession(TEEC_Context *context, 500 TEEC_Result TEEC_InvokeCommand(TEEC_Session *session, 517 TEEC_Result TEEC_RegisterSharedMemory(TEEC_Context *context, 531 TEEC_Result TEEC_AllocateSharedMemory(TEEC_Context *context,
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | keymaster.h | 21 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);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/supp_plugin/ |
| H A D | test_supp_plugin.c | 16 static TEEC_Result pass_values(unsigned int sub_cmd, void *data, in pass_values() 35 static TEEC_Result proc_input_arr(unsigned int sub_cmd, void *data, in proc_input_arr() 53 static TEEC_Result get_test_arr(unsigned int sub_cmd, void *data, in get_test_arr() 69 static TEEC_Result test_plugin_invoke(unsigned int cmd, unsigned int sub_cmd, in test_plugin_invoke()
|
| /OK3568_Linux_fs/external/security/librkcrypto/third_party/optee_client/libteec/src/ |
| H A D | tee_client_api.c | 158 TEEC_Result TEEC_InitializeContext(const char *name, TEEC_Context *ctx) in TEEC_InitializeContext() 190 static TEEC_Result teec_pre_process_tmpref(TEEC_Context *ctx, in teec_pre_process_tmpref() 195 TEEC_Result res = TEEC_ERROR_GENERIC; in teec_pre_process_tmpref() 247 static TEEC_Result teec_pre_process_whole( in teec_pre_process_whole() 279 static TEEC_Result teec_pre_process_partial(uint32_t param_type, in teec_pre_process_partial() 328 static TEEC_Result teec_pre_process_operation(TEEC_Context *ctx, in teec_pre_process_operation() 333 TEEC_Result res = TEEC_ERROR_GENERIC; in teec_pre_process_operation() 515 static TEEC_Result ioctl_errno_to_res(int err) in ioctl_errno_to_res() 591 TEEC_Result TEEC_OpenSession(TEEC_Context *ctx, TEEC_Session *session, in TEEC_OpenSession() 598 TEEC_Result res = TEEC_ERROR_GENERIC; in TEEC_OpenSession() [all …]
|