https://github.com/project-everest/hacl-star
Raw File
Tip revision: e6c577afa68a0d36fc7d95099ece79dca6a29555 authored by Jonathan Protzenko on 29 May 2020, 18:05:39 UTC
Make it fatal
Tip revision: e6c577a
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