https://github.com/project-everest/hacl-star
Raw File
Tip revision: de470bd58eb290903f8754e6b982fd04efab4c61 authored by Jonathan Protzenko on 30 July 2020, 15:24:59 UTC
Merge branch 'master' into son_libhaclml
Tip revision: de470bd
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