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

random: Reuse the seed128/seed256 helpers when seeding using the CSPRNG #13311

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

TimWolla
Copy link
Member

@TimWolla TimWolla commented Feb 2, 2024

Instead of writing to the engine's state struct directly, use the helpers for consistency.

Instead of writing to the engine's state struct directly, use the helpers for
consistency.
Copy link
Contributor

@zeriyoshi zeriyoshi left a comment

Choose a reason for hiding this comment

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

LGTM!

@zeriyoshi
Copy link
Contributor

Tests on macOS are failing, but this does not seem to matter, so I approved it.

@devnexen
Copy link
Member

devnexen commented Feb 5, 2024

No it s unrelated, once it s merged it will be back to normal.

@TimWolla TimWolla merged commit ce2d263 into php:master Feb 5, 2024
9 of 10 checks passed
@TimWolla TimWolla deleted the random-seed-helper branch February 5, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants