mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-10-19 15:05:00 +08:00
Use upstream's xchacha20poly1305
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user