Comments (4)
Hi Paul,
I'm sorry to disappoint you, but what you've seen of RPMB in OP-TEE hasn't been in use for years. Even back then it wasn't available for TA usage (it was primarily intended as anti rollback protection of persistent objects). This code also relies on RPMB support in tee-supplicant which isn't available any longer. The plan was/is that OP-TEE OS communicates with eMMC via tee-supplicant (which would use some RPMB driver etc). We're currently implementing secure storage, encrypted and authenticated (but no anti rollback) protection of persistent objects, that the TAs uses through the "Trusted Storage API" described in "TEE Internal API".
Regards,
Jens
from optee_os.
Thanks for the reply. Is the long term plan to deprecate the existing RPMB functionality out of OpTEE or is it something that would be OK for us to resurrect and potentially plumb through to the storage API for TA's to use? Or, would it fit better with the long term plan to try and refactor the RPMB functionality as part of the secure storage work you're currently working on?
Thanks,
Paul.
from optee_os.
Hi Paul,
The work we are doing related to secure storage is divided in three different steps.
- Enable encryption/decryption on file basis (this is what you find in the pull request, #231)
- Block/section based encryption/decryption (will start soon)
- RPMB
As Jens mentioned the RPMB implementation in OP-TEE has been collecting dust for a couple of years now. But from what I remember back in the days the implementation was starting to take shape. So I think it's a good idea to resurrect the existing implementation. I would imagine that we would start working with RPMB late 2015, however no-one will object if you'd like to start tinker with it already now.
The important thing to consider is how to differentiate between devices having support for RPMB and for devices that haven't got support for it. I.e, we cannot default everything to RPMB. There must be compile time flags etc to decide where calls should end up.
// Regards
Joakim
from optee_os.
Thanks for the reply, we're looking at this and will come back with a design proposal for integrating in RPMB, hopefully leveraging #231.
Paul.
from optee_os.
Related Issues (20)
- xtest may fail with 0xffff000c HOT 2
- [PKCS11 TA] C_SignInit() fails with imported EC private key HOT 2
- How could I change the setting for the binary not modified? HOT 2
- [PKCS11 TA] Incorrect result of ECDH1-DERIVE HOT 7
- Problem with passing parameters : CA passes mbedtls_mpi type parameters to TA, but an error occurs! HOT 4
- optee-os Xilinx kv260 panic regression in 4.1.0 HOT 3
- Why recommend gcc-arm-aarch64-none-linux-gnu instead of gcc-arm-aarch64-none-elf HOT 4
- about OP-TEE impact on nsec interrupts and scheduling latency HOT 2
- The results of the two executions are inconsistent : about 'Failed to get monotonic counter for REE FS' HOT 6
- tee_otp_get_hw_unique_key HOT 4
- Getting value of stack pointer from PTA HOT 2
- RPMB: reading persistent value crashs fTPM TA HOT 3
- How to find the NSEC_DDR_0_BASE and NSEC_DDR_0_SIZE needed by dynamic memory sharing for a given platform? HOT 2
- failed to find an OP-TEE supplicant device HOT 6
- secure python code by optee HOT 5
- Enabling PSS and DH Algorithms in mbedtls_config_uta.h by Default in Future OP-TEE Versions HOT 2
- Question about Linux/optee compatibility HOT 4
- Ping Watchdog from TA? HOT 2
- "expected readable system register" error in vfp when compiling with Clang 18 HOT 2
- How to adjust TA's MMU L1 table? HOT 2
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_os.