Skip to content

Commit

Permalink
Remove HID OTA support (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter authored Mar 22, 2024
1 parent 03e7fc1 commit c2b5252
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 694 deletions.
10 changes: 2 additions & 8 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ const (
U2FHID_ARMORY_INF = iota + u2fhid.VendorCommandFirst
// Trusted Applet configuration
U2FHID_ARMORY_CFG
// Trusted Applet update
U2FHID_ARMORY_OTA
// Obsolete
U2FHID_ARMORY_OTA_UNUSED
// Set HAB fuse to built-in SRK hash
U2FHID_ARMORY_HAB
// Fetch latest debug/console logs
Expand Down Expand Up @@ -86,12 +86,6 @@ func (p *Configuration) Bytes() (buf []byte) {
return
}

// Bytes serializes an API message.
func (p *AppletUpdate) Bytes() (buf []byte) {
buf, _ = proto.Marshal(p)
return
}

// Print returns the Trusted OS status in textual format.
func (p *Status) Print() string {
var status bytes.Buffer
Expand Down
Loading

0 comments on commit c2b5252

Please sign in to comment.