···33open Nocrypto
44open Uncommon
5566-module E = Entropy_xen
66+module E = Entropy
7788type t = { e : E.t ; token : E.token ; g : Rng.g }
99
+3-3
xen/nocrypto_entropy_xen.mli
···17171818(** {1 Interface to Mirage Entropy} *)
19192020-val sources : unit -> Entropy_xen.source list option
2121-(** {!Entropy_xen.source}s set up with the last {{!initialize}initialize}. *)
2020+val sources : unit -> Entropy.source list option
2121+(** {!Entropy.source}s set up with the last {{!initialize}initialize}. *)
22222323-val attach : Entropy_xen.t -> Nocrypto.Rng.g -> Entropy_xen.token Lwt.t
2323+val attach : Entropy.t -> Nocrypto.Rng.g -> Entropy.token Lwt.t
2424(** [attach e g] starts seeding [g] from the entropy provider [e] and returns
2525 the token to stop the seeding. *)