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

Use fake RNG only when necessary #350

Merged
merged 2 commits into from
Feb 13, 2024
Merged

Use fake RNG only when necessary #350

merged 2 commits into from
Feb 13, 2024

Conversation

Taowyoo
Copy link
Collaborator

@Taowyoo Taowyoo commented Feb 12, 2024

This PR fixes #349.

  • Add support of using CtrDrbg.
  • Change tests to use CtrDrbg with OsEntropy as RNG by default.

- Change tests to use CtrDrbg with OsEntropy as RNG by default.
@Taowyoo Taowyoo changed the title Use fake RNBG only when necessary Use fake RNG only when necessary Feb 13, 2024
@mzohreva
Copy link
Contributor

@Taowyoo if #351 is merged before this PR, then please use test_rng() in private_from_rsa_components_sanity, otherwise we'd need another PR for that change.

@Taowyoo Taowyoo merged commit b01b42e into master Feb 13, 2024
11 checks passed
@Taowyoo Taowyoo deleted the yx/better-test-rng branch February 13, 2024 19:46
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.

Encountered test failures when randomizing tests
3 participants