blob: 5c7ffe0a85496f7209d26bc6f5ff790b2a356373 [file] [log] [blame]
syntax = "proto3";
option go_package = "source.monogon.dev/osbase/tpm/proto";
package osbase.tpm.proto;
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;
}