x/crypto: sha3 misleading and incorrect comment #45683
Labels
Documentation
Issues describing a change to documentation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
https://github.com/golang/crypto/blob/master/sha3/sha3.go#L125
The Write function is not just used for SHAKE, it's also used for SHA-3.
The comment has a typo, it should say "after reading". I suggest the line be changed to:
// if more data is written after reading
The text was updated successfully, but these errors were encountered: