package
0.6.7
Repository: https://github.com/aenix-io/talm.git
Documentation: pkg.go.dev

# Functions

CalculatePolicy calculates the policy hash for a given PCR value and PCR selection.
CalculateSealingPolicyDigest calculates the sealing policy digest for a given PCR value, PCR selection and public key.
CreateSelector converts PCR numbers into a bitmask.
ParsePCRSignature parses the PCR signature json file.
ParsePCRSigningPubKey parses a PEM encoded RSA public key.
PCRExtent hashes the input and extends the PCR with the hash.
PolicyPCRDigest executes policyPCR and returns the digest.
ReadPCR reads the value of a single PCR.
RSAPubKeyTemplate returns a TPM2.0 public key template for RSA keys.
Seal seals the key using TPM2.0.
Unseal unseals a sealed blob using the TPM nolint:gocyclo,cyclop.

# Structs

BankData constains data for a specific PCR bank.
PCRData is the data structure for PCR signature json.
SealedResponse is the response from the TPM2.0 Seal operation.