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

x.crypto.chacha20: fix for xor_key_stream fails after a while #24046

Merged
merged 6 commits into from
Mar 25, 2025

Conversation

blackshirt
Copy link
Contributor

@blackshirt blackshirt commented Mar 25, 2025

This PR fixes bug in 24043 issues.
The problem comes from the fact that we forgot to clear out of internal buffer for partial block src within xor_key_stream operation.

Thanks

Copy link

Connected to Huly®: V_0.6-22437

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit f2b90bf into vlang:master Mar 25, 2025
62 checks passed
@blackshirt blackshirt deleted the support-64-bit-counter branch March 25, 2025 22:54
@blackshirt blackshirt restored the support-64-bit-counter branch March 25, 2025 23:57
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.

3 participants