aboutsummaryrefslogtreecommitdiff
path: root/keys.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-04-16 00:47:20 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-04-16 00:47:20 +0200
commit670abdb08e34d0d5a5f08af0b85e434d4a1ff18f (patch)
tree6abd3263cc477f8ce0fe3774844723c92ca488e7 /keys.go
parentff8b08bf43f5ee60dc995b60e8505cfe90d0de3c (diff)
numeric KeyNum
Diffstat (limited to 'keys.go')
-rw-r--r--keys.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/keys.go b/keys.go
index 5e6e73f..53dd536 100644
--- a/keys.go
+++ b/keys.go
@@ -18,13 +18,13 @@ var (
type Sig struct {
PKAlg [2]byte
- KeyNum [8]byte
+ KeyNum uint64
Sig [ed25519.SignatureSize]byte
}
type PubKey struct {
PKAlg [2]byte
- KeyNum [8]byte
+ KeyNum uint64
PubKey [ed25519.PublicKeySize]byte
}
@@ -34,7 +34,7 @@ type EncKey struct {
KDFRounds uint32
Salt [16]byte
Checksum [8]byte
- KeyNum [8]byte
+ KeyNum uint64
SecKey [ed25519.PrivateKeySize]byte
}