ivila opened a new pull request, #341:
URL: https://github.com/apache/teaclave-trustzone-sdk/pull/341
- **optee-teec-build**: `PluginConfig::new` used `env!("CARGO_PKG_NAME")`,
which
was evaluated while compiling the build crate — every plugin registered as
`optee-teec-build`. Read `CARGO_PKG_NAME` at build-script run time instead.
- **optee-teec**: `Session::new` is now `pub(crate)`, so
`Context::open_session*`
is the only entry point. Those methods (and `inner_context`) take `&self`;
the handle already lives behind `Arc<Mutex<_>>`, so `&mut self` was never
needed. CA examples updated.
- **optee-teec**: `ErrorKind` now classifies the TA/storage codes that used
to
fall into `Unknown`: `StorageNotAvailable`, `Overflow`, `StorageNoSpace`,
`MacInvalid`, `SignatureInvalid`, `TimeNotSet`, `TimeNeedsReset`.
- **optee-utee**: `AlgorithmId`, `ElementId`, `TransientObjectType`,
`OperationMode`, `OperationStates` and `OperationConstant` take their
values
from `optee-utee-sys` instead of hex literals, and `IllegalValue` is gone
from
the input-only enums.
--
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]