Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of order counter #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Zetanova
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant