https://github.com/project-everest/hacl-star
Raw File
Tip revision: b0655d04427e84c46e388869bd07367c7b249c9f authored by Jay Bosamiya on 22 October 2019, 07:25:15 UTC
Introduce another codeOnly that can be used
Tip revision: b0655d0
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