summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 {