Crate tpm2_protocol

Crate tpm2_protocol 

Source
Expand description

§TPM 2.0 Protocol

A library for marshaling and unmarshaling TCG TPM 2.0 protocol messages.

§Constraints

  • alloc is 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§

basic
constant
data
frame
macro

Macros§

tpm2b
tpm2b_struct
tpm_bitflags
tpm_bool
tpm_dispatch
tpm_enum
tpm_integer
tpm_struct
tpml

Structs§

TpmHandle
A TPM handle, which is a 32-bit unsigned integer.
TpmWriter
Writes into a mutable byte slice.

Enums§

TpmProtocolError
TPM frame marshaling and unmarshaling error type containing variants for all the possible error conditions.

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
TpmUnmarshalTagged
Unmarshals a tagged object from a buffer.

Type Aliases§

TpmResult