x/crypto/sha3: superfluous rate in state struct #45705
Labels
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#L27
Rate is always 200 - (outputLen * 2), and therefore is superfluous. I think the code would be cleaner if rate is derived from outputLen. The rate member is not exposed in the public API, and therefore can be removed.
The text was updated successfully, but these errors were encountered: