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

Add getrandom_uninit(dest: &mut [MaybeUninit<u8>]) -> .... #291

Merged
merged 7 commits into from Oct 21, 2022

Commits on Oct 20, 2022

  1. Add getrandom_uninit(dest: &mut [MaybeUninit<u8>]) -> ....

    Add a public API for filling an `&mut [MaybeUninit<u8>]`. This will primarily
    serve as the building block for more typeful APIs for constructing random
    arrays.
    
    Increase the MSRV to 1.36, as `MaybeUninit` was added in that release.
    
    Fixes rust-random#226.
    briansmith authored and josephlr committed Oct 20, 2022
    Copy the full SHA
    2bb9a7d View commit details
    Browse the repository at this point in the history
  2. Revert testing changes

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Oct 20, 2022
    Copy the full SHA
    dfc0d1c View commit details
    Browse the repository at this point in the history
  3. Allow rdrand tests to work with new implementation

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Oct 20, 2022
    Copy the full SHA
    a1ddafb View commit details
    Browse the repository at this point in the history
  4. Add Additional benchmarks and buffer size

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Oct 20, 2022
    Copy the full SHA
    ebc54de View commit details
    Browse the repository at this point in the history
  5. Use pointer casts instead of transmute

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Oct 20, 2022
    Copy the full SHA
    47d5dcc View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Copy the full SHA
    123fefa View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    48158b2 View commit details
    Browse the repository at this point in the history