Skip to content

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

Merged
TimWolla merged 1 commit intophp:masterfrom
TimWolla:random-seed-helper
Feb 5, 2024
Merged

random: Reuse the seed128/seed256 helpers when seeding using the CSPRNG#13311
TimWolla merged 1 commit intophp:masterfrom
TimWolla:random-seed-helper

Conversation

@TimWolla
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

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

@devnexen
Copy link
Copy Markdown
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
@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