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

chacha20: bump rand_core to v0.9 #385

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

tarcieri
Copy link
Member

No description provided.

@tarcieri tarcieri force-pushed the chacha20/rand_core-v0.9 branch from 5a77c14 to 0ff230f Compare January 28, 2025 22:57
@@ -735,7 +735,7 @@ pub(crate) mod tests {
let mut rng1 = ChaChaRng::from_seed(seed);
assert_eq!(rng1.next_u32(), 137206642);

let mut rng2 = ChaChaRng::from_rng(rng1);
let mut rng2 = ChaChaRng::from_rng(&mut rng1);
Copy link
Member Author

Choose a reason for hiding this comment

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

This looks like some kind of nightly-only failure: https://github.com/RustCrypto/stream-ciphers/actions/runs/13020926488/job/36321197288

That said, the new code is more explicit, rather than relying on the blanket impl.

@tarcieri tarcieri merged commit 87b3507 into master Jan 28, 2025
55 checks passed
@tarcieri tarcieri deleted the chacha20/rand_core-v0.9 branch January 28, 2025 23:01
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