Home
last modified time | relevance | path

Searched refs:ob_handle (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_test/
H A Drktest_storage.c14 TEE_ObjectHandle ob_handle; in handle_storage() local
37 TEE_HANDLE_NULL, NULL, 0, &ob_handle); in handle_storage()
46 res = TEE_SeekObjectData(ob_handle, 0, TEE_DATA_SEEK_SET); in handle_storage()
52 res = TEE_WriteObjectData(ob_handle, w_data, sizeof(w_data)); in handle_storage()
60 TEE_CloseObject(ob_handle); in handle_storage()
63 sizeof(object_id_1), flags, &ob_handle); in handle_storage()
70 res = TEE_ReadObjectData(ob_handle, r_data, sizeof(w_data), &count); in handle_storage()
86 TEE_CloseAndDeletePersistentObject(ob_handle); in handle_storage()
H A Drktest_storage_speed.c14 TEE_ObjectHandle ob_handle; in handle_storage_speed() local
40 TEE_HANDLE_NULL, NULL, 0, &ob_handle); in handle_storage_speed()
50 res = TEE_SeekObjectData(ob_handle, 0, TEE_DATA_SEEK_SET); in handle_storage_speed()
58 res = TEE_WriteObjectData(ob_handle, storage_buf, storage_size); in handle_storage_speed()
68 res = TEE_SeekObjectData(ob_handle, 0, TEE_DATA_SEEK_SET); in handle_storage_speed()
76 res = TEE_ReadObjectData(ob_handle, storage_buf, storage_size, &count); in handle_storage_speed()
88 TEE_CloseAndDeletePersistentObject(ob_handle); in handle_storage_speed()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_test/
H A Drktest_storage.c14 TEE_ObjectHandle ob_handle; in handle_storage() local
37 TEE_HANDLE_NULL, NULL, 0, &ob_handle); in handle_storage()
46 res = TEE_SeekObjectData(ob_handle, 0, TEE_DATA_SEEK_SET); in handle_storage()
52 res = TEE_WriteObjectData(ob_handle, w_data, sizeof(w_data)); in handle_storage()
60 TEE_CloseObject(ob_handle); in handle_storage()
63 sizeof(object_id_1), flags, &ob_handle); in handle_storage()
70 res = TEE_ReadObjectData(ob_handle, r_data, sizeof(w_data), &count); in handle_storage()
86 TEE_CloseAndDeletePersistentObject(ob_handle); in handle_storage()
H A Drktest_storage_speed.c14 TEE_ObjectHandle ob_handle; in handle_storage_speed() local
47 TEE_HANDLE_NULL, NULL, 0, &ob_handle); in handle_storage_speed()
57 res = TEE_SeekObjectData(ob_handle, 0, TEE_DATA_SEEK_SET); in handle_storage_speed()
65 res = TEE_WriteObjectData(ob_handle, buf, storage_size); in handle_storage_speed()
75 res = TEE_SeekObjectData(ob_handle, 0, TEE_DATA_SEEK_SET); in handle_storage_speed()
83 res = TEE_ReadObjectData(ob_handle, buf, storage_size, &count); in handle_storage_speed()
95 TEE_CloseAndDeletePersistentObject(ob_handle); in handle_storage_speed()
/OK3568_Linux_fs/buildroot/package/rockchip/tee-user-app/extra_app/ta/
H A Dkeybox.c98 TEE_ObjectHandle ob_handle; in TA_InvokeCommandEntryPoint() local
160 &ob_handle); in TA_InvokeCommandEntryPoint()
167 res = TEE_ReadObjectData(ob_handle, buf, in TA_InvokeCommandEntryPoint()
177 TEE_CloseObject(ob_handle); in TA_InvokeCommandEntryPoint()
197 flags, &ob_handle); in TA_InvokeCommandEntryPoint()
202 res = TEE_SeekObjectData(ob_handle, 0, TEE_DATA_SEEK_SET); in TA_InvokeCommandEntryPoint()
208 res = TEE_WriteObjectData(ob_handle, buf, params[0].memref.size); in TA_InvokeCommandEntryPoint()
214 TEE_CloseObject(ob_handle); in TA_InvokeCommandEntryPoint()