Comments (4)
OP-TEE is mainly designed to allow a Linux userland application (non-secure) to invoke services from an OP-TEE trusted application (secure). Such services invocation allow the Linux client application to pass input data (as values and/or memory buffers) to the TA (Trusted App), the the TA to provide output data (as values and/or memory buffers) back to the client. For that purpose, OP-TEE complies with the TEE APIs released by GlobalPlatform.
Among the several docs, maybe start with the overview presented at Linux Plumbers 2016.
OP-TEE documentation contains many info, have a look at the GlobalPlatform API page.
OP-TEE examples repository shows simple client & trusted applications. hello_world example passes a single value from client app to trusted app. aes example passes 2 memory buffers from the client app to the trusted app (one for input data, one for output data).
Note that OP-TEE platforms support a console but only to print trace messages from OP-TEE core and TAs (Trusted Applications) for debug and test purpose. It is not designed to interact with OP-TEE, as you can with Linux console for example.
In the hope it helps.
from optee_test.
Hello,
Thank you for your response and explanations.
Could you also help me understand if it is feasible to set up a remote client (remote client not the normal world within OP-TEE environment) connection with the TAs through the normal world ?
from optee_test.
If you mean an entity running outside the CPU clusters executing OP-TEE, then you likely need some kind of interrupt+shared memory based mailbox between the external entity and the CPUs. Interface can be either straight in OP-TEE core or in REE/Linux that would invoke OP-TEE to relay the requests.
Yes, it is feasible.
No, there is no generic support for this in OP-TEE.
Remember that any threaded execution in OP-TEE must be invoked from Linux as Linux scheduler governs OP-TEE thread scheduling. Notification can help to schedule TEE threads regarding some TEE secure events/interrupts.
from optee_test.
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note that you can always re-open a closed issue at any time.
from optee_test.
Related Issues (20)
- Question about build error HOT 5
- Machine readable test report HOT 2
- xtest benchmark_1000.c HOT 2
- TA remote attestation HOT 3
- openssl binary usage HOT 9
- Need to fix host/xtest/Makefile? HOT 2
- Xtest 1039 failed! HOT 2
- xtest 1027 & 1028 failed HOT 2
- xtest 1033 failed HOT 1
- Fail to build xtest with enabing SDP test cases. HOT 5
- Queries related to PKCS11 based tests HOT 51
- Compile error when building xtest with musl HOT 10
- Add submodule in ta to get "execvp Argument list too long" HOT 1
- aes-perf: sdp test: why secure input buffer is being fed with zero/random data? HOT 5
- host/xtest/CMakeLists.txt does not support CFG_GCM_NIST_VECTORS=y HOT 1
- xtest 1009 - Explanation about cancellationrequest HOT 3
- xtest_tee_test_1014 fail (CFG_SECURE_DATA_PATH) HOT 6
- Missing return value check when use fs_unlink func. HOT 4
- License text (BSD/GPL) is not incorporated within this repository HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optee_test.