-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: I7191f049dd814c4a721c02603655fa8a79de9300
- Loading branch information
1 parent
783966f
commit ec10ad8
Showing
14 changed files
with
678 additions
and
17 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// | ||
// Copyright 2024 The Project Oak Authors | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
|
||
syntax = "proto3"; | ||
|
||
package oak.attestation.v1; | ||
|
||
import "google/protobuf/any.proto"; | ||
|
||
option go_package = "proto/oak/attestation/v1"; | ||
option java_multiple_files = true; | ||
option java_package = "com.google.oak.attestation.v1"; | ||
|
||
// All the related measurements for Stage 0. | ||
message Stage0Measurements { | ||
// Kernel setup data digest. | ||
bytes setup_data_digest = 1; | ||
// Kernel digest. | ||
bytes kernel_measurement = 2; | ||
// Initial RAM disk digest. | ||
bytes ram_disk_digest = 3; | ||
// E820 table digest. | ||
bytes memory_map_digest = 4; | ||
// ACPI table generation digest | ||
bytes acpi_digest = 5; | ||
// Kernel Command line. | ||
string kernel_cmdline = 6; | ||
} | ||
|
||
// Represents an event intended for inclusion in attestation. | ||
// For example, in an attested measured boot, each event is a reference to the | ||
// code identity of the boot layer being launched next. | ||
// An Event message contain what's necessary for an attestation verifier to | ||
// verify the Event against a Reference Value. | ||
// TODO: b/333748757 - Make other CB layers use this definition. | ||
message Event { | ||
// Represents what is contained in the event. For example, the tag for | ||
// TaskConfig for the Layer 2 is "layer2". | ||
// TODO: b/333748757 - Consider making the tag a UUID instead of string. | ||
string tag = 1; | ||
google.protobuf.Any event = 2; | ||
} | ||
|
||
// A sequence of Events intended for inclusion in attestation evidence. | ||
message EventLog { | ||
repeated Event events = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.