Skip to content

Conversation

@fjarri
Copy link
Contributor

@fjarri fjarri commented Dec 27, 2023

A follow-up for #510. Handle the case of bit_length = 0.

An alternative here is to take a NonZeroU32 parameter.

@tarcieri tarcieri merged commit 42ea8e6 into RustCrypto:master Dec 27, 2023
@fjarri fjarri deleted the random-bits-corner-cases branch December 27, 2023 22:44
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.

2 participants