diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-10 04:23:17 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-10 04:23:17 +0100 |
commit | 5ace0fdfe237b2062c060fbe30d6fb40965fb1b9 (patch) | |
tree | 4b0a333a1b85a10021b147a1ebf164c391a6dbae /noise-protocol.go | |
parent | 849fa400e915ece69c4fbaed0f261b9b4efcb565 (diff) |
Use upstream's xchacha20poly1305
Diffstat (limited to 'noise-protocol.go')
-rw-r--r-- | noise-protocol.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noise-protocol.go b/noise-protocol.go index cc85cce..0686a11 100644 --- a/noise-protocol.go +++ b/noise-protocol.go @@ -89,7 +89,7 @@ type MessageTransport struct { type MessageCookieReply struct { Type uint32 Receiver uint32 - Nonce [24]byte + Nonce [chacha20poly1305.NonceSizeX]byte Cookie [blake2s.Size128 + poly1305.TagSize]byte } |