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 RNG for Fortanix SGX #883

Closed
wants to merge 1 commit into from
Closed

Commits on Aug 1, 2019

  1. Add RNG for Fortanix SGX

    Currently, ring doesn't provide a random number generator for SGX at all.
    This is probably by accident, but is, in fact, the correct behavior.
    
    Due to distrust of the OS, SGX enclave applications need a source of
    randomness that is not forgable by the OS. This pretty much leaves only
    the RDRAND instruction. Fortunately, Rust provides an intrinsic for this
    instruction.
    npmccallum committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    e3cfc2a View commit details
    Browse the repository at this point in the history