File tree Expand file tree Collapse file tree 5 files changed +12
-18
lines changed Expand file tree Collapse file tree 5 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,12 @@ type EventLog struct {
4848
4949// Represents the TCB information
5050type TcbInfo struct {
51- Mrtd string `json:"mrtd"`
52- RootfsHash string `json:"rootfs_hash"`
53- Rtmr0 string `json:"rtmr0"`
54- Rtmr1 string `json:"rtmr1"`
55- Rtmr2 string `json:"rtmr2"`
56- Rtmr3 string `json:"rtmr3"`
57- EventLog []EventLog `json:"event_log"`
51+ Mrtd string `json:"mrtd"`
52+ Rtmr0 string `json:"rtmr0"`
53+ Rtmr1 string `json:"rtmr1"`
54+ Rtmr2 string `json:"rtmr2"`
55+ Rtmr3 string `json:"rtmr3"`
56+ EventLog []EventLog `json:"event_log"`
5857}
5958
6059// Represents the response from an info request
Original file line number Diff line number Diff line change @@ -78,13 +78,12 @@ type EventLog struct {
7878
7979// Represents the TCB information
8080type TcbInfo struct {
81- Mrtd string `json:"mrtd"`
82- RootfsHash string `json:"rootfs_hash"`
83- Rtmr0 string `json:"rtmr0"`
84- Rtmr1 string `json:"rtmr1"`
85- Rtmr2 string `json:"rtmr2"`
86- Rtmr3 string `json:"rtmr3"`
87- EventLog []EventLog `json:"event_log"`
81+ Mrtd string `json:"mrtd"`
82+ Rtmr0 string `json:"rtmr0"`
83+ Rtmr1 string `json:"rtmr1"`
84+ Rtmr2 string `json:"rtmr2"`
85+ Rtmr3 string `json:"rtmr3"`
86+ EventLog []EventLog `json:"event_log"`
8887}
8988
9089// Represents the response from an info request
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ export interface EventLog {
2828
2929export interface TcbInfo {
3030 mrtd : string
31- rootfs_hash : string
3231 rtmr0 : string
3332 rtmr1 : string
3433 rtmr2 : string
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ class EventLog(BaseModel):
9191
9292class TcbInfo (BaseModel ):
9393 mrtd : str
94- rootfs_hash : str
9594 rtmr0 : str
9695 rtmr1 : str
9796 rtmr2 : str
Original file line number Diff line number Diff line change @@ -174,8 +174,6 @@ impl InfoResponse {
174174pub struct TcbInfo {
175175 /// The measurement root of trust
176176 pub mrtd : String ,
177- /// The hash of the root filesystem
178- pub rootfs_hash : String ,
179177 /// The value of RTMR0 (Runtime Measurement Register 0)
180178 pub rtmr0 : String ,
181179 /// The value of RTMR1 (Runtime Measurement Register 1)
You can’t perform that action at this time.
0 commit comments