blob: 9f86291f910764b6040b7ce4230a2fefeaf3e5ef [file] [log] [blame]
syntax = "proto3";
option go_package = "source.monogon.dev/metropolis/pkg/tpm/proto";
package metropolis.pkg.tpm;
import "proto/tpm/tpm.proto";
// ExtendedSealedBytes contains data sealed by a TPM2 via an indirection to
// allow for more than 128 bytes of payload. It seals an ephemeral key for
// a nacl secretbox in the TPM and stores the encrypted box next to the sealed
// key.
message ExtendedSealedBytes {
// The secretbox key, as sealed by the TPM.
.tpm.SealedBytes sealed_key = 1;
// The encrypted box contents.
bytes encrypted_payload = 2;
}