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

Increment nonce after encrypt / decrypt #33

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

Sjors
Copy link
Owner

@Sjors Sjors commented Jan 25, 2024

@Sjors
Copy link
Owner Author

Sjors commented Jan 25, 2024

Also added a check for the maximum nonce value of 2^^64 - 1 as chapter 5.1 of the Noise paper requires, though that's not in the spec. @jakubtrnka thoughts?

(only a fuzzer would encounter that limit in practice)

@Sjors Sjors merged commit 79c5135 into 2023/11/sv2-poll Feb 2, 2024
3 of 19 checks passed
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