DemesneGH commented on issue #88:
URL: 
https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/88#issuecomment-1240416755

   > Let me know if I am mistaken but the:
   > `TEE_ALG_DH_DERIVE_SHARED_SECRET` should ONLY work with `DH_KEYPAIR`
   > and
   > `TEE_ALG_ECDH_DERIVE_SHARED_SECRET` should ONLY work with `ECDH_KEYPAIR`
   
   Sorry I copied the wrong text which should be 
`TEE_ALG_ECDH_DERIVE_SHARED_SECRET` instead of 
`TEE_ALG_DH_DERIVE_SHARED_SECRET` in the previous comment.
   
   
   
   > In the Rust SDK, the `TEE_ALG_ECDH_DERIVE_SHARED_SECRET 0x80000042` define 
is missing
   
   If this constant flag is needed, just add the definition in `crypto_op.rs` 
after this line of code:
   
https://github.com/apache/incubator-teaclave-trustzone-sdk/blob/341b77aae515852d01ae6183d13c58419c1b0094/optee-utee/src/crypto_op.rs#L1718
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org

Reply via email to