manoj23 opened a new pull request, #283: URL: https://github.com/apache/teaclave-trustzone-sdk/pull/283
This PR enhances the optee-teec parameter API and cleans up unused dependencies. ## Changes ### Add bidirectional memory reference support Adds `ParamTmpRef::new_inout()` to create temporary memory references with bidirectional data flow. This completes the memory reference API alongside the existing `new_input()` and `new_out put()` methods, corresponding to `TEEC_MEMREF_TEMP_INOUT` in the GlobalPlatform TEE Client API specification. **Use case:** Operations where the TA needs to read initial data, process it, and write results back to the same buffer (e.g., encryption/decryption). ### Remove unused optee-teec-macros dependency The `optee-teec-macros` crate was a dependency but its exports (`plugin_init`, `plugin_invoke`) are not used by the core TEEC client API. Removing it simplifies the dependency tree and redu ces build time. ## Testing - Build verification passed - No breaking changes to existing API -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
