module Nocrypto_entropy_mirage:sig
..end
This module provides RNG seeding from Mirage entropy sources, typically
originating from within the unikernel itself. On Unix,
Nocrypto_entropy_lwt
should be used in preference.
Calling initialize should be enough to get a seeded RNG.
It is the responsibility of the Mirage platform to set up entropy harvesting
and seeding of the Nocrypto RNG. There is no need to use this module
directly.
val initialize : unit -> unit Lwt.t
val sources : unit -> Entropy.source list option
val attach : Entropy.t -> Nocrypto.Rng.g -> Entropy.token Lwt.t
attach e g
starts seeding g
from the entropy provider e
and returns
the token to stop the seeding.