Skip to content

Commit

Permalink
typos in rng documentation
Browse files Browse the repository at this point in the history
hannesm committed Jun 9, 2024
1 parent 9650c3f commit 448ad35
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rng/mirage_crypto_rng.mli
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
stream of entropy.
[mirage-crypto-rng-eio] package differs slightly from other rng packages.
Instead of the [initilize] function a [run] function is provided with
Instead of the [initialize] function a [run] function is provided with
similar behaviour, i.e. RNG setup, entropy collection and periodic reseeding.
Although this module exposes a more fine-grained interface, e.g. allowing
2 changes: 1 addition & 1 deletion rng/rng.ml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ let setup_rng =
collection and periodic reseeding as a background task, do the \
following:\
\n If you are using MirageOS, use the random device in config.ml: \
`let main = Mirage.foreign \"Unikernel.Main\" (random @-> job)`, \
`let main = Mirage.main \"Unikernel.Main\" (random @-> job)`, \
and `let () = register \"my_unikernel\" [main $ default_random]`. \
\n If you are using Lwt, execute \
`Mirage_crypto_rng_lwt.initialize (module Mirage_crypto_rng.Fortuna)` \

0 comments on commit 448ad35

Please sign in to comment.