Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Input ¶
type Input struct { // SHE module Unique ID as hex string UID string // ID of the secret key AuthID she.KeyID // secret key as hex string AuthKey string // ID of the slot to be updated ID she.KeyID // the new value of the key as hex string NewKey string // new value of the counter Counter uint32 // key flags Flags ProtectionFlags }
type ProtectionFlags ¶
type ProtectionFlags struct { // Enable write-protection Write bool // Enable boot-protection Boot bool // Enable debugger-protection Debugger bool // key usage: false=encryption/decryption, true=MAC generation/verification KeyUsage bool // Enable wildcard-protection Wildcard bool }
func (ProtectionFlags) String ¶
func (f ProtectionFlags) String() string
Click to show internal directories.
Click to hide internal directories.