OP-TEE / optee_os

Trusted side of the TEE
Other
1.57k stars 1.06k forks source link

TEE_PopulateTransientObject is failing for "TEE_ALG_ECDH_DERIVE_SHARED_SECRET" algortihm #6681

Closed dhruv77777 closed 7 months ago

dhruv77777 commented 8 months ago

Hey Team,

I am working on implementation of deriving the shared secret key using the algorithm "TEE_ALG_ECDH_DERIVE_SHARED_SECRET". Case 1: I am generating the key in the TA and using the algorithm -> works fine. (No usage of "TEE_PopulateTransientObject" API) Case 2: I am reading key from securestorage and populating a transient object for the further operations. -> Failing with Error Code 3024.

Can you help me this?

jforissier commented 8 months ago

Hi @dhruv77777, hard to give advice without seeing the code.

github-actions[bot] commented 7 months ago

This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.