Module message

Source

Structs§

TpmContextLoadCommand
TpmContextLoadResponse
TpmContextSaveCommand
TpmContextSaveResponse
TpmCreateCommand
TpmCreatePrimaryCommand
TpmCreatePrimaryResponse
TpmCreateResponse
TpmDictionaryAttackLockResetCommand
TpmDictionaryAttackLockResetResponse
TpmEvictControlCommand
TpmEvictControlResponse
TpmFlushContextCommand
TpmFlushContextResponse
TpmGetCapabilityCommand
TpmGetCapabilityResponse
TpmHashCommand
TpmHashResponse
TpmImportCommand
TpmImportResponse
TpmLoadCommand
TpmLoadResponse
TpmObjectChangeAuthCommand
TpmObjectChangeAuthResponse
TpmPcrEventCommand
TpmPcrEventResponse
TpmPcrReadCommand
TpmPcrReadResponse
TpmPolicyAuthValueCommand
TpmPolicyAuthValueResponse
TpmPolicyCommandCodeCommand
TpmPolicyCommandCodeResponse
TpmPolicyGetDigestCommand
TpmPolicyGetDigestResponse
TpmPolicyOrCommand
TpmPolicyOrResponse
TpmPolicyPasswordCommand
TpmPolicyPasswordResponse
TpmPolicyPcrCommand
TpmPolicyPcrResponse
TpmPolicyRestartCommand
TpmPolicyRestartResponse
TpmPolicySecretCommand
TpmPolicySecretResponse
TpmReadPublicCommand
TpmReadPublicResponse
TpmStartAuthSessionCommand
TpmStartAuthSessionResponse
TpmUnsealCommand
TpmUnsealResponse
TpmVendorTcgTestCommand
TpmVendorTcgTestResponse

Enums§

TpmCommandBody
A TPM command
TpmResponseBody
A TPM response body

Constants§

MAX_HANDLES
The maximum number of handles a command can have.
MAX_SESSIONS
The maximum number of sessions a command can have.
TPM_HEADER_SIZE

Traits§

TpmHeader
A trait for TPM commands and responses that provides header information.

Functions§

tpm_build_command
Builds a TPM command into a writer and returns the total bytes written.
tpm_build_response
Builds a TPM response.
tpm_parse_command
Parses a command from a TPM command buffer.
tpm_parse_response
Parses a response from a TPM response buffer.

Type Aliases§

TpmAuthCommands
A fixed-capacity list for command authorization sessions.
TpmAuthResponses
A fixed-capacity list for response authorization sessions.
TpmCommandParser
TpmHandles
A fixed-capacity list for TPM handles.
TpmParseResult
The result of parsing a TPM response, containing either the successfully parsed body and auth areas (with a success or warning code) or a fatal error code.
TpmResponseParser