reviewers input

This commit is contained in:
Zoe 2024-02-06 22:46:36 +01:00
parent 90f011fbbc
commit 5e60ff7a47
2 changed files with 3 additions and 3 deletions

View file

@ -13,11 +13,11 @@ import (
// XOF defines the interface to hash functions that // XOF defines the interface to hash functions that
// support arbitrary-length output. // support arbitrary-length output.
type XOF interface { type XOF interface {
// Writer absorbs more data into the hash's state. It panics if called // Write absorbs more data into the hash's state. It panics if called
// after Read. // after Read.
io.Writer io.Writer
// Reader reads more output from the hash. It returns io.EOF if the limit // Read reads more output from the hash. It returns io.EOF if the limit
// has been reached. // has been reached.
io.Reader io.Reader

View file

@ -61,7 +61,7 @@ type (
Nonce Nonce Nonce Nonce
} }
// Whoareyou contains the handshake challenge. // WHOAREYOU contains the handshake challenge.
Whoareyou struct { Whoareyou struct {
ChallengeData []byte // Encoded challenge ChallengeData []byte // Encoded challenge
Nonce Nonce // Nonce of request packet Nonce Nonce // Nonce of request packet