https://github.com/project-everest/hacl-star
Raw File
Tip revision: db8387c65d2f09258d4deac2b8c9a7a8403de86f authored by Jonathan Protzenko on 26 February 2020, 18:53:28 UTC
Merge branch 'master' into son_blake2s_256
Tip revision: db8387c
Lib.RandomBuffer.System.fsti
module Lib.RandomBuffer.System

open Lib.IntTypes
open Lib.Buffer

open FStar.HyperStack.All


val randombytes:
    buf: buffer uint8
  -> len: size_t{v len == length buf} ->
  Stack bool
  (requires (fun h -> live h buf))
  (ensures (fun h0 _ h1 -> modifies1 buf h0 h1))
back to top