Structs§
- TpmAc
GetCapability Command - TpmAc
GetCapability Response - TpmAc
Send Command - TpmAc
Send Response - TpmAct
SetTimeout Command - TpmAct
SetTimeout Response - TpmActivate
Credential Command - TpmActivate
Credential Response - TpmCertify
Command - TpmCertify
Creation Command - TpmCertify
Creation Response - TpmCertify
Response - TpmChange
EpsCommand - TpmChange
EpsResponse - TpmChange
PpsCommand - TpmChange
PpsResponse - TpmClear
Command - TpmClear
Control Command - TpmClear
Control Response - TpmClear
Response - TpmClock
Rate Adjust Command - TpmClock
Rate Adjust Response - TpmClock
SetCommand - TpmClock
SetResponse - TpmCommit
Command - TpmCommit
Response - TpmContext
Load Command - TpmContext
Load Response - TpmContext
Save Command - TpmContext
Save Response - TpmCreate
Command - TpmCreate
Loaded Command - TpmCreate
Loaded Response - TpmCreate
Primary Command - TpmCreate
Primary Response - TpmCreate
Response - TpmDictionary
Attack Lock Reset Command - TpmDictionary
Attack Lock Reset Response - TpmDictionary
Attack Parameters Command - TpmDictionary
Attack Parameters Response - TpmDuplicate
Command - TpmDuplicate
Response - TpmEc
Ephemeral Command - TpmEc
Ephemeral Response - TpmEcc
Decrypt Command - TpmEcc
Decrypt Response - TpmEcc
Encrypt Command - TpmEcc
Encrypt Response - TpmEcc
Parameters Command - TpmEcc
Parameters Response - TpmEcdh
KeyGen Command - TpmEcdh
KeyGen Response - TpmEcdhZ
GenCommand - TpmEcdhZ
GenResponse - TpmEncrypt
Decrypt2 Command - TpmEncrypt
Decrypt2 Response - TpmEncrypt
Decrypt Command - TpmEncrypt
Decrypt Response - TpmEvent
Sequence Complete Command - TpmEvent
Sequence Complete Response - TpmEvict
Control Command - TpmEvict
Control Response - TpmField
Upgrade Data Command - TpmField
Upgrade Data Response - TpmField
Upgrade Start Command - TpmField
Upgrade Start Response - TpmFirmware
Read Command - TpmFirmware
Read Response - TpmFlush
Context Command - TpmFlush
Context Response - TpmGet
Capability Command - TpmGet
Capability Response - TpmGet
Command Audit Digest Command - TpmGet
Command Audit Digest Response - TpmGet
Random Command - TpmGet
Random Response - TpmGet
Session Audit Digest Command - TpmGet
Session Audit Digest Response - TpmGet
Test Result Command - TpmGet
Test Result Response - TpmGet
Time Command - TpmGet
Time Response - TpmHash
Command - TpmHash
Response - TpmHash
Sequence Start Command - TpmHash
Sequence Start Response - TpmHierarchy
Change Auth Command - TpmHierarchy
Change Auth Response - TpmHierarchy
Control Command - TpmHierarchy
Control Response - TpmHmac
Command - TpmHmac
Response - TpmHmac
Start Command - TpmHmac
Start Response - TpmImport
Command - TpmImport
Response - TpmIncremental
Self Test Command - TpmIncremental
Self Test Response - TpmLoad
Command - TpmLoad
External Command - TpmLoad
External Response - TpmLoad
Response - TpmMake
Credential Command - TpmMake
Credential Response - TpmNv
Certify Command - TpmNv
Certify Response - TpmNv
Change Auth Command - TpmNv
Change Auth Response - TpmNv
Define Space2 Command - TpmNv
Define Space2 Response - TpmNv
Define Space Command - TpmNv
Define Space Response - TpmNv
Extend Command - TpmNv
Extend Response - TpmNv
Global Write Lock Command - TpmNv
Global Write Lock Response - TpmNv
Increment Command - TpmNv
Increment Response - TpmNv
Read Command - TpmNv
Read Lock Command - TpmNv
Read Lock Response - TpmNv
Read Public2 Command - TpmNv
Read Public2 Response - TpmNv
Read Public Command - TpmNv
Read Public Response - TpmNv
Read Response - TpmNv
SetBits Command - TpmNv
SetBits Response - TpmNv
Undefine Space Command - TpmNv
Undefine Space Response - TpmNv
Undefine Space Special Command - TpmNv
Undefine Space Special Response - TpmNv
Write Command - TpmNv
Write Lock Command - TpmNv
Write Lock Response - TpmNv
Write Response - TpmObject
Change Auth Command - TpmObject
Change Auth Response - TpmPcr
Allocate Command - TpmPcr
Allocate Response - TpmPcr
Event Command - TpmPcr
Event Response - TpmPcr
Extend Command - TpmPcr
Extend Response - TpmPcr
Read Command - TpmPcr
Read Response - TpmPcr
Reset Command - TpmPcr
Reset Response - TpmPcr
SetAuth Policy Command - TpmPcr
SetAuth Policy Response - TpmPcr
SetAuth Value Command - TpmPcr
SetAuth Value Response - TpmPolicy
AcSend Select Command - TpmPolicy
AcSend Select Response - TpmPolicy
Auth Value Command - TpmPolicy
Auth Value Response - TpmPolicy
Authorize Command - TpmPolicy
Authorize NvCommand - TpmPolicy
Authorize NvResponse - TpmPolicy
Authorize Response - TpmPolicy
Capability Command - TpmPolicy
Capability Response - TpmPolicy
Command Code Command - TpmPolicy
Command Code Response - TpmPolicy
Counter Timer Command - TpmPolicy
Counter Timer Response - TpmPolicy
CpHash Command - TpmPolicy
CpHash Response - TpmPolicy
Duplication Select Command - TpmPolicy
Duplication Select Response - TpmPolicy
GetDigest Command - TpmPolicy
GetDigest Response - TpmPolicy
Locality Command - TpmPolicy
Locality Response - TpmPolicy
Name Hash Command - TpmPolicy
Name Hash Response - TpmPolicy
NvCommand - TpmPolicy
NvResponse - TpmPolicy
NvWritten Command - TpmPolicy
NvWritten Response - TpmPolicy
OrCommand - TpmPolicy
OrResponse - TpmPolicy
Parameters Command - TpmPolicy
Parameters Response - TpmPolicy
Password Command - TpmPolicy
Password Response - TpmPolicy
PcrCommand - TpmPolicy
PcrResponse - TpmPolicy
Physical Presence Command - TpmPolicy
Physical Presence Response - TpmPolicy
Restart Command - TpmPolicy
Restart Response - TpmPolicy
Secret Command - TpmPolicy
Secret Response - TpmPolicy
Signed Command - TpmPolicy
Signed Response - TpmPolicy
Template Command - TpmPolicy
Template Response - TpmPolicy
Ticket Command - TpmPolicy
Ticket Response - TpmPolicy
Transport Spdm Command - TpmPolicy
Transport Spdm Response - TpmPp
Commands Command - TpmPp
Commands Response - TpmQuote
Command - TpmQuote
Response - TpmRead
Clock Command - TpmRead
Clock Response - TpmRead
Only Control Command - TpmRead
Only Control Response - TpmRead
Public Command - TpmRead
Public Response - TpmRewrap
Command - TpmRewrap
Response - TpmRsa
Decrypt Command - TpmRsa
Decrypt Response - TpmRsa
Encrypt Command - TpmRsa
Encrypt Response - TpmSelf
Test Command - TpmSelf
Test Response - TpmSequence
Complete Command - TpmSequence
Complete Response - TpmSequence
Update Command - TpmSequence
Update Response - TpmSet
Algorithm SetCommand - TpmSet
Algorithm SetResponse - TpmSet
Command Code Audit Status Command - TpmSet
Command Code Audit Status Response - TpmSet
Primary Policy Command - TpmSet
Primary Policy Response - TpmShutdown
Command - TpmShutdown
Response - TpmSign
Command - TpmSign
Response - TpmStart
Auth Session Command - TpmStart
Auth Session Response - TpmStartup
Command - TpmStartup
Response - TpmStir
Random Command - TpmStir
Random Response - TpmTest
Parms Command - TpmTest
Parms Response - TpmUnseal
Command - TpmUnseal
Response - TpmVendor
TcgTest Command - TpmVendor
TcgTest Response - TpmVerify
Signature Command - TpmVerify
Signature Response - TpmZ
Gen2 Phase Command - TpmZ
Gen2 Phase Response
Enums§
- TpmCommand
Body - A TPM command
- TpmResponse
Body - A TPM response body
Traits§
- TpmBody
Build - A trait for building command/response bodies in separate handle and parameter sections.
- TpmHeader
- A trait for TPM commands and responses that provides header information.
- TpmResponse
Body Parse - Parses a response body using the response tag to handle structural variations.
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.
- TpmHandles
- A fixed-capacity list for TPM handles.
- TpmResponse
Result - Represents the dualistic nature of responses.