diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-03-11 11:20:38 +0100 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-03-11 11:20:38 +0100 |
| commit | 6e37bc1f2755ef2e2270d2c1cb988d14ff6d0957 (patch) | |
| tree | 286c7f2e78a229cc137da3aa91fb24e147535447 /symmetric_state.go | |
| parent | 03b95111f19a93ccee00e8e8e0afaab8112f5484 (diff) | |
| download | noise-6e37bc1f2755ef2e2270d2c1cb988d14ff6d0957.tar.gz noise-6e37bc1f2755ef2e2270d2c1cb988d14ff6d0957.zip | |
Naming
Diffstat (limited to 'symmetric_state.go')
| -rw-r--r-- | symmetric_state.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/symmetric_state.go b/symmetric_state.go index 4ecbfa7..13ac4cc 100644 --- a/symmetric_state.go +++ b/symmetric_state.go @@ -97,8 +97,8 @@ func (ss *symmetricState) decryptAndHash(ciphertext []byte) ([]byte, error) { return plaintext, nil } -// getHandshakeHash returns the current handshake hash. -func (ss *symmetricState) getHandshakeHash() []byte { +// handshakeHash returns the current handshake hash. +func (ss *symmetricState) handshakeHash() []byte { hash := make([]byte, hashLen) copy(hash, ss.digest) return hash |
