https://github.com/project-everest/hacl-star
Raw File
Tip revision: aabf2223a160b839f0380b0a2878e887ad4a5409 authored by Dzomo, the Everest Yak on 08 July 2020, 08:22:44 UTC
[CI] regenerate hints and dist
Tip revision: aabf222
Lib.RandomSequence.fsti
module Lib.RandomSequence

open Lib.IntTypes
open Lib.Sequence
open Lib.ByteSequence


///
/// This module uses the OCaml cryptokit package to provide Hardware randomness
/// (Currently only usable from platforms that support RDRAND)
///

val entropy: Type0
val entropy0: entropy


val crypto_random: entropy -> len:size_nat -> Tot (entropy & lbytes len)

val unsound_crypto_random1: len:size_nat -> Tot (option (lbytes len))

val unsound_crypto_random2: len:size_nat -> Tot (lbytes len)
back to top