Structs§
- TpmContext
Load Command - TpmContext
Load Response - TpmContext
Save Command - TpmContext
Save Response - TpmCreate
Command - TpmCreate
Primary Command - TpmCreate
Primary Response - TpmCreate
Response - TpmDictionary
Attack Lock Reset Command - TpmDictionary
Attack Lock Reset Response - TpmEvict
Control Command - TpmEvict
Control Response - TpmFlush
Context Command - TpmFlush
Context Response - TpmGet
Capability Command - TpmGet
Capability Response - TpmHash
Command - TpmHash
Response - TpmImport
Command - TpmImport
Response - TpmLoad
Command - TpmLoad
Response - TpmObject
Change Auth Command - TpmObject
Change Auth Response - TpmPcr
Event Command - TpmPcr
Event Response - TpmPcr
Read Command - TpmPcr
Read Response - TpmPolicy
Auth Value Command - TpmPolicy
Auth Value Response - TpmPolicy
Command Code Command - TpmPolicy
Command Code Response - TpmPolicy
GetDigest Command - TpmPolicy
GetDigest Response - TpmPolicy
OrCommand - TpmPolicy
OrResponse - TpmPolicy
Password Command - TpmPolicy
Password Response - TpmPolicy
PcrCommand - TpmPolicy
PcrResponse - TpmPolicy
Restart Command - TpmPolicy
Restart Response - TpmPolicy
Secret Command - TpmPolicy
Secret Response - TpmRead
Public Command - TpmRead
Public Response - TpmStart
Auth Session Command - TpmStart
Auth Session Response - TpmUnseal
Command - TpmUnseal
Response - TpmVendor
TcgTest Command - TpmVendor
TcgTest Response
Enums§
- TpmCommand
Body - A TPM command
- TpmResponse
Body - 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§
- TpmAuth
Commands - A fixed-capacity list for command authorization sessions.
- TpmAuth
Responses - A fixed-capacity list for response authorization sessions.
- TpmCommand
Parser - TpmHandles
- A fixed-capacity list for TPM handles.
- TpmParse
Result - 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.
- TpmResponse
Parser