You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
overwrite the capacity portion of the state if the slice is large enough
not pad the rate portion of the state when the slice is less than rate field elements.
If the sponge ingested elements by adding them into the state, and the padding scheme is to pad with zeros, then ignoring the unset portion of the rate is ok (adding zero-padding is a no-op). But here, overwrite mode is being used. I think that this would require the unset portion of the rate to be overwritten with padding.
The text was updated successfully, but these errors were encountered:
potential security issue
relevant code
Duplex Sponge Paper
It appears that this function will
If the sponge ingested elements by adding them into the state, and the padding scheme is to pad with zeros, then ignoring the unset portion of the rate is ok (adding zero-padding is a no-op). But here, overwrite mode is being used. I think that this would require the unset portion of the rate to be overwritten with padding.
The text was updated successfully, but these errors were encountered: