noise icon indicating copy to clipboard operation
noise copied to clipboard

Out of order counter

Open Zetanova opened this issue 5 years ago • 0 comments

Add binary compatible support for user defined transport nonces/counters.

This feature is required for transfers over UDP. UDP has out-of-order messaging.

A new unit test TestOutOfOrder is included.

My CPU does not support Aes256Gcm and some vCPU's do not have Aes256Gcm enabled. There is now an optional exclusion for Aes256GcmSupport in the NoiseTests.

One thing to mention is that only symmetric transports need to share the same counter, but asymmetric transports should normally track two different counters for sending and receiving.

Zetanova avatar Dec 26 '20 19:12 Zetanova