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§
- TpmHandle
 - A TPM handle, which is a 32-bit unsigned integer.
 - TpmWriter
 - Writes into a mutable byte slice.
 
Enums§
- TpmDiscriminant
 - TpmMarshal
Error  - TPM protocol marshaling error.
 - TpmUnmarshal
Error  - TPM protocol unmarshaling error.
 
Traits§
- TpmMarshal
 - TpmSized
 - Provides two ways to determine the size of an object: a compile-time maximum and a runtime exact size.
 - TpmTagged
 - Types that are composed of a tag and a value e.g., a union.
 - TpmUnmarshal
 - TpmUnmarshal
Tagged  - Unmarshals a tagged object from a buffer.