file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
Vale.AsLowStar.LowStarSig.fst
Vale.AsLowStar.LowStarSig.create_initial_vale_state
val create_initial_vale_state (#max_arity: nat) (#arg_reg: IX64.arg_reg_relation max_arity) (args: IX64.arg_list) : IX64.state_builder_t max_arity args V.vale_state_with_inv
val create_initial_vale_state (#max_arity: nat) (#arg_reg: IX64.arg_reg_relation max_arity) (args: IX64.arg_list) : IX64.state_builder_t max_arity args V.vale_state_with_inv
let create_initial_vale_state (#max_arity:nat) (#arg_reg:IX64.arg_reg_relation max_arity) (args:IX64.arg_list) : IX64.state_builder_t max_arity args V.vale_state_with_inv = fun h0 -> let (t_state, mem) = IX64.create_initial_trusted_state max_arity arg_reg args h0 in let open VS in {...
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 274, "start_col": 0, "start_line": 260 }
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", ...
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
args: Vale.Interop.X64.arg_list -> Vale.Interop.X64.state_builder_t max_arity args Vale.X64.Decls.vale_state_with_inv
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.Interop.X64.arg_reg_relation", "Vale.Interop.X64.arg_list", "FStar.Monotonic.HyperStack.mem", "Vale.Interop.Base.mem_roots_p", "Vale.X64.Machine_Semantics_s.machine_state", "Vale.Interop.Heap_s.interop_heap", "Vale.X64.State.Mkvale_state", "Vale.X64.Regs.of_fun", "Vale.X64.Machi...
[]
false
false
false
false
false
let create_initial_vale_state (#max_arity: nat) (#arg_reg: IX64.arg_reg_relation max_arity) (args: IX64.arg_list) : IX64.state_builder_t max_arity args V.vale_state_with_inv =
fun h0 -> let t_state, mem = IX64.create_initial_trusted_state max_arity arg_reg args h0 in let open VS in { vs_ok = true; vs_regs = Vale.X64.Regs.of_fun t_state.BS.ms_regs; vs_flags = Vale.X64.Flags.of_fun IA.init_flags; vs_heap = create_initial_vale_full_heap mem (heap_taint t_state.BS.ms_heap);...
false
Vale.AsLowStar.LowStarSig.fst
Vale.AsLowStar.LowStarSig.stack_args
val stack_args (max_arity n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop
val stack_args (max_arity n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop
let rec stack_args (max_arity:nat) (n:nat) (args:list arg{List.Tot.length args = n}) : VSig.sprop = match args with | [] -> (fun s -> True) | hd::tl -> fun s -> stack_args max_arity (n - 1) tl s /\ (if n <= max_arity then True //...
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 172, "start_col": 0, "start_line": 155 }
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", ...
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
max_arity: Prims.nat -> n: Prims.nat -> args: Prims.list Vale.Interop.Base.arg {FStar.List.Tot.Base.length args = n} -> Vale.AsLowStar.ValeSig.sprop
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.list", "Vale.Interop.Base.arg", "Prims.b2t", "Prims.op_Equality", "FStar.List.Tot.Base.length", "Vale.X64.State.vale_state", "Prims.l_True", "Prims.prop", "Prims.l_and", "Vale.AsLowStar.LowStarSig.stack_args", "Prims.op_Subtraction", "Prims.op_LessThanOrEqual", "Prims.b...
[ "recursion" ]
false
false
false
false
false
let rec stack_args (max_arity n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop =
match args with | [] -> (fun s -> True) | hd :: tl -> fun s -> stack_args max_arity (n - 1) tl s /\ (if n <= max_arity then True else let ptr = ((n - max_arity) - 1) * 8 + (if IA.win then 32 else 0) + 8 + VS.eval_reg_64 MS.rRsp s in SI.valid_stack_slot64 ptr s.VS....
false
Vale.AsLowStar.LowStarSig.fst
Vale.AsLowStar.LowStarSig.taint_hyp_arg
val taint_hyp_arg : m: Vale.X64.Memory.vale_heap -> tm: Vale.Arch.HeapTypes_s.memTaint_t -> a: Vale.Interop.Base.arg -> Type0
let taint_hyp_arg (m:ME.vale_heap) (tm:MS.memTaint_t) (a:arg) = let (| tag, x |) = a in match tag with | TD_Buffer src TUInt64 {taint=tnt} -> ME.valid_taint_buf64 (as_vale_buffer #src #TUInt64 x) m tm tnt | TD_Buffer src TUInt128 {taint=tnt} -> ME.valid_tai...
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 203, "start_col": 0, "start_line": 175 }
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", ...
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Vale.X64.Memory.vale_heap -> tm: Vale.Arch.HeapTypes_s.memTaint_t -> a: Vale.Interop.Base.arg -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Memory.vale_heap", "Vale.Arch.HeapTypes_s.memTaint_t", "Vale.Interop.Base.arg", "Vale.Interop.Base.td", "Vale.Interop.Base.td_as_type", "Vale.Arch.HeapTypes_s.base_typ", "Prims.bool", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Memory.valid_taint_buf64", "Vale.X64.MemoryAdapters.as_vale_buf...
[]
false
false
false
true
true
let taint_hyp_arg (m: ME.vale_heap) (tm: MS.memTaint_t) (a: arg) =
let (| tag , x |) = a in match tag with | TD_Buffer src TUInt64 { taint = tnt } -> ME.valid_taint_buf64 (as_vale_buffer #src #TUInt64 x) m tm tnt | TD_Buffer src TUInt128 { taint = tnt } -> ME.valid_taint_buf128 (as_vale_buffer #src #TUInt128 x) m tm tnt | TD_ImmBuffer src TUInt64 { taint = tnt } -> ME.valid_tain...
false
Vale.AsLowStar.LowStarSig.fst
Vale.AsLowStar.LowStarSig.register_args
val register_args (max_arity: nat) (arg_reg: IX64.arg_reg_relation max_arity) (n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop
val register_args (max_arity: nat) (arg_reg: IX64.arg_reg_relation max_arity) (n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop
let rec register_args (max_arity:nat) (arg_reg:IX64.arg_reg_relation max_arity) (n:nat) (args:list arg{List.Tot.length args = n}) : VSig.sprop = match args with | [] -> (fun s -> True) | hd::tl -> fun s -> register_args max_ari...
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 152, "start_col": 0, "start_line": 142 }
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", ...
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
max_arity: Prims.nat -> arg_reg: Vale.Interop.X64.arg_reg_relation max_arity -> n: Prims.nat -> args: Prims.list Vale.Interop.Base.arg {FStar.List.Tot.Base.length args = n} -> Vale.AsLowStar.ValeSig.sprop
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.Interop.X64.arg_reg_relation", "Prims.list", "Vale.Interop.Base.arg", "Prims.b2t", "Prims.op_Equality", "FStar.List.Tot.Base.length", "Vale.X64.State.vale_state", "Prims.l_True", "Prims.prop", "Prims.l_and", "Vale.AsLowStar.LowStarSig.register_args", "Prims.op_Subtraction"...
[ "recursion" ]
false
false
false
false
false
let rec register_args (max_arity: nat) (arg_reg: IX64.arg_reg_relation max_arity) (n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop =
match args with | [] -> (fun s -> True) | hd :: tl -> fun s -> register_args max_arity arg_reg (n - 1) tl s /\ (if n > max_arity then True else VS.eval_reg_64 (arg_reg.IX64.of_arg (n - 1)) s == arg_as_nat64 hd s)
false
Vale.AsLowStar.LowStarSig.fst
Vale.AsLowStar.LowStarSig.taint_hyp
val taint_hyp (args: list arg) : VSig.sprop
val taint_hyp (args: list arg) : VSig.sprop
let taint_hyp (args:list arg) : VSig.sprop = fun s0 -> BigOps.big_and' (taint_hyp_arg (ME.get_vale_heap s0.VS.vs_heap) (full_heap_taint s0.VS.vs_heap)) args
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 113, "end_line": 207, "start_col": 0, "start_line": 206 }
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", ...
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
args: Prims.list Vale.Interop.Base.arg -> Vale.AsLowStar.ValeSig.sprop
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Vale.Interop.Base.arg", "Vale.X64.State.vale_state", "FStar.BigOps.big_and'", "Vale.AsLowStar.LowStarSig.taint_hyp_arg", "Vale.X64.Memory.get_vale_heap", "Vale.X64.State.__proj__Mkvale_state__item__vs_heap", "Vale.Arch.HeapImpl.full_heap_taint", "Prims.prop", "Vale.AsLowStar.ValeSig...
[]
false
false
false
true
false
let taint_hyp (args: list arg) : VSig.sprop =
fun s0 -> BigOps.big_and' (taint_hyp_arg (ME.get_vale_heap s0.VS.vs_heap) (full_heap_taint s0.VS.vs_heap)) args
false
Vale.AsLowStar.LowStarSig.fst
Vale.AsLowStar.LowStarSig.mem_correspondence
val mem_correspondence (args: list arg) : hsprop
val mem_correspondence (args: list arg) : hsprop
let rec mem_correspondence (args:list arg) : hsprop = match args with | [] -> fun h s -> True | hd :: tl -> let (| tag, x |) = hd in match tag with | TD_Buffer src bt _ -> fun h s -> mem_correspondence_1 src bt x h s /\ mem_correspondence tl h s | TD_ImmBuffer src bt _ -> ...
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 118, "start_col": 0, "start_line": 103 }
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", ...
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
args: Prims.list Vale.Interop.Base.arg -> Vale.AsLowStar.LowStarSig.hsprop
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Vale.Interop.Base.arg", "FStar.Monotonic.HyperStack.mem", "Vale.X64.State.vale_state", "Prims.l_True", "Prims.prop", "Vale.Interop.Base.td", "Vale.Interop.Base.td_as_type", "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.buffer_qualifiers", "Prims.l_and", "Vale.AsLowStar.Lo...
[ "recursion" ]
false
false
false
true
false
let rec mem_correspondence (args: list arg) : hsprop =
match args with | [] -> fun h s -> True | hd :: tl -> let (| tag , x |) = hd in match tag with | TD_Buffer src bt _ -> fun h s -> mem_correspondence_1 src bt x h s /\ mem_correspondence tl h s | TD_ImmBuffer src bt _ -> fun h s -> mem_imm_correspondence_1 src bt x h s /\ mem_correspondence tl h s | TD_Bas...
false
Vale.AsLowStar.LowStarSig.fst
Vale.AsLowStar.LowStarSig.uint_to_nat
val uint_to_nat (t: ME.base_typ) (x: base_typ_as_type t) : ME.base_typ_as_vale_type t
val uint_to_nat (t: ME.base_typ) (x: base_typ_as_type t) : ME.base_typ_as_vale_type t
let uint_to_nat (t:ME.base_typ) (x:base_typ_as_type t) : ME.base_typ_as_vale_type t = let open ME in match t with | TUInt8 -> UInt8.v x | TUInt16 -> UInt16.v x | TUInt32 -> UInt32.v x | TUInt64 -> UInt64.v x | TUInt128 -> x
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 19, "end_line": 41, "start_col": 0, "start_line": 33 }
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", ...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Vale.Arch.HeapTypes_s.base_typ -> x: Vale.Interop.Types.base_typ_as_type t -> Vale.X64.Memory.base_typ_as_vale_type t
Prims.Tot
[ "total" ]
[]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Types.base_typ_as_type", "FStar.UInt8.v", "FStar.UInt16.v", "FStar.UInt32.v", "FStar.UInt64.v", "Vale.X64.Memory.base_typ_as_vale_type" ]
[]
false
false
false
false
false
let uint_to_nat (t: ME.base_typ) (x: base_typ_as_type t) : ME.base_typ_as_vale_type t =
let open ME in match t with | TUInt8 -> UInt8.v x | TUInt16 -> UInt16.v x | TUInt32 -> UInt32.v x | TUInt64 -> UInt64.v x | TUInt128 -> x
false
Hacl.Impl.RSAPSS.Keys.fst
Hacl.Impl.RSAPSS.Keys.new_rsapss_load_skey
val new_rsapss_load_skey: #t:limb_t -> ke:BE.exp t -> modBits:size_t -> kc:rsapss_checks t -> new_rsapss_load_skey_st t ke modBits
val new_rsapss_load_skey: #t:limb_t -> ke:BE.exp t -> modBits:size_t -> kc:rsapss_checks t -> new_rsapss_load_skey_st t ke modBits
let new_rsapss_load_skey #t ke modBits kc r eBits dBits nb eb db = [@inline_let] let bits = size (bits t) in if not (rsapss_check_skey_len #t modBits eBits dBits) then B.null else begin assert (LS.skey_len_pre t (v modBits) (v eBits) (v dBits)); let h0 = ST.get () in let nLen = blocks modBits bits...
{ "file_name": "code/rsapss/Hacl.Impl.RSAPSS.Keys.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 436, "start_col": 0, "start_line": 406 }
module Hacl.Impl.RSAPSS.Keys open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack module LSeq = Lib.Sequence module LS = Hacl.Spec.RSAPSS module BM = Hacl.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.RSAPSS.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ke: Hacl.Bignum.Exponentiation.exp t -> modBits: Lib.IntTypes.size_t -> kc: Hacl.Impl.RSAPSS.Keys.rsapss_checks t -> Hacl.Impl.RSAPSS.Keys.new_rsapss_load_skey_st t ke modBits
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Exponentiation.exp", "Lib.IntTypes.size_t", "Hacl.Impl.RSAPSS.Keys.rsapss_checks", "FStar.Monotonic.HyperHeap.rid", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.Bignum.Definitions.blocks0", "FStar.UInt32.__uint_to_t", "Prims.op_Negation", "Hacl...
[]
false
false
false
false
false
let new_rsapss_load_skey #t ke modBits kc r eBits dBits nb eb db =
[@@ inline_let ]let bits = size (bits t) in if not (rsapss_check_skey_len #t modBits eBits dBits) then B.null else (assert (LS.skey_len_pre t (v modBits) (v eBits) (v dBits)); let h0 = ST.get () in let nLen = blocks modBits bits in let eLen = blocks eBits bits in let dLen = blocks dBits bits in le...
false
Vale.AsLowStar.LowStarSig.fst
Vale.AsLowStar.LowStarSig.arg_as_nat64
val arg_as_nat64 (a: arg) (s: VS.vale_state) : GTot ME.nat64
val arg_as_nat64 (a: arg) (s: VS.vale_state) : GTot ME.nat64
let arg_as_nat64 (a:arg) (s:VS.vale_state) : GTot ME.nat64 = let (| tag, x |) = a in let open ME in match tag with | TD_Base TUInt8 -> UInt8.v x | TD_Base TUInt16 -> UInt16.v x | TD_Base TUInt32 -> UInt32.v x | TD_Base TUInt64 -> UInt64.v x | TD_Buffer src bt _ -> buffer_addr_is...
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 138, "start_col": 0, "start_line": 121 }
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", ...
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Vale.Interop.Base.arg -> s: Vale.X64.State.vale_state -> Prims.GTot Vale.X64.Memory.nat64
Prims.GTot
[ "sometrivial" ]
[]
[ "Vale.Interop.Base.arg", "Vale.X64.State.vale_state", "Vale.Interop.Base.td", "Vale.Interop.Base.td_as_type", "FStar.UInt8.v", "FStar.UInt16.v", "FStar.UInt32.v", "FStar.UInt64.v", "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.buffer_qualifiers", "Vale.X64.Memory.buffer_addr", "Vale.X64...
[]
false
false
false
false
false
let arg_as_nat64 (a: arg) (s: VS.vale_state) : GTot ME.nat64 =
let (| tag , x |) = a in let open ME in match tag with | TD_Base TUInt8 -> UInt8.v x | TD_Base TUInt16 -> UInt16.v x | TD_Base TUInt32 -> UInt32.v x | TD_Base TUInt64 -> UInt64.v x | TD_Buffer src bt _ -> buffer_addr_is_nat64 (as_vale_buffer #src #bt x) s; ME.buffer_addr (as_vale_buffer #src #bt x) (ME.get_vale_hea...
false
OPLSS2021.NDS.fst
OPLSS2021.NDS.tape
val tape : Type0
let tape = nat -> bool
{ "file_name": "examples/oplss2021/OPLSS2021.NDS.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 22, "end_line": 21, "start_col": 0, "start_line": 21 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "OPLSS2021.NDS.fst" }
[ { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.bool" ]
[]
false
false
false
true
true
let tape =
nat -> bool
false
OPLSS2021.NDS.fst
OPLSS2021.NDS.return
val return (a: Type) (x: a) (s: _) : nds a s
val return (a: Type) (x: a) (s: _) : nds a s
let return (a:Type) (x:a) s : nds a s = fun t n s -> x, s, n
{ "file_name": "examples/oplss2021/OPLSS2021.NDS.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 24, "end_line": 31, "start_col": 0, "start_line": 29 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "OPLSS2021.NDS.fst" }
[ { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> x: a -> s: Type0 -> OPLSS2021.NDS.nds a s
Prims.Tot
[ "total" ]
[]
[ "OPLSS2021.NDS.tape", "Prims.nat", "FStar.Pervasives.Native.Mktuple3", "FStar.Pervasives.Native.tuple3", "OPLSS2021.NDS.nds" ]
[]
false
false
false
true
false
let return (a: Type) (x: a) s : nds a s =
fun t n s -> x, s, n
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.uint8
val uint8 : Type0
let uint8 = Lib.IntTypes.uint8
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 22, "start_col": 0, "start_line": 22 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": false, "full_module": "Hacl.Streaming.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint8" ]
[]
false
false
false
true
true
let uint8 =
Lib.IntTypes.uint8
false
OPLSS2021.NDS.fst
OPLSS2021.NDS.bind
val bind (a b s: _) (f: nds a s) (g: (a -> nds b s)) : nds b s
val bind (a b s: _) (f: nds a s) (g: (a -> nds b s)) : nds b s
let bind a b s (f:nds a s) (g:a -> nds b s) : nds b s = fun t n s -> let x, s', n' = f t n s in g x t n' s'
{ "file_name": "examples/oplss2021/OPLSS2021.NDS.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 37, "start_col": 0, "start_line": 33 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "OPLSS2021.NDS.fst" }
[ { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> s: Type0 -> f: OPLSS2021.NDS.nds a s -> g: (_: a -> OPLSS2021.NDS.nds b s) -> OPLSS2021.NDS.nds b s
Prims.Tot
[ "total" ]
[]
[ "OPLSS2021.NDS.nds", "OPLSS2021.NDS.tape", "Prims.nat", "FStar.Pervasives.Native.tuple3" ]
[]
false
false
false
true
false
let bind a b s (f: nds a s) (g: (a -> nds b s)) : nds b s =
fun t n s -> let x, s', n' = f t n s in g x t n' s'
false
OPLSS2021.NDS.fst
OPLSS2021.NDS.put
val put (#s: _) (x: s) : NDS unit s
val put (#s: _) (x: s) : NDS unit s
let put #s (x:s) : NDS unit s = NDS?.reflect (fun t n _ -> (), x, n)
{ "file_name": "examples/oplss2021/OPLSS2021.NDS.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 54, "start_col": 0, "start_line": 52 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "OPLSS2021.NDS.fst" }
[ { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: s -> OPLSS2021.NDS.NDS Prims.unit
OPLSS2021.NDS.NDS
[]
[]
[ "OPLSS2021.NDS.tape", "Prims.nat", "FStar.Pervasives.Native.Mktuple3", "Prims.unit", "FStar.Pervasives.Native.tuple3" ]
[]
false
true
false
false
false
let put #s (x: s) : NDS unit s =
NDS?.reflect (fun t n _ -> (), x, n)
false
OPLSS2021.NDS.fst
OPLSS2021.NDS.nds
val nds : a: Type -> s: Type0 -> Type
let nds (a:Type) (s:Type0) = tape -> nat -> s -> a & s & nat
{ "file_name": "examples/oplss2021/OPLSS2021.NDS.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 27, "start_col": 0, "start_line": 26 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "OPLSS2021.NDS.fst" }
[ { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> s: Type0 -> Type
Prims.Tot
[ "total" ]
[]
[ "OPLSS2021.NDS.tape", "Prims.nat", "FStar.Pervasives.Native.tuple3" ]
[]
false
false
false
true
true
let nds (a: Type) (s: Type0) =
tape -> nat -> s -> a & s & nat
false
OPLSS2021.NDS.fst
OPLSS2021.NDS.get
val get: #s: _ -> Prims.unit -> NDS s s
val get: #s: _ -> Prims.unit -> NDS s s
let get #s () : NDS s s = NDS?.reflect (fun t n s -> s, s, n)
{ "file_name": "examples/oplss2021/OPLSS2021.NDS.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 49, "start_col": 0, "start_line": 47 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "OPLSS2021.NDS.fst" }
[ { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> OPLSS2021.NDS.NDS s
OPLSS2021.NDS.NDS
[]
[]
[ "Prims.unit", "OPLSS2021.NDS.tape", "Prims.nat", "FStar.Pervasives.Native.Mktuple3", "FStar.Pervasives.Native.tuple3" ]
[]
false
true
false
false
false
let get #s () : NDS s s =
NDS?.reflect (fun t n s -> s, s, n)
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.uint32
val uint32 : Type0
let uint32 = Lib.IntTypes.uint32
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 25, "start_col": 0, "start_line": 25 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": false, "full_module": "Hacl.Streaming.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint32" ]
[]
false
false
false
true
true
let uint32 =
Lib.IntTypes.uint32
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.uint64
val uint64 : Type0
let uint64 = Lib.IntTypes.uint64
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 28, "start_col": 0, "start_line": 28 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": false, "full_module": "Hacl.Streaming.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint64" ]
[]
false
false
false
true
true
let uint64 =
Lib.IntTypes.uint64
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.alg
val alg : Type0
let alg = keccak_alg
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 48, "start_col": 0, "start_line": 48 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.keccak_alg" ]
[]
false
false
false
true
true
let alg =
keccak_alg
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.singleton
val singleton : x: t -> Type
let singleton #t (x: t) = y:t { y == x }
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 81, "start_col": 0, "start_line": 81 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: t -> Type
Prims.Tot
[ "total" ]
[]
[ "Prims.eq2" ]
[]
false
false
false
true
true
let singleton #t (x: t) =
y: t{y == x}
false
OPLSS2021.NDS.fst
OPLSS2021.NDS.sample
val sample: #s: _ -> Prims.unit -> NDS bool s
val sample: #s: _ -> Prims.unit -> NDS bool s
let sample #s () : NDS bool s = NDS?.reflect (fun t n s -> t n, s, n + 1)
{ "file_name": "examples/oplss2021/OPLSS2021.NDS.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 45, "end_line": 59, "start_col": 0, "start_line": 57 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "OPLSS2021.NDS.fst" }
[ { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> OPLSS2021.NDS.NDS Prims.bool
OPLSS2021.NDS.NDS
[]
[]
[ "Prims.unit", "OPLSS2021.NDS.tape", "Prims.nat", "FStar.Pervasives.Native.Mktuple3", "Prims.bool", "Prims.op_Addition", "FStar.Pervasives.Native.tuple3" ]
[]
false
true
false
false
false
let sample #s () : NDS bool s =
NDS?.reflect (fun t n s -> t n, s, n + 1)
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.sha3_state
val sha3_state : a: _ -> Type
let sha3_state a = singleton a & b:B.buffer uint64 { B.len b == 25ul }
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 190, "start_col": 0, "start_line": 190 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: _ -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple2", "Hacl.Streaming.Keccak.singleton", "LowStar.Buffer.buffer", "Hacl.Streaming.Keccak.uint64", "Prims.eq2", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.len", "LowStar.Buffer.trivial_preorder", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let sha3_state a =
singleton a & b: B.buffer uint64 {B.len b == 25ul}
false
OPLSS2021.NDS.fst
OPLSS2021.NDS.lift_pure_nds
val lift_pure_nds (a: _) (wp: pure_wp a) (s: _) (f: (unit -> PURE a wp)) : Pure (nds a s) (requires wp (fun _ -> True)) (ensures fun _ -> True)
val lift_pure_nds (a: _) (wp: pure_wp a) (s: _) (f: (unit -> PURE a wp)) : Pure (nds a s) (requires wp (fun _ -> True)) (ensures fun _ -> True)
let lift_pure_nds a (wp:pure_wp a) s (f : unit -> PURE a wp) : Pure (nds a s) (requires wp (fun _ -> True)) (ensures fun _ -> True) = fun t n s -> f (), s, n
{ "file_name": "examples/oplss2021/OPLSS2021.NDS.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 27, "end_line": 65, "start_col": 0, "start_line": 61 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "OPLSS2021.NDS.fst" }
[ { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "OPLSS2021", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> wp: Prims.pure_wp a -> s: Type0 -> f: (_: Prims.unit -> Prims.PURE a) -> Prims.Pure (OPLSS2021.NDS.nds a s)
Prims.Pure
[]
[]
[ "Prims.pure_wp", "Prims.unit", "OPLSS2021.NDS.tape", "Prims.nat", "FStar.Pervasives.Native.Mktuple3", "FStar.Pervasives.Native.tuple3", "OPLSS2021.NDS.nds", "Prims.l_True" ]
[]
false
false
false
false
false
let lift_pure_nds a (wp: pure_wp a) s (f: (unit -> PURE a wp)) : Pure (nds a s) (requires wp (fun _ -> True)) (ensures fun _ -> True) =
fun t n s -> f (), s, n
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.hash_buf
val hash_buf : Type0
let hash_buf = hash_alg & B.buffer uint64
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 84, "start_col": 0, "start_line": 84 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple2", "Spec.Hash.Definitions.hash_alg", "LowStar.Buffer.buffer", "Hacl.Streaming.Keccak.uint64" ]
[]
false
false
false
true
true
let hash_buf =
hash_alg & B.buffer uint64
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.hash_buf2
val hash_buf2 : Type0
let hash_buf2 = hash_buf & hash_buf
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 85, "start_col": 0, "start_line": 85 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple2", "Hacl.Streaming.Keccak.hash_buf" ]
[]
false
false
false
true
true
let hash_buf2 =
hash_buf & hash_buf
false
Lib.Buffer.fsti
Lib.Buffer.gbuffer
val gbuffer : a: Type0 -> Type0
let gbuffer (a:Type0) = c:cbuffer a{CB.qual_of c == CB.IMMUTABLE}
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 46, "start_col": 7, "start_line": 46 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.cbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "LowStar.ConstBuffer.IMMUTABLE" ]
[]
false
false
false
true
true
let gbuffer (a: Type0) =
c: cbuffer a {CB.qual_of c == CB.IMMUTABLE}
false
Lib.Buffer.fsti
Lib.Buffer.buffer
val buffer : a: Type0 -> Type0
let buffer (a:Type0) = buffer_t MUT a
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 37, "start_col": 7, "start_line": 37 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT" ]
[]
false
false
false
true
true
let buffer (a: Type0) =
buffer_t MUT a
false
Lib.Buffer.fsti
Lib.Buffer.ilbuffer
val ilbuffer : a: Type0 -> len: Lib.IntTypes.size_t -> Type0
let ilbuffer (a:Type0) (len:size_t) = lbuffer_t IMMUT a len
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 73, "start_col": 7, "start_line": 73 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Lib.Buffer.IMMUT" ]
[]
false
false
false
true
true
let ilbuffer (a: Type0) (len: size_t) =
lbuffer_t IMMUT a len
false
Lib.Buffer.fsti
Lib.Buffer.ibuffer
val ibuffer : a: Type0 -> Type0
let ibuffer (a:Type0) = buffer_t IMMUT a
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 40, "start_col": 7, "start_line": 40 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.IMMUT" ]
[]
false
false
false
true
true
let ibuffer (a: Type0) =
buffer_t IMMUT a
false
Lib.Buffer.fsti
Lib.Buffer.cbuffer
val cbuffer : a: Type0 -> Type0
let cbuffer (a:Type0) = buffer_t CONST a
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 43, "start_col": 7, "start_line": 43 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.CONST" ]
[]
false
false
false
true
true
let cbuffer (a: Type0) =
buffer_t CONST a
false
Lib.Buffer.fsti
Lib.Buffer.clbuffer
val clbuffer : a: Type0 -> len: Lib.IntTypes.size_t -> Type0
let clbuffer (a:Type0) (len:size_t) = lbuffer_t CONST a len
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 74, "start_col": 7, "start_line": 74 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Lib.Buffer.CONST" ]
[]
false
false
false
true
true
let clbuffer (a: Type0) (len: size_t) =
lbuffer_t CONST a len
false
Lib.Buffer.fsti
Lib.Buffer.lbuffer
val lbuffer : a: Type0 -> len: Lib.IntTypes.size_t -> Type0
let lbuffer (a:Type0) (len:size_t) = lbuffer_t MUT a len
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 72, "start_col": 7, "start_line": 72 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT" ]
[]
false
false
false
true
true
let lbuffer (a: Type0) (len: size_t) =
lbuffer_t MUT a len
false
Lib.Buffer.fsti
Lib.Buffer.union
val union (l1 l2: B.loc) : GTot B.loc
val union (l1 l2: B.loc) : GTot B.loc
let union (l1:B.loc) (l2:B.loc) : GTot B.loc = B.loc_union l1 l2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 64, "end_line": 139, "start_col": 0, "start_line": 139 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: LowStar.Monotonic.Buffer.loc -> l2: LowStar.Monotonic.Buffer.loc -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "LowStar.Monotonic.Buffer.loc", "LowStar.Monotonic.Buffer.loc_union" ]
[]
false
false
false
false
false
let union (l1 l2: B.loc) : GTot B.loc =
B.loc_union l1 l2
false
Lib.Buffer.fsti
Lib.Buffer.modifies
val modifies : s: LowStar.Monotonic.Buffer.loc -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
let modifies (s:B.loc) (h1 h2:HS.mem) = B.modifies s h1 h2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 143, "start_col": 0, "start_line": 143 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowStar.Monotonic.Buffer.loc -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowStar.Monotonic.Buffer.loc", "FStar.Monotonic.HyperStack.mem", "LowStar.Monotonic.Buffer.modifies" ]
[]
false
false
false
true
true
let modifies (s: B.loc) (h1 h2: HS.mem) =
B.modifies s h1 h2
false
Lib.Buffer.fsti
Lib.Buffer.disjoint
val disjoint : b1: Lib.Buffer.buffer_t t1 a1 -> b2: Lib.Buffer.buffer_t t2 a2 -> Type0
let disjoint (#t1 #t2:buftype) (#a1 #a2:Type0) (b1:buffer_t t1 a1) (b2:buffer_t t2 a2) = B.loc_disjoint (loc b1) (loc b2)
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 152, "start_col": 0, "start_line": 151 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b1: Lib.Buffer.buffer_t t1 a1 -> b2: Lib.Buffer.buffer_t t2 a2 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.loc_disjoint", "Lib.Buffer.loc" ]
[]
false
false
false
false
true
let disjoint (#t1 #t2: buftype) (#a1 #a2: Type0) (b1: buffer_t t1 a1) (b2: buffer_t t2 a2) =
B.loc_disjoint (loc b1) (loc b2)
false
Lib.Buffer.fsti
Lib.Buffer.modifies1
val modifies1 : b: Lib.Buffer.buffer_t Lib.Buffer.MUT a -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
let modifies1 (#a:Type0) (b:buffer_t MUT a) (h1 h2:HS.mem) = modifies (loc b) h1 h2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 176, "start_col": 0, "start_line": 175 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t Lib.Buffer.MUT a -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.loc" ]
[]
false
false
false
true
true
let modifies1 (#a: Type0) (b: buffer_t MUT a) (h1 h2: HS.mem) =
modifies (loc b) h1 h2
false
Lib.Buffer.fsti
Lib.Buffer.modifies0
val modifies0 : h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
let modifies0 (h1 h2:HS.mem) = modifies (B.loc_none) h1 h2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 172, "start_col": 0, "start_line": 171 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "LowStar.Monotonic.Buffer.loc_none" ]
[]
false
false
false
true
true
let modifies0 (h1 h2: HS.mem) =
modifies (B.loc_none) h1 h2
false
Lib.Buffer.fsti
Lib.Buffer.lbuffer_t
val lbuffer_t : t: Lib.Buffer.buftype -> a: Type0 -> len: Lib.IntTypes.size_t -> Type0
let lbuffer_t (t:buftype) (a:Type0) (len:size_t) = b:buffer_t t a{length #t #a b == v len}
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 70, "start_col": 0, "start_line": 69 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Lib.Buffer.buftype -> a: Type0 -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.buffer_t", "Prims.eq2", "Prims.int", "Prims.l_or", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Lib.Buffer.length", "Lib.IntTypes.v", "Lib.IntTypes.PUB" ]
[]
false
false
false
true
true
let lbuffer_t (t: buftype) (a: Type0) (len: size_t) =
b: buffer_t t a {length #t #a b == v len}
false
Lib.Buffer.fsti
Lib.Buffer.modifies2
val modifies2 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
let modifies2 (#a0:Type0) (#a1:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1) h1 h2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 181, "start_col": 0, "start_line": 179 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
false
false
false
true
true
let modifies2 (#a0 #a1: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (h1 h2: HS.mem) =
modifies (loc b0 |+| loc b1) h1 h2
false
Lib.Buffer.fsti
Lib.Buffer.modifies3
val modifies3 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
let modifies3 (#a0:Type0) (#a1:Type0) (#a2:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (b2:buffer_t MUT a2) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1 |+| loc b2) h1 h2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 186, "start_col": 0, "start_line": 184 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
false
false
false
true
true
let modifies3 (#a0 #a1 #a2: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (b2: buffer_t MUT a2) (h1 h2: HS.mem) =
modifies (loc b0 |+| loc b1 |+| loc b2) h1 h2
false
Lib.Buffer.fsti
Lib.Buffer.buffer_t
val buffer_t : t: Lib.Buffer.buftype -> a: Type0 -> Type0
let buffer_t (t:buftype) (a:Type0) = match t with | IMMUT -> IB.ibuffer a | MUT -> B.buffer a | CONST -> CB.const_buffer a
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 34, "start_col": 0, "start_line": 30 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Lib.Buffer.buftype -> a: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buftype", "LowStar.ImmutableBuffer.ibuffer", "LowStar.Buffer.buffer", "LowStar.ConstBuffer.const_buffer" ]
[]
false
false
false
true
true
let buffer_t (t: buftype) (a: Type0) =
match t with | IMMUT -> IB.ibuffer a | MUT -> B.buffer a | CONST -> CB.const_buffer a
false
Lib.Buffer.fsti
Lib.Buffer.modifies4
val modifies4 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
let modifies4 (#a0:Type0) (#a1:Type0) (#a2:Type0) (#a3:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (b2:buffer_t MUT a2) (b3:buffer_t MUT a3) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3) h1 h2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 192, "start_col": 0, "start_line": 189 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
false
false
false
true
true
let modifies4 (#a0 #a1 #a2 #a3: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (b2: buffer_t MUT a2) (b3: buffer_t MUT a3) (h1 h2: HS.mem) =
modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3) h1 h2
false
Lib.Buffer.fsti
Lib.Buffer.modifies5
val modifies5 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> b4: Lib.Buffer.buffer_t Lib.Buffer.MUT a4 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monoton...
let modifies5 (#a0:Type0) (#a1:Type0) (#a2:Type0) (#a3:Type0) (#a4:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (b2:buffer_t MUT a2) (b3:buffer_t MUT a3) (b4:buffer_t MUT a4) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3 |+| loc b4) h1 h2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 198, "start_col": 0, "start_line": 195 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> b4: Lib.Buffer.buffer_t Lib.Buffer.MUT a4 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperSta...
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
false
false
false
true
true
let modifies5 (#a0 #a1 #a2 #a3 #a4: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (b2: buffer_t MUT a2) (b3: buffer_t MUT a3) (b4: buffer_t MUT a4) (h1 h2: HS.mem) =
modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3 |+| loc b4) h1 h2
false
Lib.Buffer.fsti
Lib.Buffer.modifies6
val modifies6 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> b4: Lib.Buffer.buffer_t Lib.Buffer.MUT a4 -> b5: Lib.Buffer.buffer_t Lib.Buffer.MUT a5 -> h1: FStar....
let modifies6 (#a0:Type0) (#a1:Type0) (#a2:Type0) (#a3:Type0) (#a4:Type0) (#a5:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (b2:buffer_t MUT a2) (b3:buffer_t MUT a3) (b4:buffer_t MUT a4) (b5:buffer_t MUT a5) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3 |+| loc b4 |+| loc b5) h1 h2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 80, "end_line": 204, "start_col": 0, "start_line": 201 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> b4: Lib.Buffer.buffer_t Lib.Buffer.MUT a4 -> b5: Lib.Buffer.buffer_t Lib.Buffer.MUT a5 -> h1: FStar.Monotonic.H...
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
false
false
false
true
true
let modifies6 (#a0 #a1 #a2 #a3 #a4 #a5: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (b2: buffer_t MUT a2) (b3: buffer_t MUT a3) (b4: buffer_t MUT a4) (b5: buffer_t MUT a5) (h1 h2: HS.mem) =
modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3 |+| loc b4 |+| loc b5) h1 h2
false
Lib.Buffer.fsti
Lib.Buffer.const_to_ilbuffer
val const_to_ilbuffer (#a #len: _) (b: glbuffer a len) : ilbuffer a len
val const_to_ilbuffer (#a #len: _) (b: glbuffer a len) : ilbuffer a len
let const_to_ilbuffer #a #len (b:glbuffer a len) : ilbuffer a len = const_to_ibuffer #a b
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 82, "start_col": 0, "start_line": 81 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.glbuffer a len -> Lib.Buffer.ilbuffer a len
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.glbuffer", "Lib.Buffer.const_to_ibuffer", "Lib.Buffer.ilbuffer" ]
[]
false
false
false
false
false
let const_to_ilbuffer #a #len (b: glbuffer a len) : ilbuffer a len =
const_to_ibuffer #a b
false
Lib.Buffer.fsti
Lib.Buffer.glbuffer
val glbuffer : a: Type0 -> len: Lib.IntTypes.size_t -> Type0
let glbuffer (a:Type0) (len:size_t) = c:clbuffer a len{CB.qual_of #a c == CB.IMMUTABLE}
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 94, "end_line": 75, "start_col": 7, "start_line": 75 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.clbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "LowStar.ConstBuffer.IMMUTABLE" ]
[]
false
false
false
true
true
let glbuffer (a: Type0) (len: size_t) =
c: clbuffer a len {CB.qual_of #a c == CB.IMMUTABLE}
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.get_alg
val get_alg : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> s: Hacl.Streaming.Functor.state (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit) -> FStar.HyperStack.ST.Stack Hacl.St...
let get_alg (a: G.erased alg) = F.index_of_state (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 193, "start_col": 0, "start_line": 192 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> s: Hacl.Streaming.Functor.state (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit) -> FStar.HyperStack.ST.Stack Hacl.Streaming.K...
FStar.HyperStack.ST.Stack
[]
[]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.index_of_state", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.state", "FStar.Monotonic.HyperStack.mem", "Hacl.Streaming.Functor.invaria...
[]
false
true
false
false
false
let get_alg (a: G.erased alg) =
F.index_of_state (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
false
Lib.Buffer.fsti
Lib.Buffer.to_const
val to_const (#a #t: _) (b: buffer_t t a) : r: cbuffer a {length r == length b}
val to_const (#a #t: _) (b: buffer_t t a) : r: cbuffer a {length r == length b}
let to_const #a #t (b:buffer_t t a) : r:cbuffer a {length r == length b}= match t with | MUT -> CB.of_buffer (b <: buffer a) | IMMUT -> CB.of_ibuffer (b <: ibuffer a) | CONST -> b <: cbuffer a
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 59, "start_col": 0, "start_line": 55 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t t a -> r: Lib.Buffer.cbuffer a {Lib.Buffer.length r == Lib.Buffer.length b}
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.ConstBuffer.of_buffer", "Lib.Buffer.buffer", "LowStar.ConstBuffer.of_ibuffer", "Lib.Buffer.ibuffer", "Lib.Buffer.cbuffer", "Prims.eq2", "Prims.nat", "Lib.Buffer.length", "Lib.Buffer.CONST" ]
[]
false
false
false
false
false
let to_const #a #t (b: buffer_t t a) : r: cbuffer a {length r == length b} =
match t with | MUT -> CB.of_buffer (b <: buffer a) | IMMUT -> CB.of_ibuffer (b <: ibuffer a) | CONST -> b <: cbuffer a
false
Lib.Buffer.fsti
Lib.Buffer.g_is_null
val g_is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot bool
val g_is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot bool
let g_is_null (#t : buftype) (#a : Type0) (b : buffer_t t a) : GTot bool = match t with | IMMUT -> IB.g_is_null (b <: ibuffer a) | MUT -> B.g_is_null (b <: buffer a) | CONST -> B.g_is_null (CB.as_mbuf (b <: cbuffer a))
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 94, "start_col": 0, "start_line": 90 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t t a -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.g_is_null", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "LowStar.ConstBuffer.as_mbuf...
[]
false
false
false
false
false
let g_is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot bool =
match t with | IMMUT -> IB.g_is_null (b <: ibuffer a) | MUT -> B.g_is_null (b <: buffer a) | CONST -> B.g_is_null (CB.as_mbuf (b <: cbuffer a))
false
Lib.Buffer.fsti
Lib.Buffer.op_Array_Access
val op_Array_Access : b: Lib.Buffer.lbuffer_t t a len -> i: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v i < Lib.IntTypes.v len} -> FStar.HyperStack.ST.Stack a
let op_Array_Access #t #a #len = index #t #a #len
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 308, "start_col": 0, "start_line": 308 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.lbuffer_t t a len -> i: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v i < Lib.IntTypes.v len} -> FStar.HyperStack.ST.Stack a
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Buffer.index", "Lib.Buffer.lbuffer_t", "Lib.IntTypes.int_t", "Prims.op_LessThan", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.live", "Prims.l_a...
[]
false
true
false
false
false
let ( .() ) #t #a #len =
index #t #a #len
false
Lib.Buffer.fsti
Lib.Buffer.alloc_post_mem_common
val alloc_post_mem_common : b: LowStar.Monotonic.Buffer.mbuffer a rrel rel -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.seq a -> Prims.logical
let alloc_post_mem_common (#a:Type0) (#rrel #rel:LMB.srel a) (b:LMB.mbuffer a rrel rel) (h0 h1:HS.mem) (s:Seq.seq a) = LMB.live h1 b /\ B.loc_not_in (B.loc_addr_of_buffer b) h0 /\ Map.domain (HS.get_hmap h1) `Set.equal` Map.domain (HS.get_hmap h0) /\ (HS.get_tip h1) == (HS.get_tip h0) /\ modifies LM...
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 348, "start_col": 0, "start_line": 341 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: LowStar.Monotonic.Buffer.mbuffer a rrel rel -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.seq a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "LowStar.Monotonic.Buffer.srel", "LowStar.Monotonic.Buffer.mbuffer", "FStar.Monotonic.HyperStack.mem", "Lib.Sequence.seq", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "LowStar.Monotonic.Buffer.loc_not_in", "LowStar.Monotonic.Buffer.loc_addr_of_buffer", "FStar.Set.equal", "FStar.Monotonic.Hyper...
[]
false
false
false
false
true
let alloc_post_mem_common (#a: Type0) (#rrel #rel: LMB.srel a) (b: LMB.mbuffer a rrel rel) (h0 h1: HS.mem) (s: Seq.seq a) =
LMB.live h1 b /\ B.loc_not_in (B.loc_addr_of_buffer b) h0 /\ (Map.domain (HS.get_hmap h1)) `Set.equal` (Map.domain (HS.get_hmap h0)) /\ (HS.get_tip h1) == (HS.get_tip h0) /\ modifies LMB.loc_none h0 h1 /\ LMB.as_seq h1 b == s
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.coerce
val coerce (#b #a: Type) (x: a{a == b}) : b
val coerce (#b #a: Type) (x: a{a == b}) : b
let coerce (#b #a:Type) (x:a{a == b}) : b = x
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 50, "start_col": 7, "start_line": 50 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: a{a == b} -> b
Prims.Tot
[ "total" ]
[]
[ "Prims.eq2" ]
[]
false
false
false
false
false
let coerce (#b #a: Type) (x: a{a == b}) : b =
x
false
Lib.Buffer.fsti
Lib.Buffer.length
val length : b: Lib.Buffer.buffer_t t a -> Prims.GTot Prims.nat
let length (#t:buftype) (#a:Type0) (b:buffer_t t a) = match t with | MUT -> B.length (b <: buffer a) | IMMUT -> IB.length (b <: ibuffer a) | CONST -> CB.length (b <: cbuffer a)
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 52, "start_col": 0, "start_line": 48 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t t a -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.ConstBuffer.length", "Lib.Buffer.cbuffer", "Prims.nat" ]
[]
false
false
false
false
false
let length (#t: buftype) (#a: Type0) (b: buffer_t t a) =
match t with | MUT -> B.length (b <: buffer a) | IMMUT -> IB.length (b <: ibuffer a) | CONST -> CB.length (b <: cbuffer a)
false
Lib.Buffer.fsti
Lib.Buffer.loc_addr_of_buffer
val loc_addr_of_buffer (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc
val loc_addr_of_buffer (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc
let loc_addr_of_buffer (#t : buftype) (#a : Type0) (b : buffer_t t a) : GTot B.loc = match t with | IMMUT -> IB.loc_addr_of_buffer (b <: ibuffer a) | MUT -> B.loc_addr_of_buffer (b <: buffer a) | CONST -> B.loc_addr_of_buffer (CB.as_mbuf (b <: cbuffer a))
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 118, "start_col": 0, "start_line": 114 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t t a -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.loc_addr_of_buffer", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "LowStar.ConstBuffe...
[]
false
false
false
false
false
let loc_addr_of_buffer (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc =
match t with | IMMUT -> IB.loc_addr_of_buffer (b <: ibuffer a) | MUT -> B.loc_addr_of_buffer (b <: buffer a) | CONST -> B.loc_addr_of_buffer (CB.as_mbuf (b <: cbuffer a))
false
Lib.Buffer.fsti
Lib.Buffer.op_Brack_Lens_Access
val op_Brack_Lens_Access : h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.lbuffer_t t a len -> Prims.GTot (Lib.Sequence.lseq a (Lib.IntTypes.v len))
let op_Brack_Lens_Access #t #a #len = as_seq #t #a #len
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 55, "end_line": 313, "start_col": 0, "start_line": 313 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.lbuffer_t t a len -> Prims.GTot (Lib.Sequence.lseq a (Lib.IntTypes.v len))
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.as_seq", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.lbuffer_t", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB" ]
[]
false
false
false
false
false
let ( .[||] ) #t #a #len =
as_seq #t #a #len
false
Lib.Buffer.fsti
Lib.Buffer.const_to_ibuffer
val const_to_ibuffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.IMMUTABLE}) : r: ibuffer a {length r == length b}
val const_to_ibuffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.IMMUTABLE}) : r: ibuffer a {length r == length b}
let const_to_ibuffer #a (b:cbuffer a{CB.qual_of b == CB.IMMUTABLE}) : r:ibuffer a{length r == length b} = CB.to_ibuffer b
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 65, "start_col": 0, "start_line": 64 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.cbuffer a {LowStar.ConstBuffer.qual_of b == LowStar.ConstBuffer.IMMUTABLE} -> r: Lib.Buffer.ibuffer a {Lib.Buffer.length r == Lib.Buffer.length b}
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.cbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "LowStar.ConstBuffer.IMMUTABLE", "LowStar.ConstBuffer.to_ibuffer", "Lib.Buffer.ibuffer", "Prims.nat", "Lib.Buffer.length", "Lib.Buffer.IMMUT", "Lib.Buffer.CONST" ]
[]
false
false
false
false
false
let const_to_ibuffer #a (b: cbuffer a {CB.qual_of b == CB.IMMUTABLE}) : r: ibuffer a {length r == length b} =
CB.to_ibuffer b
false
Lib.Buffer.fsti
Lib.Buffer.const_to_buffer
val const_to_buffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.MUTABLE}) : r: buffer a {length r == length b}
val const_to_buffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.MUTABLE}) : r: buffer a {length r == length b}
let const_to_buffer #a (b:cbuffer a{CB.qual_of b == CB.MUTABLE}) : r:buffer a{length r == length b} = CB.to_buffer b
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 62, "start_col": 0, "start_line": 61 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.cbuffer a {LowStar.ConstBuffer.qual_of b == LowStar.ConstBuffer.MUTABLE} -> r: Lib.Buffer.buffer a {Lib.Buffer.length r == Lib.Buffer.length b}
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.cbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "LowStar.ConstBuffer.MUTABLE", "LowStar.ConstBuffer.to_buffer", "Lib.Buffer.buffer", "Prims.nat", "Lib.Buffer.length", "Lib.Buffer.MUT", "Lib.Buffer.CONST" ]
[]
false
false
false
false
false
let const_to_buffer #a (b: cbuffer a {CB.qual_of b == CB.MUTABLE}) : r: buffer a {length r == length b} =
CB.to_buffer b
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.free
val free : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.free_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
let free (a: G.erased alg) = F.free (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 199, "start_col": 0, "start_line": 198 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.free_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.free", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.free_st" ]
[]
false
false
false
false
false
let free (a: G.erased alg) =
F.free (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
false
Lib.Buffer.fsti
Lib.Buffer.op_Array_Assignment
val op_Array_Assignment : b: Lib.Buffer.lbuffer_t Lib.Buffer.MUT a len -> i: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v i < Lib.IntTypes.v len} -> x: a -> FStar.HyperStack.ST.Stack Prims.unit
let op_Array_Assignment #a #len = upd #a #len
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 304, "start_col": 0, "start_line": 304 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.lbuffer_t Lib.Buffer.MUT a len -> i: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v i < Lib.IntTypes.v len} -> x: a -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Buffer.upd", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int_t", "Prims.op_LessThan", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.live", ...
[]
false
true
false
false
false
let ( .()<- ) #a #len =
upd #a #len
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.update_multi_s
val update_multi_s : a: Hacl.Streaming.Keccak.alg -> acc: Spec.Hash.Definitions.words_state a -> prevlen: Prims.nat -> input: Spec.Hash.Definitions.bytes_blocks a -> Spec.Hash.Definitions.words_state a
let update_multi_s (a : alg) acc (prevlen : nat) input = Agile.update_multi a acc () input
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 54, "start_col": 0, "start_line": 53 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.Streaming.Keccak.alg -> acc: Spec.Hash.Definitions.words_state a -> prevlen: Prims.nat -> input: Spec.Hash.Definitions.bytes_blocks a -> Spec.Hash.Definitions.words_state a
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Keccak.alg", "Spec.Hash.Definitions.words_state", "Prims.nat", "Spec.Hash.Definitions.bytes_blocks", "Spec.Agile.Hash.update_multi" ]
[]
false
false
false
false
false
let update_multi_s (a: alg) acc (prevlen: nat) input =
Agile.update_multi a acc () input
false
Lib.Buffer.fsti
Lib.Buffer.null
val null (#t: buftype) (a: Type0) : buffer_t t a
val null (#t: buftype) (a: Type0) : buffer_t t a
let null (#t : buftype) (a : Type0) : buffer_t t a = match t with | IMMUT -> IB.inull #a | MUT -> B.null #a | CONST -> CB.null a
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 88, "start_col": 7, "start_line": 84 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Lib.Buffer.buffer_t t a
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buftype", "LowStar.ImmutableBuffer.inull", "LowStar.Buffer.null", "LowStar.ConstBuffer.null", "Lib.Buffer.buffer_t" ]
[]
false
false
false
false
false
let null (#t: buftype) (a: Type0) : buffer_t t a =
match t with | IMMUT -> IB.inull #a | MUT -> B.null #a | CONST -> CB.null a
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.malloc
val malloc : a: Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.malloc_st (Hacl.Streaming.Keccak.hacl_keccak (FStar.Ghost.hide a)) a (Hacl.Streaming.Keccak.sha3_state a) (FStar.Ghost.erased Prims.unit)
let malloc (a: alg) = F.malloc (hacl_keccak a) a (sha3_state a) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 59, "end_line": 196, "start_col": 0, "start_line": 195 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.malloc_st (Hacl.Streaming.Keccak.hacl_keccak (FStar.Ghost.hide a)) a (Hacl.Streaming.Keccak.sha3_state a) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.malloc", "Hacl.Streaming.Keccak.hacl_keccak", "FStar.Ghost.hide", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.erased", "Prims.unit", "Hacl.Streaming.Functor.malloc_st" ]
[]
false
false
false
false
false
let malloc (a: alg) =
F.malloc (hacl_keccak a) a (sha3_state a) (G.erased unit)
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.is_shake_
val is_shake_ : a: Spec.Hash.Definitions.hash_alg -> Prims.bool
let is_shake_ a = a = Shake128 || a = Shake256
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 118, "start_col": 0, "start_line": 118 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.hash_alg -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.op_BarBar", "Prims.op_Equality", "Spec.Hash.Definitions.Shake128", "Spec.Hash.Definitions.Shake256", "Prims.bool" ]
[]
false
false
false
true
false
let is_shake_ a =
a = Shake128 || a = Shake256
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.reset
val reset : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.reset_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.hide (FStar.Ghost.reveal a)) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
let reset (a: G.erased alg) = F.reset (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 205, "start_col": 0, "start_line": 204 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.reset_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.hide (FStar.Ghost.reveal a)) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.reset", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.reset_st", "FStar.Ghost.hide" ]
[]
false
false
false
false
false
let reset (a: G.erased alg) =
F.reset (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
false
Lib.Buffer.fsti
Lib.Buffer.loc
val loc (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc
val loc (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc
let loc (#t:buftype) (#a:Type0) (b:buffer_t t a) : GTot B.loc = match t with | MUT -> B.loc_buffer (b <: buffer a) | IMMUT -> B.loc_buffer (b <: ibuffer a) | CONST -> CB.loc_buffer (b <: cbuffer a)
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 112, "start_col": 0, "start_line": 108 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t t a -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.loc_buffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.ConstBuffer.loc_buffer", "Lib.Buffer.cbuffer", "LowStar.Monotonic.Buffer.loc" ]
[]
false
false
false
false
false
let loc (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc =
match t with | MUT -> B.loc_buffer (b <: buffer a) | IMMUT -> B.loc_buffer (b <: ibuffer a) | CONST -> CB.loc_buffer (b <: cbuffer a)
false
Lib.Buffer.fsti
Lib.Buffer.cpred
val cpred (#a: Type0) (s: Seq.seq a) : B.spred a
val cpred (#a: Type0) (s: Seq.seq a) : B.spred a
let cpred (#a:Type0) (s:Seq.seq a) : B.spred a = fun s1 -> FStar.Seq.equal s s1
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 380, "start_col": 0, "start_line": 380 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Lib.Sequence.seq a -> LowStar.Monotonic.Buffer.spred a
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.seq", "FStar.Seq.Base.seq", "FStar.Seq.Base.equal", "LowStar.Monotonic.Buffer.spred" ]
[]
false
false
false
true
false
let cpred (#a: Type0) (s: Seq.seq a) : B.spred a =
fun s1 -> FStar.Seq.equal s s1
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.update
val update : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.update_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
let update (a: G.erased alg) = F.update (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 208, "start_col": 0, "start_line": 207 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.update_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.update", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.update_st" ]
[]
false
false
false
false
false
let update (a: G.erased alg) =
F.update (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
false
Lib.Buffer.fsti
Lib.Buffer.freeable
val freeable (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot Type0
val freeable (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot Type0
let freeable (#t : buftype) (#a : Type0) (b : buffer_t t a) : GTot Type0 = match t with | IMMUT -> IB.freeable (b <: ibuffer a) | MUT -> B.freeable (b <: buffer a) | CONST -> B.freeable (CB.as_mbuf (b <: cbuffer a))
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 53, "end_line": 106, "start_col": 0, "start_line": 102 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t t a -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.freeable", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "LowStar.ConstBuffer.as_mbuf"...
[]
false
false
false
false
true
let freeable (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot Type0 =
match t with | IMMUT -> IB.freeable (b <: ibuffer a) | MUT -> B.freeable (b <: buffer a) | CONST -> B.freeable (CB.as_mbuf (b <: cbuffer a))
false
Lib.Buffer.fsti
Lib.Buffer.const_to_lbuffer
val const_to_lbuffer (#a #len: _) (b: clbuffer a len {CB.qual_of (b <: cbuffer a) == CB.MUTABLE}) : lbuffer a len
val const_to_lbuffer (#a #len: _) (b: clbuffer a len {CB.qual_of (b <: cbuffer a) == CB.MUTABLE}) : lbuffer a len
let const_to_lbuffer #a #len (b:clbuffer a len{CB.qual_of (b <: cbuffer a) == CB.MUTABLE}) : lbuffer a len = const_to_buffer #a b
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 79, "start_col": 0, "start_line": 77 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.clbuffer a len {LowStar.ConstBuffer.qual_of b == LowStar.ConstBuffer.MUTABLE} -> Lib.Buffer.lbuffer a len
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.clbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "Lib.Buffer.cbuffer", "LowStar.ConstBuffer.MUTABLE", "Lib.Buffer.const_to_buffer", "Lib.Buffer.lbuffer" ]
[]
false
false
false
false
false
let const_to_lbuffer #a #len (b: clbuffer a len {CB.qual_of (b <: cbuffer a) == CB.MUTABLE}) : lbuffer a len =
const_to_buffer #a b
false
Lib.Buffer.fsti
Lib.Buffer.get
val get (#t: buftype) (#a: Type0) (h: mem) (b: buffer_t t a) (i: nat{i < length b}) : GTot a
val get (#t: buftype) (#a: Type0) (h: mem) (b: buffer_t t a) (i: nat{i < length b}) : GTot a
let get (#t : buftype) (#a : Type0) (h : mem) (b : buffer_t t a) (i : nat{i < length b}) : GTot a = match t with | IMMUT -> IB.get h (b <: ibuffer a) i | MUT -> B.get h (b <: buffer a) i | CONST -> B.get h (CB.as_mbuf (b <: cbuffer a)) i
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 135, "start_col": 0, "start_line": 130 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.buffer_t t a -> i: Prims.nat{i < Lib.Buffer.length b} -> Prims.GTot a
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.buffer_t", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Lib.Buffer.length", "LowStar.Monotonic.Buffer.get", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer....
[]
false
false
false
false
false
let get (#t: buftype) (#a: Type0) (h: mem) (b: buffer_t t a) (i: nat{i < length b}) : GTot a =
match t with | IMMUT -> IB.get h (b <: ibuffer a) i | MUT -> B.get h (b <: buffer a) i | CONST -> B.get h (CB.as_mbuf (b <: cbuffer a)) i
false
Lib.Buffer.fsti
Lib.Buffer.mut_immut_disjoint
val mut_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t IMMUT t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h ib)) (ensures (disjoint b ib)) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B.live h ib)]
val mut_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t IMMUT t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h ib)) (ensures (disjoint b ib)) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B.live h ib)]
let mut_immut_disjoint #t #t' (b: buffer_t MUT t) (ib: buffer_t IMMUT t') (h: HS.mem): Lemma (requires (B.live h b /\ B.live h ib)) (ensures (disjoint b ib)) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B.live h ib)] = IB.buffer_immutable_buffer_disjoint b ib h
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 160, "start_col": 0, "start_line": 154 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t Lib.Buffer.MUT t -> ib: Lib.Buffer.buffer_t Lib.Buffer.IMMUT t' -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.live h b /\ LowStar.Monotonic.Buffer.live h ib) (ensures Lib.Buffer.disjoint b ib) [ SMTPat (L...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "Lib.Buffer.IMMUT", "FStar.Monotonic.HyperStack.mem", "LowStar.ImmutableBuffer.buffer_immutable_buffer_disjoint", "Prims.unit", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "LowStar.ImmutableBuffer.immutable_preorder", ...
[]
true
false
true
false
false
let mut_immut_disjoint #t #t' (b: buffer_t MUT t) (ib: buffer_t IMMUT t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h ib)) (ensures (disjoint b ib)) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B.live h ib)] =
IB.buffer_immutable_buffer_disjoint b ib h
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.copy
val copy : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.copy_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
let copy (a: G.erased alg) = F.copy (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 202, "start_col": 0, "start_line": 201 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.copy_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.copy", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.copy_st" ]
[]
false
false
false
false
false
let copy (a: G.erased alg) =
F.copy (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.state_t
val state_t : Type0
let state_t = F.state_s' (hacl_keccak SHA3_256) SHA3_256
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 56, "end_line": 188, "start_col": 0, "start_line": 188 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Functor.state_s'", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Keccak.hacl_keccak", "FStar.Ghost.hide", "Spec.Hash.Definitions.SHA3_256" ]
[]
false
false
false
true
true
let state_t =
F.state_s' (hacl_keccak SHA3_256) SHA3_256
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.digest_
val digest_ : a: Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.digest_st (Hacl.Streaming.Keccak.hacl_keccak (FStar.Ghost.hide a)) a (Hacl.Streaming.Keccak.sha3_state a) (FStar.Ghost.erased Prims.unit)
let digest_ (a: alg) = F.digest #alg (hacl_keccak a) a (sha3_state a) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 64, "end_line": 212, "start_col": 0, "start_line": 211 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.digest_st (Hacl.Streaming.Keccak.hacl_keccak (FStar.Ghost.hide a)) a (Hacl.Streaming.Keccak.sha3_state a) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.digest", "Hacl.Streaming.Keccak.hacl_keccak", "FStar.Ghost.hide", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.erased", "Prims.unit", "Hacl.Streaming.Functor.digest_st" ]
[]
false
false
false
false
false
let digest_ (a: alg) =
F.digest #alg (hacl_keccak a) a (sha3_state a) (G.erased unit)
false
Lib.Buffer.fsti
Lib.Buffer.mut_const_immut_disjoint
val mut_const_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t CONST t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h (CB.as_mbuf ib) /\ CB.qual_of #t' ib == CB.IMMUTABLE)) (ensures (B.loc_disjoint (loc b) (loc ib))) [ SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat...
val mut_const_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t CONST t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h (CB.as_mbuf ib) /\ CB.qual_of #t' ib == CB.IMMUTABLE)) (ensures (B.loc_disjoint (loc b) (loc ib))) [ SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat...
let mut_const_immut_disjoint #t #t' (b: buffer_t MUT t) (ib: buffer_t CONST t') (h: HS.mem): Lemma (requires (B.live h b /\ B.live h (CB.as_mbuf ib) /\ CB.qual_of #t' ib == CB.IMMUTABLE)) (ensures (B.loc_disjoint (loc b) (loc ib))) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B....
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 168, "start_col": 0, "start_line": 162 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t Lib.Buffer.MUT t -> ib: Lib.Buffer.buffer_t Lib.Buffer.CONST t' -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.live h b /\ LowStar.Monotonic.Buffer.live h (LowStar.ConstBuffer.as_mbuf ib) /\ LowStar.Co...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "Lib.Buffer.CONST", "FStar.Monotonic.HyperStack.mem", "LowStar.ImmutableBuffer.buffer_immutable_buffer_disjoint", "LowStar.ConstBuffer.as_mbuf", "Prims.unit", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "LowStar.Cons...
[]
true
false
true
false
false
let mut_const_immut_disjoint #t #t' (b: buffer_t MUT t) (ib: buffer_t CONST t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h (CB.as_mbuf ib) /\ CB.qual_of #t' ib == CB.IMMUTABLE)) (ensures (B.loc_disjoint (loc b) (loc ib))) [ SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.l...
IB.buffer_immutable_buffer_disjoint #t #t' b (CB.as_mbuf #t' ib) h
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.update_multi_associative
val update_multi_associative (a: alg) (acc: _) (prevlen1 prevlen2: nat) (input1 input2: S.seq uint8) : Lemma (requires (prevlen1 % U32.v (D.block_len a) = 0 /\ S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0 /\ prevlen2 = prevlen1 + S.length input1)...
val update_multi_associative (a: alg) (acc: _) (prevlen1 prevlen2: nat) (input1 input2: S.seq uint8) : Lemma (requires (prevlen1 % U32.v (D.block_len a) = 0 /\ S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0 /\ prevlen2 = prevlen1 + S.length input1)...
let update_multi_associative (a : alg) acc (prevlen1 prevlen2 : nat) (input1 input2 : S.seq uint8) : Lemma (requires ( prevlen1 % U32.v (D.block_len a) = 0 /\ S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0 /\ prevle...
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 77, "start_col": 0, "start_line": 63 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.Streaming.Keccak.alg -> acc: Spec.Hash.Definitions.words_state a -> prevlen1: Prims.nat -> prevlen2: Prims.nat -> input1: FStar.Seq.Base.seq Hacl.Streaming.Interface.uint8 -> input2: FStar.Seq.Base.seq Hacl.Streaming.Interface.uint8 -> FStar.Pervasives.Lemma (requires pr...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Streaming.Keccak.alg", "Spec.Hash.Definitions.words_state", "Prims.nat", "FStar.Seq.Base.seq", "Hacl.Streaming.Interface.uint8", "Spec.Hash.Lemmas.update_multi_associative", "Prims.unit", "Prims.l_and", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "FStar.UInt32.v"...
[]
true
false
true
false
false
let update_multi_associative (a: alg) acc (prevlen1: nat) (prevlen2: nat) (input1: S.seq uint8) (input2: S.seq uint8) : Lemma (requires (prevlen1 % U32.v (D.block_len a) = 0 /\ S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block...
Spec.Hash.Lemmas.update_multi_associative a acc input1 input2
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.update_multi_zero
val update_multi_zero (a: alg) (acc: _) (prevlen: nat) : Lemma (update_multi_s a acc prevlen S.empty == acc)
val update_multi_zero (a: alg) (acc: _) (prevlen: nat) : Lemma (update_multi_s a acc prevlen S.empty == acc)
let update_multi_zero (a : alg) acc (prevlen : nat) : Lemma(update_multi_s a acc prevlen S.empty == acc) = Spec.Hash.Lemmas.update_multi_zero a acc
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 95, "end_line": 58, "start_col": 0, "start_line": 57 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Hacl.Streaming.Keccak.alg -> acc: Spec.Hash.Definitions.words_state a -> prevlen: Prims.nat -> FStar.Pervasives.Lemma (ensures Hacl.Streaming.Keccak.update_multi_s a acc prevlen FStar.Seq.Base.empty == acc)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Streaming.Keccak.alg", "Spec.Hash.Definitions.words_state", "Prims.nat", "Spec.Hash.Lemmas.update_multi_zero", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "Hacl.Streaming.Keccak.update_multi_s", "FStar.Seq.Base.empty", "Lib.IntTypes.uint8", "Prims.Nil", "FStar.Pervasives...
[]
true
false
true
false
false
let update_multi_zero (a: alg) acc (prevlen: nat) : Lemma (update_multi_s a acc prevlen S.empty == acc) =
Spec.Hash.Lemmas.update_multi_zero a acc
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.is_shake
val is_shake: a:G.erased alg -> ( let c = hacl_keccak a in let a = G.reveal a in let i = a in let t = sha3_state a in let t' = G.erased unit in s:state c i t t' -> Stack bool (requires fun h0 -> invariant c i h0 s) (ensures fun h0 r h1 -> B.(modifies loc_none h0 h1) /\ r == is_sh...
val is_shake: a:G.erased alg -> ( let c = hacl_keccak a in let a = G.reveal a in let i = a in let t = sha3_state a in let t' = G.erased unit in s:state c i t t' -> Stack bool (requires fun h0 -> invariant c i h0 s) (ensures fun h0 r h1 -> B.(modifies loc_none h0 h1) /\ r == is_sh...
let is_shake a s = is_shake_ (get_alg a s)
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 360, "start_col": 0, "start_line": 359 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": false, "full_module": "Hacl.Streaming.Functor", "short_module": null }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> (let c = Hacl.Streaming.Keccak.hacl_keccak a in let a = FStar.Ghost.reveal a in let i = a in let t = Hacl.Streaming.Keccak.sha3_state a in let t' = FStar.Ghost.erased Prims.unit in s: Hacl.Streaming.Functor.state c i t t' -> FStar.HyperS...
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.state", "Hacl.Streaming.Keccak.hacl_keccak", "FStar.Ghost.reveal", "Hacl.Streaming.Keccak.sha3_state", "Prims.unit", "Hacl.Streaming.Keccak.is_shake_", "Prims.bool", "Spec.Hash.Definitions.hash_alg", "Hacl.Streaming.Kecca...
[]
false
false
false
false
false
let is_shake a s =
is_shake_ (get_alg a s)
false
Lib.Buffer.fsti
Lib.Buffer.is_null
val is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : Stack bool (requires (fun h -> live h b)) (ensures (fun h y h' -> h == h' /\ y == g_is_null b))
val is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : Stack bool (requires (fun h -> live h b)) (ensures (fun h y h' -> h == h' /\ y == g_is_null b))
let is_null (#t : buftype) (#a : Type0) (b : buffer_t t a) : Stack bool (requires (fun h -> live h b)) (ensures (fun h y h' -> h == h' /\ y == g_is_null b)) = match t with | IMMUT -> IB.is_null (b <: ibuffer a) | MUT -> B.is_null (b <: buffer a) | CONST -> CB.is_null (b <: cbuffer a)
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 128, "start_col": 0, "start_line": 121 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.buffer_t t a -> FStar.HyperStack.ST.Stack Prims.bool
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.is_null", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "Prims.bool", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.is_null", "Lib.Buffer.cbuffer", "FStar.Monotonic.HyperSt...
[]
false
true
false
false
false
let is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : Stack bool (requires (fun h -> live h b)) (ensures (fun h y h' -> h == h' /\ y == g_is_null b)) =
match t with | IMMUT -> IB.is_null (b <: ibuffer a) | MUT -> B.is_null (b <: buffer a) | CONST -> CB.is_null (b <: cbuffer a)
false
Lib.Buffer.fsti
Lib.Buffer.bget
val bget (#t: buftype) (#a: Type0) (#len: size_t) (h: mem) (b: lbuffer_t t a len) (i: size_nat{i < v len}) : GTot a
val bget (#t: buftype) (#a: Type0) (#len: size_t) (h: mem) (b: lbuffer_t t a len) (i: size_nat{i < v len}) : GTot a
let bget (#t:buftype) (#a:Type0) (#len:size_t) (h:mem) (b:lbuffer_t t a len) (i:size_nat{i < v len}) : GTot a = match t with | MUT -> B.get h (b <: buffer a) i | IMMUT -> IB.get h (b <: ibuffer a) i | CONST -> FStar.Seq.index (CB.as_seq h (b <: cbuffer a)) i
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 322, "start_col": 0, "start_line": 316 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.lbuffer_t t a len -> i: Lib.IntTypes.size_nat{i < Lib.IntTypes.v len} -> Prims.GTot a
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.lbuffer_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Monotonic.Buffer.get", "LowStar.Buffer.trivial_preorder", "Lib....
[]
false
false
false
false
false
let bget (#t: buftype) (#a: Type0) (#len: size_t) (h: mem) (b: lbuffer_t t a len) (i: size_nat{i < v len}) : GTot a =
match t with | MUT -> B.get h (b <: buffer a) i | IMMUT -> IB.get h (b <: ibuffer a) i | CONST -> FStar.Seq.index (CB.as_seq h (b <: cbuffer a)) i
false
Lib.Buffer.fsti
Lib.Buffer.stack_allocated
val stack_allocated : b: Lib.Buffer.lbuffer a len -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Prims.logical
let stack_allocated (#a:Type0) (#len:size_t) (b:lbuffer a len) (h0:mem) (h1:mem) (s:Seq.lseq a (v len)) = let b: B.buffer a = b in alloc_post_mem_common b h0 h1 s /\ B.frameOf b = HS.get_tip h0 /\ B.frameOf b <> HyperStack.root
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 355, "start_col": 0, "start_line": 350 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.lbuffer a len -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "FStar.Monotonic.HyperStack.mem", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.l_and", "Lib.Buffer.alloc_post_mem_common", "LowStar.Buffer.trivial_preorder", "Prims.b2t", "Prims.op_Equality", "FStar.Monoton...
[]
false
false
false
false
true
let stack_allocated (#a: Type0) (#len: size_t) (b: lbuffer a len) (h0 h1: mem) (s: Seq.lseq a (v len)) =
let b:B.buffer a = b in alloc_post_mem_common b h0 h1 s /\ B.frameOf b = HS.get_tip h0 /\ B.frameOf b <> HyperStack.root
false
Lib.Buffer.fsti
Lib.Buffer.recallable
val recallable : b: Lib.Buffer.lbuffer_t t a len -> Type0
let recallable (#t:buftype) (#a:Type0) (#len:size_t) (b:lbuffer_t t a len) = match t with | IMMUT -> B.recallable (b <: ibuffer a) | MUT -> B.recallable (b <: buffer a) | CONST -> B.recallable (CB.as_mbuf (b <: cbuffer a))
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 55, "end_line": 367, "start_col": 0, "start_line": 363 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.lbuffer_t t a len -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "LowStar.Monotonic.Buffer.recallable", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "...
[]
false
false
false
false
true
let recallable (#t: buftype) (#a: Type0) (#len: size_t) (b: lbuffer_t t a len) =
match t with | IMMUT -> B.recallable (b <: ibuffer a) | MUT -> B.recallable (b <: buffer a) | CONST -> B.recallable (CB.as_mbuf (b <: cbuffer a))
false
Lib.Buffer.fsti
Lib.Buffer.as_seq
val as_seq (#t: buftype) (#a: Type0) (#len: size_t) (h: HS.mem) (b: lbuffer_t t a len) : GTot (Seq.lseq a (v len))
val as_seq (#t: buftype) (#a: Type0) (#len: size_t) (h: HS.mem) (b: lbuffer_t t a len) : GTot (Seq.lseq a (v len))
let as_seq (#t:buftype) (#a:Type0) (#len:size_t) (h:HS.mem) (b:lbuffer_t t a len) : GTot (Seq.lseq a (v len)) = match t with | MUT -> B.as_seq h (b <: buffer a) | IMMUT -> IB.as_seq h (b <: ibuffer a) | CONST -> CB.as_seq h (b <: cbuffer a)
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 212, "start_col": 0, "start_line": 207 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.lbuffer_t t a len -> Prims.GTot (Lib.Sequence.lseq a (Lib.IntTypes.v len))
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.lbuffer_t", "LowStar.Monotonic.Buffer.as_seq", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.ConstBuffer.as_seq", "Lib...
[]
false
false
false
false
false
let as_seq (#t: buftype) (#a: Type0) (#len: size_t) (h: HS.mem) (b: lbuffer_t t a len) : GTot (Seq.lseq a (v len)) =
match t with | MUT -> B.as_seq h (b <: buffer a) | IMMUT -> IB.as_seq h (b <: ibuffer a) | CONST -> CB.as_seq h (b <: cbuffer a)
false
Lib.Buffer.fsti
Lib.Buffer.loop_refl_inv
val loop_refl_inv (h0: mem) (n: size_t) (a_spec: Type) (refl: (mem -> GTot a_spec)) (footprint: B.loc) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec -> a_spec))) (i: size_nat{i <= v n}) (h: mem) : Type0
val loop_refl_inv (h0: mem) (n: size_t) (a_spec: Type) (refl: (mem -> GTot a_spec)) (footprint: B.loc) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec -> a_spec))) (i: size_nat{i <= v n}) (h: mem) : Type0
let loop_refl_inv (h0:mem) (n:size_t) (a_spec: Type) (refl:(mem -> GTot a_spec)) (footprint:B.loc) (spec:(mem -> GTot (i:size_nat{i < v n} -> a_spec -> a_spec))) (i:size_nat{i <= v n}) (h:mem): Type0 = modifies footprint h0 h /\ refl h == Loop.repeati i (spec h0) (refl h0)
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 678, "start_col": 0, "start_line": 666 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h0: FStar.Monotonic.HyperStack.mem -> n: Lib.IntTypes.size_t -> a_spec: Type -> refl: (_: FStar.Monotonic.HyperStack.mem -> Prims.GTot a_spec) -> footprint: LowStar.Monotonic.Buffer.loc -> spec: (_: FStar.Monotonic.HyperStack.mem -> Prims.GTot (i: Lib.IntTypes.size_nat{i < Lib.I...
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Lib.IntTypes.size_t", "LowStar.Monotonic.Buffer.loc", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "Prims.l_and", "Lib.Buffer.modifies", "Prims.eq2", "Lib....
[]
false
false
false
false
true
let loop_refl_inv (h0: mem) (n: size_t) (a_spec: Type) (refl: (mem -> GTot a_spec)) (footprint: B.loc) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec -> a_spec))) (i: size_nat{i <= v n}) (h: mem) : Type0 =
modifies footprint h0 h /\ refl h == Loop.repeati i (spec h0) (refl h0)
false
LowParse.Slice.fst
LowParse.Slice.srel_of_buffer_srel
val srel_of_buffer_srel (#a: Type) (s: B.srel a) : Tot (srel a)
val srel_of_buffer_srel (#a: Type) (s: B.srel a) : Tot (srel a)
let srel_of_buffer_srel (#a: Type) (s: B.srel a) : Tot (srel a) = s
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 20, "start_col": 0, "start_line": 19 }
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowStar.Monotonic.Buffer.srel a -> LowParse.Slice.srel a
Prims.Tot
[ "total" ]
[]
[ "LowStar.Monotonic.Buffer.srel", "LowParse.Slice.srel" ]
[]
false
false
false
true
false
let srel_of_buffer_srel (#a: Type) (s: B.srel a) : Tot (srel a) =
s
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.stateful_keccak
val stateful_keccak:stateful alg
val stateful_keccak:stateful alg
let stateful_keccak: stateful alg = Stateful (* s: *) (fun (a: alg) -> singleton a & b:B.buffer uint64 { B.len b == 25ul }) (* footprint: *) (fun #_ h (_, s) -> B.loc_addr_of_buffer s) (* freeable: *) (fun #_ h (_, s) -> B.freeable s) (* invariant: *) (fun #_ h (_, s) -> B.live...
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 115, "start_col": 0, "start_line": 88 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Interface.stateful Hacl.Streaming.Keccak.alg
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Interface.Stateful", "Hacl.Streaming.Keccak.alg", "FStar.Pervasives.Native.tuple2", "Hacl.Streaming.Keccak.singleton", "LowStar.Buffer.buffer", "Hacl.Streaming.Keccak.uint64", "Prims.eq2", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.len", "LowStar.Buffer.trivial_preorder", "FStar...
[]
false
false
false
true
false
let stateful_keccak:stateful alg =
Stateful (fun (a: alg) -> singleton a & b: B.buffer uint64 {B.len b == 25ul}) (fun #_ h (_, s) -> B.loc_addr_of_buffer s) (fun #_ h (_, s) -> B.freeable s) (fun #_ h (_, s) -> B.live h s) (fun _ -> s: S.seq uint64 {S.length s == 25}) (fun _ h (a, s) -> B.as_seq h s) (fun #_ h (_, s) -> ()) (fun #_ l (_, s...
false
LowParse.Slice.fst
LowParse.Slice.buffer_srel_of_srel
val buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a)
val buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a)
let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 15, "start_col": 0, "start_line": 14 }
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowParse.Slice.srel a -> LowStar.Monotonic.Buffer.srel a
Prims.Tot
[ "total" ]
[]
[ "LowParse.Slice.srel", "LowStar.Monotonic.Buffer.srel" ]
[]
false
false
false
true
false
let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) =
s
false
Lib.Buffer.fsti
Lib.Buffer.global_allocated
val global_allocated : b: Lib.Buffer.glbuffer a len -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Prims.GTot Prims.logical
let global_allocated (#a:Type0) (#len:size_t) (b:glbuffer a len) (h0:mem) (h1:mem) (s:Seq.lseq a (v len)) = let b: ibuffer a = CB.as_mbuf b in B.frameOf b == HyperStack.root /\ alloc_post_mem_common b h0 h1 s
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 361, "start_col": 0, "start_line": 357 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.glbuffer a len -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Prims.GTot Prims.logical
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.glbuffer", "FStar.Monotonic.HyperStack.mem", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.l_and", "Prims.eq2", "FStar.Monotonic.HyperHeap.rid", "LowStar.Monotonic.Buffer.frameOf", "LowStar.ImmutableBuffer.immutable_pre...
[]
false
false
false
false
true
let global_allocated (#a: Type0) (#len: size_t) (b: glbuffer a len) (h0 h1: mem) (s: Seq.lseq a (v len)) =
let b:ibuffer a = CB.as_mbuf b in B.frameOf b == HyperStack.root /\ alloc_post_mem_common b h0 h1 s
false
LowParse.Slice.fst
LowParse.Slice.loc_slice_from_to
val loc_slice_from_to (#rrel #rel: _) (s: slice rrel rel) (pos pos': U32.t) : GTot B.loc
val loc_slice_from_to (#rrel #rel: _) (s: slice rrel rel) (pos pos': U32.t) : GTot B.loc
let loc_slice_from_to (#rrel #rel: _) (s: slice rrel rel) (pos pos' : U32.t) : GTot B.loc = B.loc_buffer_from_to s.base pos pos'
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 55, "start_col": 0, "start_line": 54 }
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> pos': FStar.UInt32.t -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.loc_buffer_from_to", "LowParse.Slice.buffer_srel_of_srel", "LowParse.Slice.__proj__Mkslice__item__base", "LowStar.Monotonic.Buffer.loc" ]
[]
false
false
false
false
false
let loc_slice_from_to (#rrel #rel: _) (s: slice rrel rel) (pos pos': U32.t) : GTot B.loc =
B.loc_buffer_from_to s.base pos pos'
false
LowParse.Slice.fst
LowParse.Slice.live_slice
val live_slice (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) : GTot Type0
val live_slice (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) : GTot Type0
let live_slice (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) : GTot Type0 = B.live h s.base
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 94, "end_line": 46, "start_col": 0, "start_line": 46 }
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> s: LowParse.Slice.slice rrel rel -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.slice", "LowStar.Monotonic.Buffer.live", "LowParse.Slice.buffer_srel_of_srel", "LowParse.Slice.__proj__Mkslice__item__base" ]
[]
false
false
false
false
true
let live_slice (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) : GTot Type0 =
B.live h s.base
false
LowParse.Slice.fst
LowParse.Slice.loc_slice_from
val loc_slice_from (#rrel #rel: _) (s: slice rrel rel) (pos: U32.t) : GTot B.loc
val loc_slice_from (#rrel #rel: _) (s: slice rrel rel) (pos: U32.t) : GTot B.loc
let loc_slice_from (#rrel #rel: _) (s: slice rrel rel) (pos: U32.t) : GTot B.loc = loc_slice_from_to s pos s.len
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 31, "end_line": 58, "start_col": 0, "start_line": 57 }
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Slice.loc_slice_from_to", "LowParse.Slice.__proj__Mkslice__item__len", "LowStar.Monotonic.Buffer.loc" ]
[]
false
false
false
false
false
let loc_slice_from (#rrel #rel: _) (s: slice rrel rel) (pos: U32.t) : GTot B.loc =
loc_slice_from_to s pos s.len
false
Lib.Buffer.fsti
Lib.Buffer.gsub
val gsub (#t: buftype) (#a: Type0) (#len: size_t) (b: lbuffer_t t a len) (start: size_t) (n: size_t{v start + v n <= v len}) : GTot (lbuffer_t t a n)
val gsub (#t: buftype) (#a: Type0) (#len: size_t) (b: lbuffer_t t a len) (start: size_t) (n: size_t{v start + v n <= v len}) : GTot (lbuffer_t t a n)
let gsub (#t:buftype) (#a:Type0) (#len:size_t) (b:lbuffer_t t a len) (start:size_t) (n:size_t{v start + v n <= v len}) : GTot (lbuffer_t t a n) = match t with | IMMUT-> let b = IB.igsub (b <: ibuffer a) start n in assert (B.length b == v n); (b <: ilbuffer a n) | MUT -> let b = B.gsub (b <: buff...
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 230, "start_col": 0, "start_line": 215 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.lbuffer_t t a len -> start: Lib.IntTypes.size_t -> n: Lib.IntTypes.size_t{Lib.IntTypes.v start + Lib.IntTypes.v n <= Lib.IntTypes.v len} -> Prims.GTot (Lib.Buffer.lbuffer_t t a n)
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Buffer.ilbuffer", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.int", "Prims.l_or", "Pr...
[]
false
false
false
false
false
let gsub (#t: buftype) (#a: Type0) (#len: size_t) (b: lbuffer_t t a len) (start: size_t) (n: size_t{v start + v n <= v len}) : GTot (lbuffer_t t a n) =
match t with | IMMUT -> let b = IB.igsub (b <: ibuffer a) start n in assert (B.length b == v n); (b <: ilbuffer a n) | MUT -> let b = B.gsub (b <: buffer a) start n in assert (B.length b == v n); (b <: lbuffer a n) | CONST -> let b = CB.gsub (b <: cbuffer a) start n in assert (CB.length b == v n); (b ...
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.block_len
val block_len: a:G.erased alg -> ( let c = hacl_keccak a in let a = G.reveal a in let i = a in let t = sha3_state a in let t' = G.erased unit in s:state c i t t' -> Stack Lib.IntTypes.size_t (requires fun h0 -> invariant c i h0 s) (ensures fun h0 r h1 -> B.(modifies loc_none h0 h1) /\ ...
val block_len: a:G.erased alg -> ( let c = hacl_keccak a in let a = G.reveal a in let i = a in let t = sha3_state a in let t' = G.erased unit in s:state c i t t' -> Stack Lib.IntTypes.size_t (requires fun h0 -> invariant c i h0 s) (ensures fun h0 r h1 -> B.(modifies loc_none h0 h1) /\ ...
let block_len a s = let a = get_alg a s in Hacl.Hash.SHA3.block_len a
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 324, "start_col": 0, "start_line": 322 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": false, "full_module": "Hacl.Streaming.Functor", "short_module": null }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> (let c = Hacl.Streaming.Keccak.hacl_keccak a in let a = FStar.Ghost.reveal a in let i = a in let t = Hacl.Streaming.Keccak.sha3_state a in let t' = FStar.Ghost.erased Prims.unit in s: Hacl.Streaming.Functor.state c i t t' -> FStar.HyperS...
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.state", "Hacl.Streaming.Keccak.hacl_keccak", "FStar.Ghost.reveal", "Hacl.Streaming.Keccak.sha3_state", "Prims.unit", "Hacl.Hash.SHA3.block_len", "Lib.IntTypes.size_t", "Hacl.Streaming.Keccak.get_alg" ]
[]
false
false
false
false
false
let block_len a s =
let a = get_alg a s in Hacl.Hash.SHA3.block_len a
false
Lib.Buffer.fsti
Lib.Buffer.eq_or_disjoint
val eq_or_disjoint : b1: Lib.Buffer.lbuffer_t t1 a1 clen1 -> b2: Lib.Buffer.lbuffer_t t2 a2 clen2 -> Prims.logical
let eq_or_disjoint (#t1:buftype) (#t2:buftype) (#a1:Type) (#a2:Type) (#clen1:size_t) (#clen2:size_t) (b1:lbuffer_t t1 a1 clen1) (b2:lbuffer_t t2 a2 clen2) = disjoint b1 b2 \/ (t1 == t2 /\ a1 == a2 /\ clen1 == clen2 /\ b1 == b2)
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 56, "end_line": 1129, "start_col": 0, "start_line": 1119 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Li...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b1: Lib.Buffer.lbuffer_t t1 a1 clen1 -> b2: Lib.Buffer.lbuffer_t t2 a2 clen2 -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Prims.l_or", "Lib.Buffer.disjoint", "Prims.l_and", "Prims.eq2", "Lib.Buffer.buffer_t", "Prims.int", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Lib.Buffer.length", "Lib.IntTyp...
[]
false
false
false
false
true
let eq_or_disjoint (#t1 #t2: buftype) (#a1 #a2: Type) (#clen1 #clen2: size_t) (b1: lbuffer_t t1 a1 clen1) (b2: lbuffer_t t2 a2 clen2) =
disjoint b1 b2 \/ (t1 == t2 /\ a1 == a2 /\ clen1 == clen2 /\ b1 == b2)
false
Lib.Buffer.fsti
Lib.Buffer.witnessed
val witnessed : b: Lib.Buffer.glbuffer a len -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Type0
let witnessed (#a:Type0) (#len:size_t) (b:glbuffer a len) (s:Seq.lseq a (v len)) = B.witnessed (CB.as_mbuf b) (cpred s)
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 383, "start_col": 0, "start_line": 382 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Lib.Buffer.glbuffer a len -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.glbuffer", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Monotonic.Buffer.witnessed", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "LowStar.ConstBuffer.as_mbuf", "Lib.Buffer.cpred" ]
[]
false
false
false
false
true
let witnessed (#a: Type0) (#len: size_t) (b: glbuffer a len) (s: Seq.lseq a (v len)) =
B.witnessed (CB.as_mbuf b) (cpred s)
false
Lib.Buffer.fsti
Lib.Buffer.loop2_inv
val loop2_inv (#b0: Type) (#blen0: size_t) (#b1: Type) (#blen1: size_t) (h0: mem) (n: size_t) (write0: lbuffer b0 blen0) (write1: lbuffer b1 blen1) (spec: (mem -> GTot (i: size_nat{i < v n} -> ((Seq.lseq b0 (v blen0)) & (Seq.l...
val loop2_inv (#b0: Type) (#blen0: size_t) (#b1: Type) (#blen1: size_t) (h0: mem) (n: size_t) (write0: lbuffer b0 blen0) (write1: lbuffer b1 blen1) (spec: (mem -> GTot (i: size_nat{i < v n} -> ((Seq.lseq b0 (v blen0)) & (Seq.l...
let loop2_inv (#b0:Type) (#blen0:size_t) (#b1:Type) (#blen1:size_t) (h0:mem) (n:size_t) (write0:lbuffer b0 blen0) (write1:lbuffer b1 blen1) (spec:(mem -> GTot (i:size_nat{i < v n} -> (Seq.lseq b0 (v blen0)) & (Seq.lseq b1 (v blen1)) -> (Seq.lseq b0 (v blen0)) & (Seq.lseq b1 (...
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 743, "start_col": 0, "start_line": 725 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h0: FStar.Monotonic.HyperStack.mem -> n: Lib.IntTypes.size_t -> write0: Lib.Buffer.lbuffer b0 blen0 -> write1: Lib.Buffer.lbuffer b1 blen1 -> spec: (_: FStar.Monotonic.HyperStack.mem -> Prims.GTot ( i: Lib.IntTypes.size_nat{i < Lib.IntTypes.v n} -> ...
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.lbuffer", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.Pervasives.Native.tuple2", "Lib.Sequence.lseq", "Prims.op_LessThanOrEqual", "Prims.l_and"...
[]
false
false
false
false
true
let loop2_inv (#b0: Type) (#blen0: size_t) (#b1: Type) (#blen1: size_t) (h0: mem) (n: size_t) (write0: lbuffer b0 blen0) (write1: lbuffer b1 blen1) (spec: (mem -> GTot (i: size_nat{i < v n} -> ((Seq.lseq b0 (v blen0)) & (Seq.l...
modifies2 write0 write1 h0 h /\ (let s0, s1 = Loop.repeati i (spec h0) (as_seq h0 write0, as_seq h0 write1) in as_seq h write0 == s0 /\ as_seq h write1 == s1)
false
Lib.Buffer.fsti
Lib.Buffer.loop1_inv
val loop1_inv (h0: mem) (n: size_t) (b: Type) (blen: size_t) (write: lbuffer b blen) (spec: (mem -> GTot (i: size_nat{i < v n} -> Seq.lseq b (v blen) -> Seq.lseq b (v blen)))) (i: size_nat{i <= v n}) (h: mem) : Type0
val loop1_inv (h0: mem) (n: size_t) (b: Type) (blen: size_t) (write: lbuffer b blen) (spec: (mem -> GTot (i: size_nat{i < v n} -> Seq.lseq b (v blen) -> Seq.lseq b (v blen)))) (i: size_nat{i <= v n}) (h: mem) : Type0
let loop1_inv (h0:mem) (n:size_t) (b: Type) (blen: size_t) (write:lbuffer b blen) (spec:(mem -> GTot (i:size_nat{i < v n} -> Seq.lseq b (v blen) -> Seq.lseq b (v blen)))) (i:size_nat{i <= v n}) (h:mem): Type0 = modifies1 write h0 h /\ as_seq h write == Loop.repeati i (spec h0) (a...
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 707, "start_col": 0, "start_line": 695 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h0: FStar.Monotonic.HyperStack.mem -> n: Lib.IntTypes.size_t -> b: Type0 -> blen: Lib.IntTypes.size_t -> write: Lib.Buffer.lbuffer b blen -> spec: (_: FStar.Monotonic.HyperStack.mem -> Prims.GTot ( i: Lib.IntTypes.size_nat{i < Lib.IntTypes.v n} -> ...
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Sequence.lseq", "Prims.op_LessThanOrEqual", "Prims.l_and", "Lib.Buffer.modifies1", "Prims...
[]
false
false
false
false
true
let loop1_inv (h0: mem) (n: size_t) (b: Type) (blen: size_t) (write: lbuffer b blen) (spec: (mem -> GTot (i: size_nat{i < v n} -> Seq.lseq b (v blen) -> Seq.lseq b (v blen)))) (i: size_nat{i <= v n}) (h: mem) : Type0 =
modifies1 write h0 h /\ as_seq h write == Loop.repeati i (spec h0) (as_seq h0 write)
false
Hacl.Streaming.Keccak.fst
Hacl.Streaming.Keccak.hash_len
val hash_len: a:G.erased alg -> ( let c = hacl_keccak a in let a = G.reveal a in let i = a in let t = sha3_state a in let t' = G.erased unit in s:state c i t t' -> Stack Lib.IntTypes.size_t (requires fun h0 -> not (is_shake_ a) /\ invariant c i h0 s) (ensures fun h0 r h1 -> B.(mo...
val hash_len: a:G.erased alg -> ( let c = hacl_keccak a in let a = G.reveal a in let i = a in let t = sha3_state a in let t' = G.erased unit in s:state c i t t' -> Stack Lib.IntTypes.size_t (requires fun h0 -> not (is_shake_ a) /\ invariant c i h0 s) (ensures fun h0 r h1 -> B.(mo...
let hash_len a s = let a = get_alg a s in Hacl.Hash.SHA3.hash_len a
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 343, "start_col": 0, "start_line": 341 }
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti....
[ { "abbrev": false, "full_module": "Hacl.Streaming.Functor", "short_module": null }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> (let c = Hacl.Streaming.Keccak.hacl_keccak a in let a = FStar.Ghost.reveal a in let i = a in let t = Hacl.Streaming.Keccak.sha3_state a in let t' = FStar.Ghost.erased Prims.unit in s: Hacl.Streaming.Functor.state c i t t' -> FStar.HyperS...
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.state", "Hacl.Streaming.Keccak.hacl_keccak", "FStar.Ghost.reveal", "Hacl.Streaming.Keccak.sha3_state", "Prims.unit", "Hacl.Hash.SHA3.hash_len", "Lib.IntTypes.size_t", "Hacl.Streaming.Keccak.get_alg" ]
[]
false
false
false
false
false
let hash_len a s =
let a = get_alg a s in Hacl.Hash.SHA3.hash_len a
false
Lib.Buffer.fsti
Lib.Buffer.loop_inv
val loop_inv (h0: mem) (n: size_t) (a_spec: (i: size_nat{i <= v n} -> Type)) (refl: (mem -> i: size_nat{i <= v n} -> GTot (a_spec i))) (footprint: (i: size_nat{i <= v n} -> GTot B.loc)) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec i -> a_spec (i + 1)))) (i: size_nat{i <=...
val loop_inv (h0: mem) (n: size_t) (a_spec: (i: size_nat{i <= v n} -> Type)) (refl: (mem -> i: size_nat{i <= v n} -> GTot (a_spec i))) (footprint: (i: size_nat{i <= v n} -> GTot B.loc)) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec i -> a_spec (i + 1)))) (i: size_nat{i <=...
let loop_inv (h0:mem) (n:size_t) (a_spec:(i:size_nat{i <= v n} -> Type)) (refl:(mem -> i:size_nat{i <= v n} -> GTot (a_spec i))) (footprint:(i:size_nat{i <= v n} -> GTot B.loc)) (spec:(mem -> GTot (i:size_nat{i < v n} -> a_spec i -> a_spec (i + 1)))) (i:size_nat{i <= v n}) (h:mem): Type0 = modifies ...
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 60, "end_line": 636, "start_col": 0, "start_line": 624 }
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombin...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h0: FStar.Monotonic.HyperStack.mem -> n: Lib.IntTypes.size_t -> a_spec: (i: Lib.IntTypes.size_nat{i <= Lib.IntTypes.v n} -> Type) -> refl: (_: FStar.Monotonic.HyperStack.mem -> i: Lib.IntTypes.size_nat{i <= Lib.IntTypes.v n} -> Prims.GTot (a_spec i)) -> footprint: (i: Lib.IntT...
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Lib.IntTypes.size_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Monotonic.Buffer.loc", "Prims.op_LessThan", "Prims.op_Addition", "Prims.l_and", "Lib.Buffer.modifies",...
[]
false
false
false
false
true
let loop_inv (h0: mem) (n: size_t) (a_spec: (i: size_nat{i <= v n} -> Type)) (refl: (mem -> i: size_nat{i <= v n} -> GTot (a_spec i))) (footprint: (i: size_nat{i <= v n} -> GTot B.loc)) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec i -> a_spec (i + 1)))) (i: size_nat{i <=...
modifies (footprint i) h0 h /\ refl h i == Loop.repeat_gen i a_spec (spec h0) (refl h0 0)
false
LowParse.Slice.fst
LowParse.Slice.bytes_of_slice_from
val bytes_of_slice_from (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) (pos: U32.t) : GTot bytes
val bytes_of_slice_from (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) (pos: U32.t) : GTot bytes
let bytes_of_slice_from (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) (pos: U32.t) : GTot bytes = if (U32.v pos <= U32.v s.len) then Seq.slice (B.as_seq h s.base) (U32.v pos) (U32.v s.len) else Seq.empty
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 16, "end_line": 52, "start_col": 0, "start_line": 48 }
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> s: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> Prims.GTot LowParse.Bytes.bytes
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Slice.__proj__Mkslice__item__len", "FStar.Seq.Base.slice", "LowStar.Monotonic.Buffer.as_seq", "LowParse.Slice.buffer_s...
[]
false
false
false
false
false
let bytes_of_slice_from (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) (pos: U32.t) : GTot bytes =
if (U32.v pos <= U32.v s.len) then Seq.slice (B.as_seq h s.base) (U32.v pos) (U32.v s.len) else Seq.empty
false