File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -46,3 +46,8 @@ go_test(
4646 embed = [":validators" ],
4747 deps = [":device_testdata" ],
4848)
49+
50+ proto_library (
51+ name = "registry_record_proto" ,
52+ srcs = ["registry_record.proto" ],
53+ )
Original file line number Diff line number Diff line change 1+ // Copyright lowRISC contributors (OpenTitan project).
2+ // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3+ // SPDX-License-Identifier: Apache-2.0
4+
5+ syntax = "proto3" ;
6+
7+ package ot_registry_record ;
8+
9+ option go_package = "registry_record_go_pb" ;
10+
11+ // OpenTitan Registry Record sent to a registry service.
12+ //
13+ // This will get sent to one (or many) registry service(s).
14+ message RegistryRecord {
15+ // Device ID encoded as a hex string.
16+ string device_id = 1 ;
17+ // Verion number indicating version of device data field below.
18+ sfixed32 version = 2 ;
19+ // Device data encoded as a variable length bytes payload.
20+ bytes data = 3 ;
21+ }
You can’t perform that action at this time.
0 commit comments