rweather / noise-c

Noise-C, a plain C implementation of the Noise protocol
MIT License
304 stars 86 forks source link

noise_cipherstate_set_nonce cannot go backwards / UDP #39

Open aep opened 5 years ago

aep commented 5 years ago

noise_cipherstate_set_nonce appears to be the only way to decode unordered messages, but it requires the nonce to be always increasing, which isnt the case with UDP