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
Per the spec, the maximum usable nonce value is 2^64 - 2 and not 2^64 - 1.
The maximum n value (2^64 - 1) is reserved for other use. If incrementing n results in 2^64 - 1, then any further EncryptWithAd() or DecryptWithAd() calls will signal an error to the caller.
Per the spec, the maximum usable nonce value is
2^64 - 2
and not2^64 - 1
.http://www.noiseprotocol.org/noise.html#the-cipherstate-object
These two usages should be slightly re-written:
snow/src/cipherstate.rs
Line 39 in 077bb35
snow/src/cipherstate.rs
Line 59 in 077bb35
The text was updated successfully, but these errors were encountered: