Use upstream's xchacha20poly1305
This commit is contained in:
parent
849fa400e9
commit
5ace0fdfe2
4 changed files with 5 additions and 288 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue