Crate tpm2_protocol

Crate tpm2_protocol 

Source
Expand description

§TPM 2.0 Protocol

A library for building and parsing 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
macro
message

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§

TpmDiscriminant
TpmError
TPM protocol data error.

Traits§

TpmBuild
TpmParse
TpmParseTagged
Parses a tagged object from a buffer.
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.

Type Aliases§

TpmResult