On Thu, 2019-08-01 at 09:36 +0300, Janne Karhunen wrote:
On Wed, Jul 31, 2019 at 5:23 PM Sumit Garg sumit.garg@linaro.org wrote:
I guess my wording was wrong, tried to say that physical TEEs in the wild vary massively hardware wise. Generalizing these things is rough.
There are already well defined GlobalPlatform Standards to generalize the TEE interface. One of them is GlobalPlatform TEE Client API [1] which provides the basis for this TEE interface.
I'm aware of it - I have implemented a large part of the GP TEE APIs earlier (primarily the crypto functions). Does the TEE you work with actually support GP properly? Can I take a look at the code?
AFAIK Sumit is working with the OP-TEE implementation, which can be found on github: https://github.com/op-tee/optee_os
Regards, Rouven