Expand description
Utility module
This module mostly contains helper elements meant to act as either wrappers around FFI-level
structs or builders for them, along with other convenience elements.
The naming structure usually takes the names inherited from the TSS spec and applies Rust
guidelines to them. Structures that are meant to act as builders have Builder
appended to
type name. Unions are converted to Rust enum
s by dropping the TPMU
qualifier and appending
Union
.
Structs§
- Tpms
Context - Rust native wrapper for
TPMS_CONTEXT
objects.
Enums§
- Public
Key - Container for public key values
Functions§
- create_
restricted_ decryption_ rsa_ public - Create the Public structure for a restricted decryption key.
- create_
unrestricted_ encryption_ decryption_ rsa_ public - Create the Public structure for an unrestricted encryption/decryption key.
- create_
unrestricted_ signing_ ecc_ public - Create the Public structure for an ECC unrestricted signing key.
- create_
unrestricted_ signing_ rsa_ public - Create the Public structure for an RSA unrestricted signing key.
- create_
unrestricted_ signing_ rsa_ public_ with_ unique - Create the Public structure for an RSA unrestricted signing key.
- get_
tpm_ vendor - Get the TPM vendor name