| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | regression_1000.c | 72 TEEC_InvokeCommand(cs->session, in xtest_crypto_test() 94 TEEC_InvokeCommand(cs->session, in xtest_crypto_test() 131 TEEC_InvokeCommand(cs->session, in xtest_crypto_test() 173 TEEC_InvokeCommand(cs->session, in xtest_crypto_test() 215 TEEC_InvokeCommand(cs->session, in xtest_crypto_test() 247 (void)ADBG_EXPECT_TEEC_SUCCESS(c, TEEC_InvokeCommand( in xtest_tee_test_1001() 282 if (!ADBG_EXPECT_TEEC_SUCCESS(c, TEEC_InvokeCommand( in xtest_tee_test_1002() 324 a->res = TEEC_InvokeCommand(&session, in test_1003_thread() 466 TEEC_InvokeCommand(&session, TA_OS_TEST_CMD_BAD_MEM_ACCESS, &op, in xtest_tee_test_invalid_mem_access() 471 TEEC_InvokeCommand(&session, TA_OS_TEST_CMD_BAD_MEM_ACCESS, &op, in xtest_tee_test_invalid_mem_access() [all …]
|
| H A D | xtest_helpers.c | 59 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ALLOCATE_OPERATION, &op, in ta_crypt_cmd_allocate_operation() 89 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ALLOCATE_TRANSIENT_OBJECT, &op, in ta_crypt_cmd_allocate_transient_object() 218 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_POPULATE_TRANSIENT_OBJECT, &op, in ta_crypt_cmd_populate_transient_object() 247 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_SET_OPERATION_KEY, &op, in ta_crypt_cmd_set_operation_key() 270 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_FREE_TRANSIENT_OBJECT, &op, in ta_crypt_cmd_free_transient_object() 310 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_DERIVE_KEY, &op, &ret_orig); in ta_crypt_cmd_derive_key() 342 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_GET_OBJECT_BUFFER_ATTRIBUTE, in ta_crypt_cmd_get_object_buffer_attribute() 368 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_FREE_OPERATION, &op, in ta_crypt_cmd_free_operation() 393 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_IS_ALGO_SUPPORTED, &op, in ta_crypt_cmd_is_algo_supported() 423 result = TEEC_InvokeCommand(session, TA_OS_TEST_CMD_CLIENT_IDENTITY, in ta_os_test_cmd_client_identity()
|
| H A D | stats.c | 100 res = TEEC_InvokeCommand(&sess, STATS_CMD_PAGER_STATS, &op, &eo); in stat_pager() 137 res = TEEC_InvokeCommand(&sess, STATS_CMD_ALLOC_STATS, &op, &eo); in stat_alloc() 154 res = TEEC_InvokeCommand(&sess, STATS_CMD_ALLOC_STATS, &op, &eo); in stat_alloc() 203 res = TEEC_InvokeCommand(&sess, STATS_CMD_MEMLEAK_STATS, NULL, &eo); in stat_memleak()
|
| H A D | regression_6000.c | 118 res = TEEC_InvokeCommand(sess, TA_STORAGE_CMD_OPEN, &op, &org); in fs_open() 148 res = TEEC_InvokeCommand(sess, TA_STORAGE_CMD_CREATE, &op, &org); in fs_create() 171 res = TEEC_InvokeCommand(sess, TA_STORAGE_CMD_CREATE_OVERWRITE, &op, &org); in fs_create_overwrite() 186 return TEEC_InvokeCommand(sess, TA_STORAGE_CMD_CLOSE, &op, &org); in fs_close() 205 res = TEEC_InvokeCommand(sess, TA_STORAGE_CMD_READ, &op, &org); in fs_read() 228 return TEEC_InvokeCommand(sess, TA_STORAGE_CMD_WRITE, &op, &org); in fs_write() 244 return TEEC_InvokeCommand(sess, TA_STORAGE_CMD_SEEK, &op, &org); in fs_seek() 257 return TEEC_InvokeCommand(sess, TA_STORAGE_CMD_UNLINK, &op, &org); in fs_unlink() 271 return TEEC_InvokeCommand(sess, TA_STORAGE_CMD_TRUNC, &op, &org); in fs_trunc() 288 return TEEC_InvokeCommand(sess, TA_STORAGE_CMD_RENAME, &op, &org); in fs_rename() [all …]
|
| H A D | regression_4100.c | 28 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_NEW_VAR, &op, &ret_orig); in cmd_new_var() 46 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_NEW_FMM_VAR, &op, in cmd_new_fmm_var() 67 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_NEW_FMM_CTX, &op, in cmd_new_fmm_ctx() 89 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_FREE_HANDLE, &op, in cmd_free_handle() 111 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_FROM_OCTET_STRING, &op, in cmd_from_octet_string() 129 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_FROM_S32, &op, in cmd_from_s32() 147 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_GET_BIT, &op, &ret_orig); in cmd_get_bit() 165 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_GET_BIT_COUNT, &op, in cmd_get_bit_count() 186 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in cmd_binary_cmd() 203 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in cmd_unary_cmd() [all …]
|
| H A D | regression_8100.c | 40 TEEC_InvokeCommand(&session, TA_CRYPT_CMD_MBEDTLS_SELF_TESTS, in test_8101() 113 TEEC_InvokeCommand(&session, TA_CRYPT_CMD_MBEDTLS_CHECK_CERT, in test_8102() 301 res = TEEC_InvokeCommand(&session, TA_CRYPT_CMD_MBEDTLS_SIGN_CERT, &op, in test_8103()
|
| H A D | regression_2000.c | 54 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_TCP_OPEN, in socket_tcp_open() 84 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_UDP_OPEN, in socket_udp_open() 110 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_SEND, &op, ret_orig); in socket_send() 134 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_RECV, &op, ret_orig); in socket_recv() 154 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_ERROR, &op, ret_orig); in socket_get_error() 171 return TEEC_InvokeCommand(session, TA_SOCKET_CMD_CLOSE, &op, ret_orig); in socket_close() 191 res = TEEC_InvokeCommand(session, TA_SOCKET_CMD_IOCTL, &op, ret_orig); in socket_ioctl()
|
| H A D | sdp_basic.c | 265 teerc = TEEC_InvokeCommand(&ctx->sess, cmd, &op, &err_origin); in inject_sdp_data() 305 teerc = TEEC_InvokeCommand(&ctx->sess, cmd, &op, &err_origin); in transform_sdp_data() 349 teerc = TEEC_InvokeCommand(&ctx->sess, cmd, &op, &err_origin); in dump_sdp_data() 542 teerc = TEEC_InvokeCommand(&ctx->sess, TA_SDP_BASIC_CMD_INJECT, in invoke_out_of_bounds()
|
| H A D | regression_4000.c | 38 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_RESET_OPERATION, &op, in ta_crypt_cmd_reset_operation() 64 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_COPY_OPERATION, &op, in ta_crypt_cmd_copy_operation() 92 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_DIGEST_UPDATE, &op, &ret_orig); in ta_crypt_cmd_digest_update() 125 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_DIGEST_DO_FINAL, &op, in ta_crypt_cmd_digest_do_final() 160 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_SET_OPERATION_KEY2, &op, in ta_crypt_cmd_set_operation_key2() 193 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_MAC_INIT, &op, &ret_orig); in ta_crypt_cmd_mac_init() 221 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_MAC_UPDATE, &op, &ret_orig); in ta_crypt_cmd_mac_update() 256 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_MAC_FINAL_COMPUTE, &op, in ta_crypt_cmd_mac_final_compute() 293 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_CIPHER_INIT, &op, &ret_orig); in ta_crypt_cmd_cipher_init() 325 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_CIPHER_UPDATE, &op, &ret_orig); in ta_crypt_cmd_cipher_update() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/host/rk_test/ |
| H A D | rktest.c | 47 res = TEEC_InvokeCommand(session, RKTEST_TA_CMD_TRANSFER_DATA, in invoke_transfer_data() 75 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_STORAGE, in invoke_storage() 99 res = TEEC_InvokeCommand(session, RKTEST_TA_CMD_STORAGE_SPEED, in test_storage_speed() 134 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_PROPERTY, in invoke_property() 141 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_CRYPTO_SHA, in invoke_crypto_sha() 148 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_CRYPTO_AES, in invoke_crypto_aes() 155 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_CRYPTO_RSA, in invoke_crypto_rsa() 162 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_OEM_OTP_READ, in invoke_otp_read() 169 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_OEM_OTP_WRITE, in invoke_otp_write() 176 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_OEM_OTP_SIZE, in invoke_otp_size() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/rk_test/ |
| H A D | rktest.c | 76 res = TEEC_InvokeCommand(session, RKTEST_TA_CMD_TRANSFER_DATA, in invoke_transfer_data() 104 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_STORAGE, in invoke_storage() 128 res = TEEC_InvokeCommand(session, RKTEST_TA_CMD_STORAGE_SPEED, in test_storage_speed() 163 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_PROPERTY, in invoke_property() 170 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_CRYPTO_SHA, in invoke_crypto_sha() 177 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_CRYPTO_AES, in invoke_crypto_aes() 184 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_CRYPTO_RSA, in invoke_crypto_rsa() 236 res = TEEC_InvokeCommand(session, PTA_SECSTOR_TA_MGMT_BOOTSTRAP, operation, in invoke_secstor_ta() 253 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_OEM_OTP_READ, in invoke_otp_read() 260 return TEEC_InvokeCommand(session, RKTEST_TA_CMD_OEM_OTP_WRITE, in invoke_otp_write() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/include/ |
| H A D | xml_internal_api.h | 292 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_GetPropertyAsXXX_withoutEnum() 335 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_MemCompare() 375 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_SetInstanceData() 399 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_GetInstanceData() 442 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_ProcessInvokeTAOpenSession() 497 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_CheckMemoryAccessRight() 522 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_AllocatePropertyEnumerator() 576 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_GetPropertyName() 615 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_Panic() 671 res = TEEC_InvokeCommand(sess, cmd_id, &op, &eo); in Invoke_OpenTASession() [all …]
|
| H A D | xml_common_api.h | 120 return TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_Simple_Function() 136 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_Simple_Function_v1() 155 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_Simple_Function_v2() 176 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_Simple_Function_v3() 200 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_Simple_Function_v4() 249 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in GetObjectBufferAttribute_helper()
|
| H A D | xml_crypto_api.h | 1080 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in Invoke_Crypto_AllocateOperation() 1104 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in Invoke_Crypto_GetOperationInfo() 1154 res = TEEC_InvokeCommand(s, cmd, &op, &org); in Invoke_Crypto_GetOperationInfoMultiple() 1349 res = TEEC_InvokeCommand(s, cmd, &op, &org); in Invoke_Crypto_InitObjectWithKeys() 1468 res = TEEC_InvokeCommand(s, cmd, &op, &org); in Invoke_Crypto_AEInit() 1510 res = TEEC_InvokeCommand(s, cmd, &op, &org); in Invoke_Crypto_AEUpdate_for_encryption() 1574 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in Invoke_Crypto_AEUpdate_for_decryption() 1626 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in Invoke_Crypto_AEUpdateAAD() 1695 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in Invoke_Crypto_AEEncryptFinal() 1794 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in Invoke_Crypto_AEDecryptFinal() [all …]
|
| H A D | xml_datastorage_api.h | 1234 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_ReadObjectData() 1283 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_RenamePersistentObject() 1317 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_GetObjectInfo1() 1466 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_CreatePersistentObject() 1503 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_OpenPersistentObject() 1546 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_PopulateTransientObject() 1632 res = TEEC_InvokeCommand(sess, CMD_DS_GetNextPersistentObject, in Invoke_GetNextPersistentObject_All() 1647 res = TEEC_InvokeCommand(sess, CMD_DS_Retrieve_ObjectInfo, in Invoke_GetNextPersistentObject_All() 1735 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_GenerateKey() 1758 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in GetObjectValueAttribute_helper() [all …]
|
| H A D | xml_client_api.h | 208 TEEC_InvokeCommand(session, cmd, OPERATION01, \ 254 TEEC_InvokeCommand(session, cmd, OPERATION01, \ 372 TEEC_InvokeCommand(session, cmd, operation, \
|
| H A D | xml_timearithm_api.h | 725 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_BigIntGetBit() 747 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_BigIntGetBitCount() 921 res = TEEC_InvokeCommand(sess, CMD_Arithm_BigIntConvertFromOctetString, in Macro_StoreBigInt() 951 res = TEEC_InvokeCommand(sess, cmd_id, &op, &org); in Invoke_BigIntConvertToOctetString() 998 res = TEEC_InvokeCommand(sess, cmd_id, &op, &org); in Invoke_BigIntConvertFromOctetString()
|
| /OK3568_Linux_fs/u-boot/lib/optee_clientApi/ |
| H A D | OpteeClientInterface.c | 175 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_base_write_security_data() 273 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_base_read_security_data() 322 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_base_end_security_data() 450 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_base_end_efuse_or_otp() 522 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_base_efuse_or_otp_operation() 686 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_write_oem_ns_otp() 750 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_read_oem_ns_otp() 818 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_write_oem_otp_key() 872 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_oem_otp_key_is_written() 922 TeecResult = TEEC_InvokeCommand(&TeecSession, in trusty_set_oem_hr_otp_read_lock() [all …]
|
| H A D | OpteeClientApiLib.su | |
| /OK3568_Linux_fs/buildroot/package/rockchip/tee-user-app/extra_app/host/ |
| H A D | main.c | 144 res = TEEC_InvokeCommand(&session, TA_KEY_RNG, &operation, &error_origin); in process_key() 158 res = TEEC_InvokeCommand(&session, TA_KEY_VER, &operation, &error_origin); in process_key() 174 res = TEEC_InvokeCommand(&session, TA_KEY_READ, &operation, &error_origin); in process_key() 190 res = TEEC_InvokeCommand(&session, TA_KEY_READ, &operation, &error_origin); in process_key() 211 res = TEEC_InvokeCommand(&session, TA_KEY_WRITE, &operation, &error_origin); in process_key()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | optee.c | 102 TeecResult = TEEC_InvokeCommand(&TeecSession,//write data in test_secure_storage_default() 128 TeecResult = TEEC_InvokeCommand(&TeecSession,//read data in test_secure_storage_default() 239 TeecResult = TEEC_InvokeCommand(&TeecSession,//write data in test_secure_storage_security_partition() 265 TeecResult = TEEC_InvokeCommand(&TeecSession,//read data in test_secure_storage_security_partition()
|
| /OK3568_Linux_fs/external/security/librkcrypto/src/ |
| H A D | rkcrypto_otp_key.c | 108 res = TEEC_InvokeCommand(&session, STORAGE_CMD_WRITE_OEM_OTP_KEY, in rk_write_oem_otp_key() 158 res = TEEC_InvokeCommand(&session, STORAGE_CMD_OEM_OTP_KEY_IS_WRITTEN, in rk_oem_otp_key_is_written() 211 res = TEEC_InvokeCommand(&session, STORAGE_CMD_SET_OEM_HR_OTP_READ_LOCK, in rk_set_oem_hr_otp_read_lock() 306 res = TEEC_InvokeCommand(&session, CRYPTO_SERVICE_CMD_OEM_OTP_KEY_CIPHER, in rk_oem_otp_key_cipher_virt() 419 res = TEEC_InvokeCommand(&session, CRYPTO_SERVICE_CMD_OEM_OTP_KEY_PHYS_CIPHER, in rk_oem_otp_key_cipher()
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | keymaster.c | 94 TeecResult = TEEC_InvokeCommand(&TeecSession, in read_from_keymaster() 191 TeecResult = TEEC_InvokeCommand(&TeecSession, in write_to_keymaster()
|
| H A D | write_keybox.c | 104 TeecResult = TEEC_InvokeCommand(&TeecSession, in write_to_security_storage() 204 TeecResult = TEEC_InvokeCommand(&TeecSession, in rk_send_keybox_to_ta()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/client_export/public/ |
| H A D | tee_client_api.h | 479 TEEC_Result TEEC_InvokeCommand(TEEC_Session *session,
|