RIOT-OS / rust-riot-wrappers

The `riot-wrappers` crate, which enables high-level access to RIOT from the Rust programming language
13 stars 10 forks source link

random: Add module #67

Closed chrysn closed 11 months ago

chrysn commented 11 months ago

This provides an RNG similar to rand_core's OsRng, provided suitable RIOT modules are enabled.

Cc @geonnave because it's relevant to https://github.com/openwsn-berkeley/edhoc-rs/pull/131/

chrysn commented 11 months ago

This now also has a test, which if nothing else makes sure things do compile, but does also run some RNG tests. I have no clue what they do, but I assert that they do not throw an error, and that is nice.