Documentation
¶
Index ¶
- func ConvertUserInputPCR(pcr0SHA string) ([]byte, error)
- func DeserialiseThrift(ctx context.Context, b []byte, out thrift.TStruct) error
- func FirmwarewandOptions(addrs string) []firmwarewand.Option
- func ParseRegisters(registersPath string) (registers.Registers, error)
- func ParseTPMEventlog(eventLogPath string) (*tpmeventlog.TPMEventLog, error)
- func SerialiseThrift(ctx context.Context, in thrift.TStruct) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertUserInputPCR ¶
ConvertUserInputPCR tries to convert user-provided PCR hash value into a sequence of bytes
func DeserialiseThrift ¶
DeserialiseThrift deserializes a Thrift structure from its binary form.
func FirmwarewandOptions ¶
func FirmwarewandOptions(addrs string) []firmwarewand.Option
FirmwarewandOptions returns firmwarewand.Option-s should be use to initialize firmwarewand in afascli/cmd/ verbs.
func ParseRegisters ¶
ParseRegisters parses status register given the path.
func ParseTPMEventlog ¶
func ParseTPMEventlog(eventLogPath string) (*tpmeventlog.TPMEventLog, error)
ParseTPMEventlog tries to path TPM eventlog located in provided path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.