On 09:56-20220223, Joakim Bech wrote:
Hi,
Hi,
Thank you all for your replies. Those have been really helpful!
Though from all the links you have shared, I am still wondering if there is any core part in OP-TEE which could allow to provide a generic interface for using the secure storage functionality instead of we needing to setup our own TA ( along with some binary on the host with the simple purpose of putting files from Linux in secure storage. )
As this seemed somewhat intuitive to me from a perspective of user wanting to try out secure_storage and would be interested to know if something like this is available in it.
Thanks and regards, Manorit
On Wed, Feb 23, 2022 at 11:37:33AM +0530, Sumit Garg wrote:
Hi Manorit,
On Tue, 22 Feb 2022 at 18:59, Manorit Chawdhry m-chawdhry@ti.com wrote:
Hi,
I have been exploring secure storage in OP-TEE for a few days and I need some help in putting some files into it.
I have been trying to find some tool which could help me put any files from Linux into secure storage and retrieve them back later so that I could see secure storage in action but haven't been able to find any yet.
Is there any tool which you guys might know of which helps put files in secure storage and retrieve them back later?
I would suggest you have a look at storage tests from OP-TEE test suite here: client [1] and TA [2].
[1] https://github.com/OP-TEE/optee_test/blob/master/host/xtest/regression_6000.... [2] https://github.com/OP-TEE/optee_test/tree/master/ta/storage
In addition to that we also have the secure storage example TA [3], that comes deployed with our developer environments (QEMU [4] is an example of such an environment).
[3] https://github.com/linaro-swg/optee_examples/tree/master/secure_storage [4] https://optee.readthedocs.io/en/latest/building/devices/qemu.html
-Sumit
Best Regards, Manorit
// Regards, Joakim