https://github.com/project-everest/hacl-star
Raw File
Tip revision: 7b9dcb77c58c1186d18fe2cefe299c21bb0d7217 authored by Nikhil Swamy on 26 September 2019, 04:09:27 UTC
switch back to using F* master
Tip revision: 7b9dcb7
Lib.RandomBuffer.fsti
module Lib.RandomBuffer

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