control/noise: fix typo in docstring.
Signed-off-by: David Anderson <danderson@tailscale.com>pull/3293/head
parent
eabca699ec
commit
5e005a658f
|
@ -318,7 +318,7 @@ func (s *symmetricState) DecryptAndHash(plaintext, ciphertext []byte) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Split returns two ChaCha20Poly1305 ciphers with keys derives from
|
// Split returns two ChaCha20Poly1305 ciphers with keys derived from
|
||||||
// the current handshake state. Methods on s must not be used again
|
// the current handshake state. Methods on s must not be used again
|
||||||
// after calling Split().
|
// after calling Split().
|
||||||
func (s *symmetricState) Split() (c1, c2 cipher.AEAD, err error) {
|
func (s *symmetricState) Split() (c1, c2 cipher.AEAD, err error) {
|
||||||
|
|
Loading…
Reference in New Issue