https://github.com/project-everest/hacl-star
Raw File
Tip revision: 50bbe96c7ee654e54e1da47aaff7d50fe2483612 authored by Denis Merigoux on 23 March 2020, 10:14:53 UTC
Precisely control what's inside the npm package
Tip revision: 50bbe96
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