Comments (3)
If this is something you intend to do during the production phase of the device, have you tried https://docs.kernel.org/driver-api/mmc/mmc-tools.html?
If it's done after manufacturing outside of the factory then I believe it must be done by OP-TEE since the RPMB key mustn't be known by anyone after this phase.
from optee_os.
Hi, thanks for reply.
I need to be able to enable/disable write protection on the devices in the field since it will be part of the remote update process. Therefore I need to apply this configuration using OP-TEE. Required message types(defined in JEDEC) for secure write protection is not supported by OP-TEE. Need guidance on how to be able to set secure write protection configuration using OP-TEE.
from optee_os.
I assume you will use a Pseudo TA and some authentication scheme to trigger this. What's missing after that is:
- updates in core/tee/tee_rpmb_fs.c with API and code for the needed messages
- The ABI shared with the normal world may need to be updated
- code updates in tee-supplicant (or RPMB/MMC subsystem https://lore.kernel.org/lkml/[email protected]/ depending on the progress)
from optee_os.
Related Issues (20)
- How to allocate 60MB of memory to TA HOT 5
- Inquiry on how to use subkey. HOT 7
- NW Kernel Panic or Secondary CPUs not booting up due to SMC call HOT 1
- Loading Large TA - TEEC_Opensession fails with code 0xffff000c HOT 11
- PKCS11 Object Caching in Optee ? HOT 3
- PKCS#11 TA: Support for additional hardware token - SE05x
- Segmentation fault in PKCS11 TA HOT 3
- Access to SPI NOR and eMMC block layer HOT 2
- How to modify PAGESIZE HOT 3
- Using non-FF-A OP-TEE from Linux with FF-A support HOT 4
- QEMUv7: core stack overflow with Mbed TLS HOT 7
- A question about configuration for optee crypto HOT 1
- Right way to use ecp HOT 2
- A question about test cases for PKCS#11"
- Using malloc() to Allocate Large Memory in PTA fail with code 0xffff000c HOT 2
- QEMU: syscall ftrace does not work - RCU
- transfering string to secure world and return another string from secure world to rich world HOT 6
- System stalls during boot if CFG_PAGED_USER_TA=y and CFG_TEE_CORE_LOG_LEVEL=0 HOT 6
- TA performance HOT 8
- Interacting With OP-TEE OS from a Ubuntu REE. HOT 7
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.