Expand description
§TPM 2.0 Protocol
A library for marshaling and unmarshaling TCG TPM 2.0 protocol messages.
§Constraints
allocis disallowed.- Dependencies are disallowed.
- Developer dependencies are disallowed.
- Panics are disallowed.
§Design Goals
- The crate must compile with GNU make and rustc without any external dependencies.
Modules§
Macros§
Structs§
- TpmError
Value - Additional structured data for a TPM protocol error.
- TpmWire
- A byte-backed TPM wire view.
- TpmWire
Bytes - A byte-backed TPM wire view with a fixed byte length.
- TpmWriter
- Builds TPM wire bytes into a caller-provided mutable byte slice.
Enums§
- TpmError
- TPM frame marshaling and unmarshaling error type.
Traits§
- TpmCast
- Casts caller-owned bytes into a TPM wire view.
- TpmCast
Mut - Casts caller-owned mutable bytes into a mutable TPM wire view.
- TpmMarshal
- TpmSized
- Provides two ways to determine the size of an oBject: a compile-time maximum and a runtime exact size.