summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-06-23 13:45:32 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-06-23 13:45:32 +0200
commit521e77fd54fba275405affd790ac91f7998e4559 (patch)
tree8616485652c373ed87288cdd5e135d6efe46b1d5 /src
parent50aeefcb5198d99777e19f9a0100fe74af630dfb (diff)
Fixed missing type
Diffstat (limited to 'src')
-rw-r--r--src/noise_types.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/noise_types.go b/src/noise_types.go
index 6dae6b2..5508f9a 100644
--- a/src/noise_types.go
+++ b/src/noise_types.go
@@ -12,8 +12,10 @@ const (
)
type (
- NoisePublicKey [NoisePublicKeySize]byte
- NoisePrivateKey [NoisePrivateKeySize]byte
+ NoisePublicKey [NoisePublicKeySize]byte
+ NoisePrivateKey [NoisePrivateKeySize]byte
+ NoiseSymmetricKey [NoiseSymmetricKeySize]byte
+ NoiseNonce uint64 // padded to 12-bytes
)
func loadExactHex(dst []byte, src string) error {