Merge branch 'noise-handshakestates' of https://github.com/status-im/nim-waku into noise-handshakestates

This commit is contained in:
s1fr0 2022-04-08 18:53:53 +02:00
commit 4e1b839e27
No known key found for this signature in database
GPG Key ID: 2C041D60117BFF46

View File

@ -73,6 +73,7 @@ type
handshakeMessage: seq[NoisePublicKey]
transportMessage: seq[byte]
#Noise Handshakes
NoiseTokens* = enum
@ -371,7 +372,6 @@ proc init*(_: type[HandshakeState], hs_pattern: HandshakePattern, psk: seq[byte]
result.psk = psk
result.ss = SymmetricState.init(hs_pattern)
#################################################################
# ChaChaPoly Symmetric Cipher