Comments (5)
Thanks for the report. I'm not sure the root cause in your case.
I can see from the log showing that the TA has been crated and the session opened successfully.
[+] TA create
[+] TA open session
To help you debug this issue, the problem should be in invoking command in the secure world. Maybe there're some differences for the invoking command API in the newer version.
from incubator-teaclave-trustzone-sdk.
Hi @mssun ,
Thanks for the reply! I dug in recently, and I think this is because the optee changes the TA entry point since a73b5878c8. They removed the TA entry point from ta_header
. So, we have to link the TAs against __utee_entry
, or __ta_entry
in optee 3.8
, as the entry point (though I'm not sure how to do this in rust because I'm new to rust). So before I proceed, I want to ask your options on my thought. Any advice will be helpful.
Thanks,
Mingyuan
from incubator-teaclave-trustzone-sdk.
Hi @mssun ,
I've fixed the entry pointer problem. I have to add a few linking arguments and change the linker script according to optee 3.8
. Anyway, the hello_world can compile with optee_os 3.8
and run with optee 3.8
now, though I haven't tried other TAs yet. I can submit a P/R if you like.
Thanks,
Mingyuan
from incubator-teaclave-trustzone-sdk.
Sure, I'm happy to take any PR. Thanks.
from incubator-teaclave-trustzone-sdk.
I believe this PR can be also closed because of recent PR about OPTEE update.
from incubator-teaclave-trustzone-sdk.
Related Issues (20)
- (Solved) Failed to build example HOT 3
- (Solved) Failed to build repo with optee-3.18.0 HOT 3
- Create a persistent object from an initialized transient object HOT 8
- API doc links broken HOT 3
- Will this library support remote attestation? HOT 1
- Upstream status for rustc aarch64-unknown-optee-trustzone target? HOT 7
- Missing mem::forget(b) in TA_InvokeCommand() error path? HOT 3
- rustc version 1.57 or 1.58
- Failed to spread pgdir on small tables
- Signature Verification example using ring crate HOT 2
- Get Public/Private key from generated key in TA HOT 2
- Use openssl/serde in host app HOT 2
- Xargo Version? HOT 1
- ECDH shared secret derivation HOT 6
- Performance issues HOT 1
- ./hello_world-rs not found in shared folder HOT 6
- make optee: fatal error: uuid/uuid.h: No such file or directory HOT 6
- Question: returning data from the TA
- Error: Unresolved import 'self::inner'
- Question: Third party crates HOT 4
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 incubator-teaclave-trustzone-sdk.