Versions in this module Expand all Collapse all v0 v0.0.2 May 13, 2020 v0.0.1 May 13, 2020 Changes in this version + const App + const Digest + const Init + const KeyLength + const MaxChunk + const NameLedgerEd25519 + const SigLength + const Timeout + const TypeLedgerEd25519 + const Update + func NewPrivKeyLedgerEd25519() (crypto.PrivKey, error) + func PubKeyLedgerEd25519FromBytes(key [32]byte) crypto.PubKey + type MockPrivKeyLedgerEd25519 struct + Msg []byte + Pub [KeyLength]byte + Sig [SigLength]byte + func NewMockKey(msg, pubkey, sig string) (pk MockPrivKeyLedgerEd25519) + func (pk MockPrivKeyLedgerEd25519) AssertIsPrivKeyInner() + func (pk MockPrivKeyLedgerEd25519) Bytes() []byte + func (pk MockPrivKeyLedgerEd25519) Equals(other crypto.PrivKey) bool + func (pk MockPrivKeyLedgerEd25519) PubKey() crypto.PubKey + func (pk MockPrivKeyLedgerEd25519) Sign(msg []byte) crypto.Signature + func (pk MockPrivKeyLedgerEd25519) Wrap() crypto.PrivKey + type PrivKeyLedgerEd25519 struct + CachedPubKey crypto.PubKey + func (pk *PrivKeyLedgerEd25519) AssertIsPrivKeyInner() + func (pk *PrivKeyLedgerEd25519) Bytes() []byte + func (pk *PrivKeyLedgerEd25519) Equals(other crypto.PrivKey) bool + func (pk *PrivKeyLedgerEd25519) PubKey() crypto.PubKey + func (pk *PrivKeyLedgerEd25519) Sign(msg []byte) crypto.Signature + func (pk *PrivKeyLedgerEd25519) ValidateKey() error + func (pk *PrivKeyLedgerEd25519) Wrap() crypto.PrivKey + type PubKeyLedgerEd25519 struct + func (pk PubKeyLedgerEd25519) Bytes() []byte + func (pk PubKeyLedgerEd25519) Equals(other crypto.PubKey) bool + func (pk PubKeyLedgerEd25519) VerifyBytes(msg []byte, sig crypto.Signature) bool + func (pk PubKeyLedgerEd25519) Wrap() crypto.PubKey