Skip to content

Commit

Permalink
Update trustcache.go
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Oct 2, 2024
1 parent c80b9c3 commit 4b18082
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/commands/fw/trustcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ func (c hashType) String() string {
type tcFlags uint8

const (
CS_TRUST_CACHE_AMFID tcFlags = 1
CS_TRUST_CACHE_ANE tcFlags = 2
CS_TRUST_CACHE_AMFID tcFlags = 1 // valid cdhash for amfid
CS_TRUST_CACHE_ANE tcFlags = 2 // ANE model hash
)

func (c tcFlags) String() string {
Expand Down Expand Up @@ -135,7 +135,8 @@ type TrustCacheEntryV2 struct {
CDHash CDHash
HashType hashType
Flags tcFlags
ConstraintCategory uint16
ConstraintCategory uint8
_ uint8
}

func (tc TrustCacheEntryV2) String() string {
Expand Down

0 comments on commit 4b18082

Please sign in to comment.