good morning!!!!

Skip to content
Snippets Groups Projects
Commit ec4fba83 authored by Guillaume Ballet's avatar Guillaume Ballet
Browse files

Formatting fixes

parent 0a0b9370
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ var (
DerivationSignatureHash = sha256.Sum256(common.Hash{}.Bytes())
)
// List of APDU command-related constants
const (
claISO7816 = 0
claSCWallet = 0x80
......@@ -89,6 +90,10 @@ const (
insLoadKey = 0xD0
insDeriveKey = 0xD1
insStatus = 0xF2
)
// List of ADPU command parameters
const (
P1DeriveKeyFromMaster = uint8(0x00)
P1DeriveKeyFromParent = uint8(0x01)
P1DeriveKeyFromCurrent = uint8(0x10)
......@@ -102,11 +107,11 @@ const (
signP2OnlyBlock = uint8(0x81)
exportP1Any = uint8(0x00)
exportP2Pubkey = uint8(0x01)
)
// Minimum time to wait between self derivation attempts, even it the user is
// requesting accounts like crazy.
selfDeriveThrottling = time.Second
)
const selfDeriveThrottling = time.Second
// Wallet represents a smartcard wallet instance.
type Wallet struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment