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
FStar.UInt16.fst
FStar.UInt16.div
val div (a:t) (b:t{v b <> 0}) : Pure t (requires (True)) (ensures (fun c -> v a / v b = v c))
val div (a:t) (b:t{v b <> 0}) : Pure t (requires (True)) (ensures (fun c -> v a / v b = v c))
let div a b = Mk (div (v a) (v b))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 61, "start_col": 0, "start_line": 61 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "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.UInt16.t -> b: FStar.UInt16.t{FStar.UInt16.v b <> 0} -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "Prims.b2t", "Prims.op_disEquality", "Prims.int", "FStar.UInt16.v", "FStar.UInt16.Mk", "FStar.UInt.div", "FStar.UInt16.n" ]
[]
false
false
false
false
false
let div a b =
Mk (div (v a) (v b))
false
FStar.UInt16.fst
FStar.UInt16.mul_mod
val mul_mod (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> FStar.UInt.mul_mod (v a) (v b) = v c))
val mul_mod (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> FStar.UInt.mul_mod (v a) (v b) = v c))
let mul_mod a b = Mk (mul_mod (v a) (v b))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 42, "end_line": 59, "start_col": 0, "start_line": 59 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "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.UInt16.t -> b: FStar.UInt16.t -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "FStar.UInt16.Mk", "FStar.UInt.mul_mod", "FStar.UInt16.n", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let mul_mod a b =
Mk (mul_mod (v a) (v b))
false
Ast.fst
Ast.switch_case_prune_actions
val switch_case_prune_actions (s: switch_case) : Tot switch_case
val switch_case_prune_actions (s: switch_case) : Tot switch_case
let rec field'_prune_actions (f: field') : Tot field' = match f with | AtomicField a -> AtomicField (atomic_field_prune_actions a) | RecordField r i -> RecordField (record_prune_actions r) i | SwitchCaseField s i -> SwitchCaseField (switch_case_prune_actions s) i and field_prune_actions (f: field) ...
{ "file_name": "src/3d/Ast.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 28, "end_line": 1279, "start_col": 0, "start_line": 1249 }
(* Copyright 2019 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", "Options.fsti.checked", "Hashtable.fsti.checked", "FStar.UInt.fsti.checked", "FStar.String.fsti.checked", "FStar.ST.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fst...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "FStar.Per...
{ "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: Ast.switch_case -> Ast.switch_case
Prims.Tot
[ "total" ]
[ "field'_prune_actions", "field_prune_actions", "record_prune_actions", "case_prune_actions", "cases_prune_actions", "switch_case_prune_actions" ]
[ "Ast.switch_case", "Ast.expr", "Prims.list", "Ast.case", "FStar.Pervasives.Native.Mktuple2", "Ast.cases_prune_actions" ]
[ "mutual recursion" ]
false
false
false
true
false
let rec switch_case_prune_actions (s: switch_case) : Tot switch_case =
let e, l = s in (e, cases_prune_actions l)
false
FStar.UInt16.fst
FStar.UInt16.lognot
val lognot (x:t) : Pure t (requires True) (ensures (fun z -> lognot (v x) == v z))
val lognot (x:t) : Pure t (requires True) (ensures (fun z -> lognot (v x) == v z))
let lognot x = Mk (lognot (v x))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 71, "start_col": 0, "start_line": 71 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "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: FStar.UInt16.t -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "FStar.UInt16.Mk", "FStar.UInt.lognot", "FStar.UInt16.n", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let lognot x =
Mk (lognot (v x))
false
Message.fst
Message.message
val message : Prims.string
let message = "Hello World!\n"
{ "file_name": "examples/dependencies/Message.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 30, "end_line": 18, "start_col": 0, "start_line": 18 }
(* Copyright 2008-2018 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Message.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "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.string
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let message =
"Hello World!\n"
false
FStar.UInt16.fst
FStar.UInt16.logand
val logand (x:t) (y:t) : Pure t (requires True) (ensures (fun z -> v x `logand` v y = v z))
val logand (x:t) (y:t) : Pure t (requires True) (ensures (fun z -> v x `logand` v y = v z))
let logand x y = Mk (logand (v x) (v y))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 65, "start_col": 0, "start_line": 65 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "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: FStar.UInt16.t -> y: FStar.UInt16.t -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "FStar.UInt16.Mk", "FStar.UInt.logand", "FStar.UInt16.n", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let logand x y =
Mk (logand (v x) (v y))
false
Ast.fst
Ast.cases_prune_actions
val cases_prune_actions (l: list case) : Tot (list case)
val cases_prune_actions (l: list case) : Tot (list case)
let rec field'_prune_actions (f: field') : Tot field' = match f with | AtomicField a -> AtomicField (atomic_field_prune_actions a) | RecordField r i -> RecordField (record_prune_actions r) i | SwitchCaseField s i -> SwitchCaseField (switch_case_prune_actions s) i and field_prune_actions (f: field) ...
{ "file_name": "src/3d/Ast.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 28, "end_line": 1279, "start_col": 0, "start_line": 1249 }
(* Copyright 2019 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", "Options.fsti.checked", "Hashtable.fsti.checked", "FStar.UInt.fsti.checked", "FStar.String.fsti.checked", "FStar.ST.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fst...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "FStar.Per...
{ "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
l: Prims.list Ast.case -> Prims.list Ast.case
Prims.Tot
[ "total" ]
[ "field'_prune_actions", "field_prune_actions", "record_prune_actions", "case_prune_actions", "cases_prune_actions", "switch_case_prune_actions" ]
[ "Prims.list", "Ast.case", "Prims.Nil", "Prims.Cons", "Ast.case_prune_actions", "Ast.cases_prune_actions" ]
[ "mutual recursion" ]
false
false
false
true
false
let rec cases_prune_actions (l: list case) : Tot (list case) =
match l with | [] -> [] | c :: l' -> case_prune_actions c :: cases_prune_actions l'
false
FStar.UInt16.fst
FStar.UInt16.logxor
val logxor (x:t) (y:t) : Pure t (requires True) (ensures (fun z -> v x `logxor` v y == v z))
val logxor (x:t) (y:t) : Pure t (requires True) (ensures (fun z -> v x `logxor` v y == v z))
let logxor x y = Mk (logxor (v x) (v y))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 67, "start_col": 0, "start_line": 67 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "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: FStar.UInt16.t -> y: FStar.UInt16.t -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "FStar.UInt16.Mk", "FStar.UInt.logxor", "FStar.UInt16.n", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let logxor x y =
Mk (logxor (v x) (v y))
false
FStar.UInt16.fst
FStar.UInt16.logor
val logor (x:t) (y:t) : Pure t (requires True) (ensures (fun z -> v x `logor` v y == v z))
val logor (x:t) (y:t) : Pure t (requires True) (ensures (fun z -> v x `logor` v y == v z))
let logor x y = Mk (logor (v x) (v y))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 69, "start_col": 0, "start_line": 69 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "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: FStar.UInt16.t -> y: FStar.UInt16.t -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "FStar.UInt16.Mk", "FStar.UInt.logor", "FStar.UInt16.n", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let logor x y =
Mk (logor (v x) (v y))
false
FStar.UInt16.fst
FStar.UInt16.shift_left
val shift_left (a:t) (s:UInt32.t) : Pure t (requires (UInt32.v s < n)) (ensures (fun c -> FStar.UInt.shift_left (v a) (UInt32.v s) = v c))
val shift_left (a:t) (s:UInt32.t) : Pure t (requires (UInt32.v s < n)) (ensures (fun c -> FStar.UInt.shift_left (v a) (UInt32.v s) = v c))
let shift_left a s = Mk (shift_left (v a) (UInt32.v s))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 77, "start_col": 0, "start_line": 77 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "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.UInt16.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "FStar.UInt32.t", "FStar.UInt16.Mk", "FStar.UInt.shift_left", "FStar.UInt16.n", "FStar.UInt16.v", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let shift_left a s =
Mk (shift_left (v a) (UInt32.v s))
false
FStar.UInt16.fst
FStar.UInt16.mul_underspec
val mul_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a * v b) n ==> v a * v b = v c))
val mul_underspec (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> size (v a * v b) n ==> v a * v b = v c))
let mul_underspec a b = Mk (mul_underspec (v a) (v b))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 57, "start_col": 0, "start_line": 57 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "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.UInt16.t -> b: FStar.UInt16.t -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "FStar.UInt16.Mk", "FStar.UInt.mul_underspec", "FStar.UInt16.n", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let mul_underspec a b =
Mk (mul_underspec (v a) (v b))
false
FStar.UInt16.fst
FStar.UInt16.rem
val rem (a:t) (b:t{v b <> 0}) : Pure t (requires True) (ensures (fun c -> FStar.UInt.mod (v a) (v b) = v c))
val rem (a:t) (b:t{v b <> 0}) : Pure t (requires True) (ensures (fun c -> FStar.UInt.mod (v a) (v b) = v c))
let rem a b = Mk (mod (v a) (v b))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 63, "start_col": 0, "start_line": 63 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "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.UInt16.t -> b: FStar.UInt16.t{FStar.UInt16.v b <> 0} -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "Prims.b2t", "Prims.op_disEquality", "Prims.int", "FStar.UInt16.v", "FStar.UInt16.Mk", "FStar.UInt.mod", "FStar.UInt16.n" ]
[]
false
false
false
false
false
let rem a b =
Mk (mod (v a) (v b))
false
Hacl.Impl.Ed25519.RecoverX.fst
Hacl.Impl.Ed25519.RecoverX.recover_x_step_3
val recover_x_step_3: tmp:lbuffer uint64 15ul -> Stack unit (requires fun h -> live h tmp /\ F51.mul_inv_t h (gsub tmp 0ul 5ul)) (ensures fun h0 _ h1 -> modifies (loc tmp) h0 h1 /\ F51.mul_inv_t h1 (gsub tmp 5ul 5ul) /\ F51.fevalh h0 (gsub tmp 0ul 5ul) == F51.fevalh h1 (gsub tmp 0ul 5ul) /\ F51.mul_inv...
val recover_x_step_3: tmp:lbuffer uint64 15ul -> Stack unit (requires fun h -> live h tmp /\ F51.mul_inv_t h (gsub tmp 0ul 5ul)) (ensures fun h0 _ h1 -> modifies (loc tmp) h0 h1 /\ F51.mul_inv_t h1 (gsub tmp 5ul 5ul) /\ F51.fevalh h0 (gsub tmp 0ul 5ul) == F51.fevalh h1 (gsub tmp 0ul 5ul) /\ F51.mul_inv...
let recover_x_step_3 tmp = let x2 = sub tmp 0ul 5ul in let x3 = sub tmp 5ul 5ul in // x let t0 = sub tmp 10ul 5ul in Hacl.Impl.Ed25519.Pow2_252m2.pow2_252m2 x3 x2; // x3 = x2^((prime + 3) / 8) fsquare t0 x3; // t0 = x3 * x3 fdifference t0 t0 x2; // t0 = t0 - x2 reduce_513 t0; reduce t0; let ...
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.RecoverX.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 180, "start_col": 0, "start_line": 170 }
module Hacl.Impl.Ed25519.RecoverX module ST = FStar.HyperStack.ST open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module S51 = Hacl.Spec.Curve25519.Field51.Definition module SC = Spec.Curve25519 module SE = Spec.Ed25519 #reset...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.Compatibility.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Def...
[ { "abbrev": true, "full_module": "Spec.Ed25519", "short_module": "SE" }, { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": "S51" }, { "abbrev": tr...
{ "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
tmp: Lib.Buffer.lbuffer Lib.IntTypes.uint64 15ul -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Prims.unit", "Prims.bool", "Hacl.Impl.Ed25519.RecoverX.mul_modp_sqrt_m1", "Hacl.Impl.Ed25519.RecoverX.is_0", "Hacl.Bignum25519.reduce", "Hacl.Bignum25519.reduce_513", "Hacl.Bignum25519.fdifference", "Hacl.Bignum25519.fsqua...
[]
false
true
false
false
false
let recover_x_step_3 tmp =
let x2 = sub tmp 0ul 5ul in let x3 = sub tmp 5ul 5ul in let t0 = sub tmp 10ul 5ul in Hacl.Impl.Ed25519.Pow2_252m2.pow2_252m2 x3 x2; fsquare t0 x3; fdifference t0 t0 x2; reduce_513 t0; reduce t0; let t0_is_0 = is_0 t0 in if t0_is_0 then () else mul_modp_sqrt_m1 x3
false
FStar.UInt16.fst
FStar.UInt16.shift_right
val shift_right (a:t) (s:UInt32.t) : Pure t (requires (UInt32.v s < n)) (ensures (fun c -> FStar.UInt.shift_right (v a) (UInt32.v s) = v c))
val shift_right (a:t) (s:UInt32.t) : Pure t (requires (UInt32.v s < n)) (ensures (fun c -> FStar.UInt.shift_right (v a) (UInt32.v s) = v c))
let shift_right a s = Mk (shift_right (v a) (UInt32.v s))
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 73, "start_col": 0, "start_line": 73 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "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.UInt16.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt16.t
Prims.Pure
[]
[]
[ "FStar.UInt16.t", "FStar.UInt32.t", "FStar.UInt16.Mk", "FStar.UInt.shift_right", "FStar.UInt16.n", "FStar.UInt16.v", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let shift_right a s =
Mk (shift_right (v a) (UInt32.v s))
false
FStar.UInt16.fst
FStar.UInt16.lemma_sub_msbs
val lemma_sub_msbs (a:t) (b:t) : Lemma ((msb (v a) = msb (v b)) ==> (v a < v b <==> msb (v (sub_mod a b))))
val lemma_sub_msbs (a:t) (b:t) : Lemma ((msb (v a) = msb (v b)) ==> (v a < v b <==> msb (v (sub_mod a b))))
let lemma_sub_msbs a b = from_vec_propriety (to_vec (v a)) 1; from_vec_propriety (to_vec (v b)) 1; from_vec_propriety (to_vec (v (sub_mod a b))) 1
{ "file_name": "ulib/FStar.UInt16.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 82, "start_col": 0, "start_line": 79 }
(* Copyright 2008-2019 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 agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt16.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "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.UInt16.t -> b: FStar.UInt16.t -> FStar.Pervasives.Lemma (ensures FStar.UInt.msb (FStar.UInt16.v a) = FStar.UInt.msb (FStar.UInt16.v b) ==> (FStar.UInt16.v a < FStar.UInt16.v b <==> FStar.UInt.msb (FStar.UInt16.v (FStar.UInt16.sub_mod a b))))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.UInt16.t", "FStar.UInt.from_vec_propriety", "FStar.UInt16.n", "FStar.UInt.to_vec", "FStar.UInt16.v", "FStar.UInt16.sub_mod", "Prims.unit" ]
[]
true
false
true
false
false
let lemma_sub_msbs a b =
from_vec_propriety (to_vec (v a)) 1; from_vec_propriety (to_vec (v b)) 1; from_vec_propriety (to_vec (v (sub_mod a b))) 1
false
Hacl.Impl.Ed25519.RecoverX.fst
Hacl.Impl.Ed25519.RecoverX.recover_x_step_4
val recover_x_step_4: tmp:lbuffer uint64 15ul -> Stack bool (requires fun h -> live h tmp /\ F51.mul_inv_t h (gsub tmp 0ul 5ul) /\ F51.mul_inv_t h (gsub tmp 5ul 5ul)) (ensures fun h0 z h1 -> modifies (loc tmp) h0 h1 /\ F51.fevalh h0 (gsub tmp 0ul 5ul) == F51.fevalh h1 (gsub tmp 0ul 5ul) /\ F51.mul_...
val recover_x_step_4: tmp:lbuffer uint64 15ul -> Stack bool (requires fun h -> live h tmp /\ F51.mul_inv_t h (gsub tmp 0ul 5ul) /\ F51.mul_inv_t h (gsub tmp 5ul 5ul)) (ensures fun h0 z h1 -> modifies (loc tmp) h0 h1 /\ F51.fevalh h0 (gsub tmp 0ul 5ul) == F51.fevalh h1 (gsub tmp 0ul 5ul) /\ F51.mul_...
let recover_x_step_4 tmp = let x2 = sub tmp 0ul 5ul in let x3 = sub tmp 5ul 5ul in let t0 = sub tmp 10ul 5ul in fsquare t0 x3; // t0 = x3 * x3 fdifference t0 t0 x2; // t0 - x2 reduce_513 t0; reduce t0; is_0 t0
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.RecoverX.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 9, "end_line": 206, "start_col": 0, "start_line": 198 }
module Hacl.Impl.Ed25519.RecoverX module ST = FStar.HyperStack.ST open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module S51 = Hacl.Spec.Curve25519.Field51.Definition module SC = Spec.Curve25519 module SE = Spec.Ed25519 #reset...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.Compatibility.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Def...
[ { "abbrev": true, "full_module": "Spec.Ed25519", "short_module": "SE" }, { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": "S51" }, { "abbrev": tr...
{ "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
tmp: Lib.Buffer.lbuffer Lib.IntTypes.uint64 15ul -> FStar.HyperStack.ST.Stack Prims.bool
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Ed25519.RecoverX.is_0", "Prims.bool", "Prims.unit", "Hacl.Bignum25519.reduce", "Hacl.Bignum25519.reduce_513", "Hacl.Bignum25519.fdifference", "Hacl.Bignum25519.fsquare", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT"...
[]
false
true
false
false
false
let recover_x_step_4 tmp =
let x2 = sub tmp 0ul 5ul in let x3 = sub tmp 5ul 5ul in let t0 = sub tmp 10ul 5ul in fsquare t0 x3; fdifference t0 t0 x2; reduce_513 t0; reduce t0; is_0 t0
false
Hacl.Test.HMAC_DRBG.fst
Hacl.Test.HMAC_DRBG.test_one
val test_one (vec: vector) : Stack unit (requires fun _ -> True) (ensures fun _ _ _ -> True)
val test_one (vec: vector) : Stack unit (requires fun _ -> True) (ensures fun _ _ _ -> True)
let test_one (vec:vector) : Stack unit (requires fun _ -> True) (ensures fun _ _ _ -> True) = let a, LB entropy_input_len entropy_input, LB nonce_len nonce, LB personalization_string_len personalization_string, LB entropy_input_reseed_len entropy_input_reseed, LB additional_input_resee...
{ "file_name": "code/tests/Hacl.Test.HMAC_DRBG.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 7, "end_line": 112, "start_col": 0, "start_line": 52 }
module Hacl.Test.HMAC_DRBG open FStar.HyperStack.ST open Test.Lowstarize open Lib.IntTypes open Hacl.HMAC_DRBG open Spec.HMAC_DRBG.Test.Vectors module D = Spec.Hash.Definitions module L = Test.Lowstarize module B = LowStar.Buffer #set-options "--fuel 0 --ifuel 0 --z3rlimit 100" (* FStar.Reflection only supports u...
{ "checked_file": "/", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Printf.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.f...
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "Test.Lowstarize", "short_module": "L" }, { "abbrev": true, "full_module": "Spec.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_modul...
{ "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
vec: Hacl.Test.HMAC_DRBG.vector -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Test.HMAC_DRBG.vector", "Spec.Hash.Definitions.hash_alg", "FStar.UInt32.t", "LowStar.Buffer.buffer", "FStar.UInt8.t", "Prims.l_and", "Prims.eq2", "LowStar.Monotonic.Buffer.len", "LowStar.Buffer.trivial_preorder", "LowStar.Monotonic.Buffer.recallable", "Prims.op_Negation", "Prims.op_AmpAm...
[]
false
true
false
false
false
let test_one (vec: vector) : Stack unit (requires fun _ -> True) (ensures fun _ _ _ -> True) =
let a, LB entropy_input_len entropy_input, LB nonce_len nonce, LB personalization_string_len personalization_string, LB entropy_input_reseed_len entropy_input_reseed, LB additional_input_reseed_len additional_input_reseed, (LB additional_input_1_len additional_input_1, LB additional_input_2_len additional_input_2), LB ...
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.ws
val ws : a: Spec.Hash.Definitions.sha2_alg -> b: Spec.SHA2.block_w a -> t: Spec.SHA2.counter{t < Spec.SHA2.size_k_w a} -> Spec.Hash.Definitions.word a
let ws = ws_aux
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 32, "start_col": 0, "start_line": 32 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.sha2_alg -> b: Spec.SHA2.block_w a -> t: Spec.SHA2.counter{t < Spec.SHA2.size_k_w a} -> Spec.Hash.Definitions.word a
Prims.Tot
[ "total" ]
[]
[ "Spec.SHA2.Lemmas.ws_aux" ]
[]
false
false
false
false
false
let ws =
ws_aux
false
Hacl.P256.PrecompTable.fst
Hacl.P256.PrecompTable.precomp_g_pow2_192_table_w4
val precomp_g_pow2_192_table_w4: x:glbuffer uint64 192ul{witnessed x precomp_g_pow2_192_table_lseq_w4 /\ recallable x}
val precomp_g_pow2_192_table_w4: x:glbuffer uint64 192ul{witnessed x precomp_g_pow2_192_table_lseq_w4 /\ recallable x}
let precomp_g_pow2_192_table_w4: x:glbuffer uint64 192ul{witnessed x precomp_g_pow2_192_table_lseq_w4 /\ recallable x} = createL_global precomp_g_pow2_192_table_list_w4
{ "file_name": "code/ecdsap256/Hacl.P256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 276, "start_col": 0, "start_line": 274 }
module Hacl.P256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.P256.Lemmas.fsti.checked", "Spec.P256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.P256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.P256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
x: Lib.Buffer.glbuffer Lib.IntTypes.uint64 192ul { Lib.Buffer.witnessed x Hacl.P256.PrecompTable.precomp_g_pow2_192_table_lseq_w4 /\ Lib.Buffer.recallable x }
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.createL_global", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Hacl.P256.PrecompTable.precomp_g_pow2_192_table_list_w4", "Lib.Buffer.glbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length", "Lib.IntType...
[]
false
false
false
false
false
let precomp_g_pow2_192_table_w4:x: glbuffer uint64 192ul {witnessed x precomp_g_pow2_192_table_lseq_w4 /\ recallable x} =
createL_global precomp_g_pow2_192_table_list_w4
false
Hacl.Impl.Ed25519.RecoverX.fst
Hacl.Impl.Ed25519.RecoverX.recover_x_step_2
val recover_x_step_2: x:elemB -> sign:uint64 -> x2:elemB -> Stack uint8 (requires fun h -> live h x2 /\ live h x /\ disjoint x x2 /\ F51.mul_inv_t h x /\ F51.fevalh h x2 == F51.as_nat h x2) (ensures fun h0 z h1 -> modifies (loc x) h0 h1 /\ F51.mul_inv_t h1 x /\ (if F51.fevalh h0 x2 = 0 then ( ...
val recover_x_step_2: x:elemB -> sign:uint64 -> x2:elemB -> Stack uint8 (requires fun h -> live h x2 /\ live h x /\ disjoint x x2 /\ F51.mul_inv_t h x /\ F51.fevalh h x2 == F51.as_nat h x2) (ensures fun h0 z h1 -> modifies (loc x) h0 h1 /\ F51.mul_inv_t h1 x /\ (if F51.fevalh h0 x2 = 0 then ( ...
let recover_x_step_2 x sign x2 = let open Lib.RawIntTypes in let open FStar.UInt64 in let x2_is_0 = is_0 x2 in if x2_is_0 then begin if u64_to_UInt64 sign =^ 0uL then (make_zero x; u8 1) else u8 0 end else u8 2
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.RecoverX.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 155, "start_col": 0, "start_line": 149 }
module Hacl.Impl.Ed25519.RecoverX module ST = FStar.HyperStack.ST open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module S51 = Hacl.Spec.Curve25519.Field51.Definition module SC = Spec.Curve25519 module SE = Spec.Ed25519 #reset...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.Compatibility.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Def...
[ { "abbrev": true, "full_module": "Spec.Ed25519", "short_module": "SE" }, { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": "S51" }, { "abbrev": tr...
{ "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: Hacl.Impl.Ed25519.RecoverX.elemB -> sign: Lib.IntTypes.uint64 -> x2: Hacl.Impl.Ed25519.RecoverX.elemB -> FStar.HyperStack.ST.Stack Lib.IntTypes.uint8
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Ed25519.RecoverX.elemB", "Lib.IntTypes.uint64", "FStar.UInt64.op_Equals_Hat", "Lib.RawIntTypes.u64_to_UInt64", "FStar.UInt64.__uint_to_t", "Lib.IntTypes.u8", "Lib.IntTypes.uint8", "Prims.unit", "Hacl.Bignum25519.make_zero", "Prims.bool", "Hacl.Impl.Ed25519.RecoverX.is_0" ]
[]
false
true
false
false
false
let recover_x_step_2 x sign x2 =
let open Lib.RawIntTypes in let open FStar.UInt64 in let x2_is_0 = is_0 x2 in if x2_is_0 then if u64_to_UInt64 sign =^ 0uL then (make_zero x; u8 1) else u8 0 else u8 2
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.shuffle_core
val shuffle_core : a: Spec.Hash.Definitions.sha2_alg -> block: Spec.SHA2.block_w a -> hash: Spec.Hash.Definitions.words_state a -> t: Spec.SHA2.counter{t < Spec.SHA2.size_k_w a} -> Spec.Hash.Definitions.words_state a
let shuffle_core = shuffle_core_
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 56, "start_col": 0, "start_line": 56 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.sha2_alg -> block: Spec.SHA2.block_w a -> hash: Spec.Hash.Definitions.words_state a -> t: Spec.SHA2.counter{t < Spec.SHA2.size_k_w a} -> Spec.Hash.Definitions.words_state a
Prims.Tot
[ "total" ]
[]
[ "Spec.SHA2.Lemmas.shuffle_core_" ]
[]
false
false
false
false
false
let shuffle_core =
shuffle_core_
false
Pulse.Lib.Stick.fst
Pulse.Lib.Stick.intro_stick
val intro_stick (hyp concl: vprop) (v: vprop) (f_elim: unit -> ( stt_ghost unit (v ** hyp) (fun _ -> concl) )) : stt_ghost unit v (fun _ -> stick hyp concl)
val intro_stick (hyp concl: vprop) (v: vprop) (f_elim: unit -> ( stt_ghost unit (v ** hyp) (fun _ -> concl) )) : stt_ghost unit v (fun _ -> stick hyp concl)
let intro_stick p q v f = T.intro_trade p q v f
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.Stick.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 23, "end_line": 39, "start_col": 0, "start_line": 38 }
(* Copyright 2023 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": [ "Pulse.Lib.Trade.fsti.checked", "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Pulse.Lib.Stick.fst" }
[ { "abbrev": true, "full_module": "Pulse.Lib.Trade", "short_module": "T" }, { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.Core", "short_module": null }, { "abbrev": false, "full_mo...
{ "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
hyp: Pulse.Lib.Core.vprop -> concl: Pulse.Lib.Core.vprop -> v: Pulse.Lib.Core.vprop -> f_elim: (_: Prims.unit -> Pulse.Lib.Core.stt_ghost Prims.unit (v ** hyp) (fun _ -> concl)) -> Pulse.Lib.Core.stt_ghost Prims.unit v (fun _ -> Pulse.Lib.Stick.stick hyp concl)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.Core.vprop", "Prims.unit", "Pulse.Lib.Core.stt_ghost", "Pulse.Lib.Core.op_Star_Star", "Pulse.Lib.Trade.intro_trade", "Pulse.Lib.InvList.invlist_empty", "Pulse.Lib.Stick.stick" ]
[]
false
false
false
false
false
let intro_stick p q v f =
T.intro_trade p q v f
false
Hacl.Impl.P256.Point.fst
Hacl.Impl.P256.Point.to_aff_point
val to_aff_point: res:aff_point -> p:point -> Stack unit (requires fun h -> live h p /\ live h res /\ eq_or_disjoint p res /\ point_inv h p) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_aff_point_nat h1 res == S.to_aff_point (from_mont_point (as_point_nat h0 p)))
val to_aff_point: res:aff_point -> p:point -> Stack unit (requires fun h -> live h p /\ live h res /\ eq_or_disjoint p res /\ point_inv h p) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_aff_point_nat h1 res == S.to_aff_point (from_mont_point (as_point_nat h0 p)))
let to_aff_point res p = push_frame (); let zinv = create_felem () in let px = getx p in let py = gety p in let pz = getz p in let x = aff_getx res in let y = aff_gety res in FI.finv zinv pz; fmul x px zinv; fmul y py zinv; from_mont x x; from_mont y y; pop_frame ()
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Point.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 102, "start_col": 0, "start_line": 87 }
module Hacl.Impl.P256.Point open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum open Hacl.Impl.P256.Field open Hacl.Impl.P256.Constants module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module FI = Hacl....
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Impl.P256.Finv.fsti.checked", "Hacl.Impl.P256.Field.fsti.chec...
[ { "abbrev": true, "full_module": "Hacl.Impl.P256.Finv", "short_module": "FI" }, { "abbrev": true, "full_module": "Hacl.Spec.P256.Montgomery", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.P256", "short_module": "S" }, { "abbrev": false, "full_...
{ "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
res: Hacl.Impl.P256.Point.aff_point -> p: Hacl.Impl.P256.Point.point -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.P256.Point.aff_point", "Hacl.Impl.P256.Point.point", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Impl.P256.Field.from_mont", "Hacl.Impl.P256.Field.fmul", "Hacl.Impl.P256.Finv.finv", "Hacl.Impl.P256.Bignum.felem", "Hacl.Impl.P256.Point.aff_gety", "Hacl.Impl.P256.Point.aff_getx",...
[]
false
true
false
false
false
let to_aff_point res p =
push_frame (); let zinv = create_felem () in let px = getx p in let py = gety p in let pz = getz p in let x = aff_getx res in let y = aff_gety res in FI.finv zinv pz; fmul x px zinv; fmul y py zinv; from_mont x x; from_mont y y; pop_frame ()
false
Pulse.Typing.Combinators.fst
Pulse.Typing.Combinators.mk_bind
val mk_bind (g:env) (pre:term) (e1:st_term) (e2:st_term) (c1:comp_st) (c2:comp_st) (px:nvar { ~ (Set.mem (snd px) (dom g)) }) (d_e1:st_typing g e1 c1) (d_c1res:tot_typing g (comp_res c1) (tm_type (comp_u c1))) (d...
val mk_bind (g:env) (pre:term) (e1:st_term) (e2:st_term) (c1:comp_st) (c2:comp_st) (px:nvar { ~ (Set.mem (snd px) (dom g)) }) (d_e1:st_typing g e1 c1) (d_c1res:tot_typing g (comp_res c1) (tm_type (comp_u c1))) (d...
let rec mk_bind (g:env) (pre:term) (e1:st_term) (e2:st_term) (c1:comp_st) (c2:comp_st) (px:nvar { ~ (Set.mem (snd px) (dom g)) }) (d_e1:st_typing g e1 c1) (d_c1res:tot_typing g (comp_res c1) ...
{ "file_name": "lib/steel/pulse/Pulse.Typing.Combinators.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 387, "start_col": 0, "start_line": 273 }
(* Copyright 2023 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": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "Pulse.PP.fst.checked", "Pulse.Checker.Pure.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked"...
[ { "abbrev": false, "full_module": "Pulse.Checker.Pure", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 2, "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
g: Pulse.Typing.Env.env -> pre: Pulse.Syntax.Base.term -> e1: Pulse.Syntax.Base.st_term -> e2: Pulse.Syntax.Base.st_term -> c1: Pulse.Syntax.Base.comp_st -> c2: Pulse.Syntax.Base.comp_st -> px: Pulse.Syntax.Base.nvar {~(FStar.Set.mem (FStar.Pervasives.Native.snd px) (Pulse.Typ...
FStar.Tactics.Effect.TacH
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.comp_st", "Pulse.Syntax.Base.nvar", "Prims.l_not", "Prims.b2t", "FStar.Set.mem", "Pulse.Syntax.Base.var", "FStar.Pervasives.Native.snd", "Pulse.Syntax.Base.ppname", "Pulse.Typing.Env.dom", "Puls...
[ "recursion" ]
false
true
false
false
false
let rec mk_bind (g: env) (pre: term) (e1 e2: st_term) (c1 c2: comp_st) (px: nvar{~(Set.mem (snd px) (dom g))}) (d_e1: st_typing g e1 c1) (d_c1res: tot_typing g (comp_res c1) (tm_type (comp_u c1))) (d_e2: st_typing (push_binding g (snd px) (fst px) (comp_res c1)) (open_st_...
let _, x = px in let b = nvar_as_binder px (comp_res c1) in let fail_bias (#a: Type) tag : T.TacH a (requires fun _ -> True) (ensures fun _ r -> FStar.Tactics.Result.Failed? r) = let open Pulse.PP in fail_doc g (Some e1.range) [ text "Cannot compose computations in this " ^/^ text tag ^/^ text " b...
false
Pulse.Lib.Stick.fst
Pulse.Lib.Stick.elim_stick
val elim_stick (hyp concl: vprop) : stt_ghost unit ((stick hyp concl) ** hyp) (fun _ -> concl)
val elim_stick (hyp concl: vprop) : stt_ghost unit ((stick hyp concl) ** hyp) (fun _ -> concl)
let elim_stick p q = T.elim_trade_ghost p q
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.Stick.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 36, "start_col": 0, "start_line": 35 }
(* Copyright 2023 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": [ "Pulse.Lib.Trade.fsti.checked", "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Pulse.Lib.Stick.fst" }
[ { "abbrev": true, "full_module": "Pulse.Lib.Trade", "short_module": "T" }, { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.Core", "short_module": null }, { "abbrev": false, "full_mo...
{ "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
hyp: Pulse.Lib.Core.vprop -> concl: Pulse.Lib.Core.vprop -> Pulse.Lib.Core.stt_ghost Prims.unit (Pulse.Lib.Stick.stick hyp concl ** hyp) (fun _ -> concl)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.Core.vprop", "Pulse.Lib.Trade.elim_trade_ghost", "Pulse.Lib.InvList.invlist_empty", "Pulse.Lib.Core.stt_ghost", "Prims.unit", "Pulse.Lib.Core.op_Star_Star", "Pulse.Lib.Stick.stick" ]
[]
false
false
false
false
false
let elim_stick p q =
T.elim_trade_ghost p q
false
Pulse.Lib.Stick.fst
Pulse.Lib.Stick.emp_unit_left
val emp_unit_left (p: vprop) : Lemma (emp ** p == p) [SMTPat (emp ** p)]
val emp_unit_left (p: vprop) : Lemma (emp ** p == p) [SMTPat (emp ** p)]
let emp_unit_left (p:vprop) : Lemma (emp ** p == p) [SMTPat (emp ** p)] = elim_vprop_equiv (vprop_equiv_unit p)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.Stick.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 41, "end_line": 26, "start_col": 0, "start_line": 23 }
(* Copyright 2023 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": [ "Pulse.Lib.Trade.fsti.checked", "Pulse.Lib.Pervasives.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Pulse.Lib.Stick.fst" }
[ { "abbrev": true, "full_module": "Pulse.Lib.Trade", "short_module": "T" }, { "abbrev": false, "full_module": "Pulse.Lib.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.Core", "short_module": null }, { "abbrev": false, "full_mo...
{ "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
p: Pulse.Lib.Core.vprop -> FStar.Pervasives.Lemma (ensures Pulse.Lib.Core.emp ** p == p) [SMTPat (Pulse.Lib.Core.emp ** p)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Pulse.Lib.Core.vprop", "Pulse.Lib.Core.elim_vprop_equiv", "Pulse.Lib.Core.op_Star_Star", "Pulse.Lib.Core.emp", "Pulse.Lib.Core.vprop_equiv_unit", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.Nil" ]
[]
true
false
true
false
false
let emp_unit_left (p: vprop) : Lemma (emp ** p == p) [SMTPat (emp ** p)] =
elim_vprop_equiv (vprop_equiv_unit p)
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.shuffle_aux
val shuffle_aux (a: sha2_alg) (hash: words_state a) (block: block_w a) : Tot (words_state a)
val shuffle_aux (a: sha2_alg) (hash: words_state a) (block: block_w a) : Tot (words_state a)
let shuffle_aux (a:sha2_alg) (hash:words_state a) (block:block_w a): Tot (words_state a) = Spec.Loops.repeat_range 0 (size_k_w a) (shuffle_core a block) hash
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 60, "start_col": 0, "start_line": 59 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.sha2_alg -> hash: Spec.Hash.Definitions.words_state a -> block: Spec.SHA2.block_w a -> Spec.Hash.Definitions.words_state a
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.sha2_alg", "Spec.Hash.Definitions.words_state", "Spec.SHA2.block_w", "Spec.Loops.repeat_range", "Spec.SHA2.size_k_w", "Spec.SHA2.Lemmas.shuffle_core" ]
[]
false
false
false
false
false
let shuffle_aux (a: sha2_alg) (hash: words_state a) (block: block_w a) : Tot (words_state a) =
Spec.Loops.repeat_range 0 (size_k_w a) (shuffle_core a block) hash
false
Steel.ST.CancellableSpinLock.fst
Steel.ST.CancellableSpinLock.new_cancellable_lock
val new_cancellable_lock (v:vprop) : STT (cancellable_lock v) v (fun _ -> emp)
val new_cancellable_lock (v:vprop) : STT (cancellable_lock v) v (fun _ -> emp)
let new_cancellable_lock v = let r = alloc true in intro_exists true (lock_inv_pred r v); let l = new_lock (lock_inv r v) in return ({lref = r; llock = l})
{ "file_name": "lib/steel/Steel.ST.CancellableSpinLock.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 46, "start_col": 0, "start_line": 42 }
(* 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": [ "Steel.ST.Util.fsti.checked", "Steel.ST.SpinLock.fsti.checked", "Steel.ST.Reference.fsti.checked", "Steel.ST.Effect.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fst...
[ { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": false, "full_module": "Steel.ST.SpinLock", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Reference", "short_module": null }, { "abbrev": false, "full_modul...
{ "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
v: Steel.Effect.Common.vprop -> Steel.ST.Effect.STT (Steel.ST.CancellableSpinLock.cancellable_lock v)
Steel.ST.Effect.STT
[]
[]
[ "Steel.Effect.Common.vprop", "Steel.ST.Util.return", "Steel.ST.CancellableSpinLock.cancellable_lock", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit", "Steel.Effect.Common.req", "Steel.Effect.Common.rm", "Steel...
[]
false
true
false
false
false
let new_cancellable_lock v =
let r = alloc true in intro_exists true (lock_inv_pred r v); let l = new_lock (lock_inv r v) in return ({ lref = r; llock = l })
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_3_7_11_body
val va_wp_Loop_rounds_3_7_11_body (i: nat) (msg: va_operand_vec_opr) (in_b: buffer128) (offset: nat) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_3_7_11_body (i: nat) (msg: va_operand_vec_opr) (in_b: buffer128) (offset: nat) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_3_7_11_body (i:nat) (msg:va_operand_vec_opr) (in_b:buffer128) (offset:nat) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_is_dst_vec_opr msg va_s0 /\ va_get_ok va_s0 /\ (l_and (l_and (0 <= i) (i < 15)) (i `op_Modulus` 4 == 3) /\ msg == i + 1 /\ Vale.PPC64LE.Decls.validSr...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 59, "end_line": 56, "start_col": 0, "start_line": 47 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> msg: Vale.PPC64LE.Decls.va_operand_vec_opr -> in_b: Vale.PPC64LE.Memory.buffer128 -> offset: Prims.nat -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Decls.va_operand_vec_opr", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Vale.PPC64LE.Decls.va_is_dst_vec_opr", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.eq2", ...
[]
false
false
false
true
true
let va_wp_Loop_rounds_3_7_11_body (i: nat) (msg: va_operand_vec_opr) (in_b: buffer128) (offset: nat) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_is_dst_vec_opr msg va_s0 /\ va_get_ok va_s0 /\ (l_and (l_and (0 <= i) (i < 15)) (i `op_Modulus` 4 == 3) /\ msg == i + 1 /\ Vale.PPC64LE.Decls.validSrcAddrsOffset128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 4 va_s0) in_b offset 1 (va_get_mem_layout va_s0) Secret /\ va_get_re...
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.ws_aux
val ws_aux (a: sha2_alg) (b: block_w a) (t: counter{t < size_k_w a}) : Tot (word a)
val ws_aux (a: sha2_alg) (b: block_w a) (t: counter{t < size_k_w a}) : Tot (word a)
let rec ws_aux (a:sha2_alg) (b:block_w a) (t:counter{t < size_k_w a}): Tot (word a) = if t < block_word_length a then b.[t] else let t16 = ws_aux a b (t - 16) in let t15 = ws_aux a b (t - 15) in let t7 = ws_aux a b (t - 7) in let t2 = ws_aux a b (t - 2) in let s1 = _sigma1 a t2 in let s0 ...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 29, "start_col": 0, "start_line": 19 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *)
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.sha2_alg -> b: Spec.SHA2.block_w a -> t: Spec.SHA2.counter{t < Spec.SHA2.size_k_w a} -> Spec.Hash.Definitions.word a
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.sha2_alg", "Spec.SHA2.block_w", "Spec.SHA2.counter", "Prims.b2t", "Prims.op_LessThan", "Spec.SHA2.size_k_w", "Spec.Hash.Definitions.block_word_length", "Spec.SHA2.op_String_Access", "Spec.Hash.Definitions.word", "Prims.bool", "Spec.SHA2.op_Plus_Dot", "Spec.SHA2._sigma0",...
[ "recursion" ]
false
false
false
false
false
let rec ws_aux (a: sha2_alg) (b: block_w a) (t: counter{t < size_k_w a}) : Tot (word a) =
if t < block_word_length a then b.[ t ] else let t16 = ws_aux a b (t - 16) in let t15 = ws_aux a b (t - 15) in let t7 = ws_aux a b (t - 7) in let t2 = ws_aux a b (t - 2) in let s1 = _sigma1 a t2 in let s0 = _sigma0 a t15 in (s1 +. t7 +. s0 +. t16)
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.update_aux
val update_aux (a: sha2_alg) (hash: words_state a) (block: bytes{S.length block = block_length a}) : Tot (words_state a)
val update_aux (a: sha2_alg) (hash: words_state a) (block: bytes{S.length block = block_length a}) : Tot (words_state a)
let update_aux (a:sha2_alg) (hash:words_state a) (block:bytes{S.length block = block_length a}): Tot (words_state a) = let block_w = words_of_bytes a #(block_word_length a) block in let hash_1 = shuffle_aux a hash block_w in Lib.Sequence.map2 ( +. ) (hash <: Lib.Sequence.lseq (word a) (state_word_length a)) hash_...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 92, "end_line": 128, "start_col": 0, "start_line": 125 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.sha2_alg -> hash: Spec.Hash.Definitions.words_state a -> block: Spec.Hash.Definitions.bytes {FStar.Seq.Base.length block = Spec.Hash.Definitions.block_length a} -> Spec.Hash.Definitions.words_state a
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.sha2_alg", "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.bytes", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Prims.op_disEquality", "FStar.Seq.Base.length", "Lib.IntTypes.uint8", "Spec.Hash.Definitions.block_...
[]
false
false
false
false
false
let update_aux (a: sha2_alg) (hash: words_state a) (block: bytes{S.length block = block_length a}) : Tot (words_state a) =
let block_w = words_of_bytes a #(block_word_length a) block in let hash_1 = shuffle_aux a hash block_w in Lib.Sequence.map2 ( +. ) (hash <: Lib.Sequence.lseq (word a) (state_word_length a)) hash_1
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.shuffle_core_
val shuffle_core_ (a: sha2_alg) (block: block_w a) (hash: words_state a) (t: counter{t < size_k_w a}) : Tot (words_state a)
val shuffle_core_ (a: sha2_alg) (block: block_w a) (hash: words_state a) (t: counter{t < size_k_w a}) : Tot (words_state a)
let shuffle_core_ (a:sha2_alg) (block:block_w a) (hash:words_state a) (t:counter{t < size_k_w a}): Tot (words_state a) = (**) assert(7 <= S.length hash); let a0 = hash.[0] in let b0 = hash.[1] in let c0 = hash.[2] in let d0 = hash.[3] in let e0 = hash.[4] in let f0 = hash.[5] in let g0 = hash.[6] in l...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 53, "start_col": 0, "start_line": 35 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.sha2_alg -> block: Spec.SHA2.block_w a -> hash: Spec.Hash.Definitions.words_state a -> t: Spec.SHA2.counter{t < Spec.SHA2.size_k_w a} -> Spec.Hash.Definitions.words_state a
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.sha2_alg", "Spec.SHA2.block_w", "Spec.Hash.Definitions.words_state", "Spec.SHA2.counter", "Prims.b2t", "Prims.op_LessThan", "Spec.SHA2.size_k_w", "FStar.Seq.Base.seq_of_list", "Spec.Hash.Definitions.word", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.op_Equality"...
[]
false
false
false
false
false
let shuffle_core_ (a: sha2_alg) (block: block_w a) (hash: words_state a) (t: counter{t < size_k_w a}) : Tot (words_state a) =
assert (7 <= S.length hash); let a0 = hash.[ 0 ] in let b0 = hash.[ 1 ] in let c0 = hash.[ 2 ] in let d0 = hash.[ 3 ] in let e0 = hash.[ 4 ] in let f0 = hash.[ 5 ] in let g0 = hash.[ 6 ] in let h0 = hash.[ 7 ] in assert (S.length (k0 a) = size_k_w a); let t1 = h0 +. (_Sigma1 a e0) +. (_Ch a e0 f0 g0) +. (k0 a).[ t ] +....
false
Hacl.Impl.Ed25519.RecoverX.fst
Hacl.Impl.Ed25519.RecoverX.recover_x_
val recover_x_: x:elemB -> y:elemB -> sign:uint64{v sign = 0 \/ v sign = 1} -> tmp:lbuffer uint64 15ul -> Stack bool (requires fun h -> live h tmp /\ live h x /\ live h y /\ disjoint x y /\ disjoint tmp x /\ disjoint tmp y /\ F51.mul_inv_t h x /\ F51.felem_fits h y (1, 1, 1, 1, 1...
val recover_x_: x:elemB -> y:elemB -> sign:uint64{v sign = 0 \/ v sign = 1} -> tmp:lbuffer uint64 15ul -> Stack bool (requires fun h -> live h tmp /\ live h x /\ live h y /\ disjoint x y /\ disjoint tmp x /\ disjoint tmp y /\ F51.mul_inv_t h x /\ F51.felem_fits h y (1, 1, 1, 1, 1...
let recover_x_ x y sign tmp = let x2 = sub tmp 0ul 5ul in let open Lib.RawIntTypes in let open FStar.UInt8 in let h0 = ST.get() in let b = gte_q y in let res = if b then false else ( (**) FStar.Math.Lemmas.small_mod (F51.as_nat h0 y) SC.prime; recover_x_step_1 x2 y; let z = recover_x_step_2...
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.RecoverX.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 6, "end_line": 299, "start_col": 0, "start_line": 274 }
module Hacl.Impl.Ed25519.RecoverX module ST = FStar.HyperStack.ST open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module S51 = Hacl.Spec.Curve25519.Field51.Definition module SC = Spec.Curve25519 module SE = Spec.Ed25519 #reset...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.Compatibility.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Def...
[ { "abbrev": true, "full_module": "Spec.Ed25519", "short_module": "SE" }, { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": "S51" }, { "abbrev": tr...
{ "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: Hacl.Impl.Ed25519.RecoverX.elemB -> y: Hacl.Impl.Ed25519.RecoverX.elemB -> sign: Lib.IntTypes.uint64{Lib.IntTypes.v sign = 0 \/ Lib.IntTypes.v sign = 1} -> tmp: Lib.Buffer.lbuffer Lib.IntTypes.uint64 15ul -> FStar.HyperStack.ST.Stack Prims.bool
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Ed25519.RecoverX.elemB", "Lib.IntTypes.uint64", "Prims.l_or", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.Buffer.lbuffer", "FStar.UInt32.__uint_to_t", "Prims.bool", "FStar.UInt8.op_Equals_Hat", "Lib.RawIntTypes.u8...
[]
false
true
false
false
false
let recover_x_ x y sign tmp =
let x2 = sub tmp 0ul 5ul in let open Lib.RawIntTypes in let open FStar.UInt8 in let h0 = ST.get () in let b = gte_q y in let res = if b then false else (FStar.Math.Lemmas.small_mod (F51.as_nat h0 y) SC.prime; recover_x_step_1 x2 y; let z = recover_x_step_2 x sign x2 in if (u8_to_UInt8 z =^ 0...
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.update_is_update_pre
val update_is_update_pre: a:sha2_alg -> hash:words_state a -> block:bytes{S.length block = block_length a} -> Lemma (update a hash block == update_aux a hash block)
val update_is_update_pre: a:sha2_alg -> hash:words_state a -> block:bytes{S.length block = block_length a} -> Lemma (update a hash block == update_aux a hash block)
let update_is_update_pre a hash block = let block_w = words_of_bytes a #(block_word_length a) block in let hash_1 = shuffle a hash block_w in shuffle_is_shuffle_pre a hash block_w; let hash:Lib.Sequence.lseq (word a) (state_word_length a) = hash in reveal_opaque (`%update) update; let s1 = Lib.Sequence.map2...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 146, "start_col": 0, "start_line": 132 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.sha2_alg -> hash: Spec.Hash.Definitions.words_state a -> block: Spec.Hash.Definitions.bytes {FStar.Seq.Base.length block = Spec.Hash.Definitions.block_length a} -> FStar.Pervasives.Lemma (ensures Spec.SHA2.update a hash block == Spec.SHA2.Lemmas.update_aux a has...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.sha2_alg", "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.bytes", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Prims.op_disEquality", "FStar.Seq.Base.length", "Lib.IntTypes.uint8", "Spec.Hash.Definitions.block_...
[]
false
false
true
false
false
let update_is_update_pre a hash block =
let block_w = words_of_bytes a #(block_word_length a) block in let hash_1 = shuffle a hash block_w in shuffle_is_shuffle_pre a hash block_w; let hash:Lib.Sequence.lseq (word a) (state_word_length a) = hash in reveal_opaque (`%update) update; let s1 = Lib.Sequence.map2 ( +. ) hash hash_1 in let s2 = Spec.Loops.seq_map2 ...
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.update_multi_update
val update_multi_update (a: md_alg) (h: words_state a) (input: bytes_block a) : Lemma (ensures (Spec.Agile.Hash.update_multi a h () input) == (Spec.Agile.Hash.update a h input))
val update_multi_update (a: md_alg) (h: words_state a) (input: bytes_block a) : Lemma (ensures (Spec.Agile.Hash.update_multi a h () input) == (Spec.Agile.Hash.update a h input))
let update_multi_update (a: md_alg) (h: words_state a) (input: bytes_block a): Lemma (ensures (Spec.Agile.Hash.update_multi a h () input) == (Spec.Agile.Hash.update a h input)) = let h1 = Spec.Agile.Hash.update_multi a h () input in assert(h1 == Lib.UpdateMulti.mk_update_multi (block_length a) (Spec.Agile.Hash.up...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 7, "end_line": 264, "start_col": 0, "start_line": 247 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 0, "max_fuel": 1, "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.md_alg -> h: Spec.Hash.Definitions.words_state a -> input: Spec.Hash.Definitions.bytes_block a -> FStar.Pervasives.Lemma (ensures Spec.Agile.Hash.update_multi a h () input == Spec.Agile.Hash.update a h input)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.md_alg", "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.bytes_block", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.length", "Lib.IntTypes.uint8", "Prims._assert", "Prims.eq2", "Prims.bool", "FStar.Seq.Base.seq", "Lib.UpdateMulti.uint8", "Lib.UpdateMul...
[]
false
false
true
false
false
let update_multi_update (a: md_alg) (h: words_state a) (input: bytes_block a) : Lemma (ensures (Spec.Agile.Hash.update_multi a h () input) == (Spec.Agile.Hash.update a h input)) =
let h1 = Spec.Agile.Hash.update_multi a h () input in assert (h1 == Lib.UpdateMulti.mk_update_multi (block_length a) (Spec.Agile.Hash.update a) h input); if S.length input = 0 then assert (h1 == h) else let block, rem = Lib.UpdateMulti.split_block (block_length a) input 1 in let h2 = Spec.Agile.Hash.update a h bloc...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_1_3
val va_wp_Loop_rounds_1_3 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_1_3 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_1_3 (block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ l_and (l_and ((va_get_vec 0 va_s0).hi2 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 1) ((va_get_vec 0 va_s0).lo1 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 2)) ((va_get_vec 0 v...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 844, "start_col": 0, "start_line": 834 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Types_s.nat32", "Vale.PPC64LE.Decls.va_get_vec", "Vale...
[]
false
false
false
true
true
let va_wp_Loop_rounds_1_3 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ l_and (l_and ((va_get_vec 0 va_s0).hi2 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 1) ((va_get_vec 0 va_s0).lo1 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 2)) ((va_get_vec 0 va_s0).lo0 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 3) /\ (forall (va_x_v1: quad32) (va_x_v2: ...
false
Hacl.Impl.Ed25519.RecoverX.fst
Hacl.Impl.Ed25519.RecoverX.recover_x_step_1
val recover_x_step_1: x2:elemB -> y:elemB -> Stack unit (requires fun h -> live h x2 /\ live h y /\ disjoint x2 y /\ F51.mul_inv_t h y) (ensures fun h0 _ h1 -> modifies (loc x2) h0 h1 /\ F51.fevalh h1 x2 == F51.as_nat h1 x2 /\ F51.mul_inv_t h1 x2 /\ (let y = F51.fevalh h0 y in let x2 = F51....
val recover_x_step_1: x2:elemB -> y:elemB -> Stack unit (requires fun h -> live h x2 /\ live h y /\ disjoint x2 y /\ F51.mul_inv_t h y) (ensures fun h0 _ h1 -> modifies (loc x2) h0 h1 /\ F51.fevalh h1 x2 == F51.as_nat h1 x2 /\ F51.mul_inv_t h1 x2 /\ (let y = F51.fevalh h0 y in let x2 = F51....
let recover_x_step_1 x2 y = push_frame(); let tmp = create 20ul (u64 0) in let one = sub tmp 0ul 5ul in let y2 = sub tmp 5ul 5ul in let dyyi = sub tmp 10ul 5ul in let dyy = sub tmp 15ul 5ul in make_one one; fsquare y2 y; // y2 = y * y times_d dyy y2; // dyy = d * y2 fsum dyy dyy one; // dyy ...
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.RecoverX.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 13, "end_line": 134, "start_col": 0, "start_line": 116 }
module Hacl.Impl.Ed25519.RecoverX module ST = FStar.HyperStack.ST open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module S51 = Hacl.Spec.Curve25519.Field51.Definition module SC = Spec.Curve25519 module SE = Spec.Ed25519 #reset...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.Compatibility.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Def...
[ { "abbrev": true, "full_module": "Spec.Ed25519", "short_module": "SE" }, { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": "S51" }, { "abbrev": tr...
{ "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
x2: Hacl.Impl.Ed25519.RecoverX.elemB -> y: Hacl.Impl.Ed25519.RecoverX.elemB -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Ed25519.RecoverX.elemB", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Bignum25519.reduce", "Hacl.Bignum25519.fmul", "Hacl.Bignum25519.fdifference", "Hacl.Bignum25519.inverse", "Hacl.Bignum25519.reduce_513", "Hacl.Bignum25519.fsum", "Hacl.Bignum25519.times_d", "Hacl.Bignum25519...
[]
false
true
false
false
false
let recover_x_step_1 x2 y =
push_frame (); let tmp = create 20ul (u64 0) in let one = sub tmp 0ul 5ul in let y2 = sub tmp 5ul 5ul in let dyyi = sub tmp 10ul 5ul in let dyy = sub tmp 15ul 5ul in make_one one; fsquare y2 y; times_d dyy y2; fsum dyy dyy one; reduce_513 dyy; inverse dyyi dyy; fdifference x2 y2 one; fmul x2 x2 dyyi; reduce x2; pop_fra...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_5_7
val va_wp_Loop_rounds_5_7 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_5_7 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_5_7 (block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ l_and (l_and ((va_get_vec 4 va_s0).hi2 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 5) ((va_get_vec 4 va_s0).lo1 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 6)) ((va_get_vec 4 v...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 885, "start_col": 0, "start_line": 875 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Types_s.nat32", "Vale.PPC64LE.Decls.va_get_vec", "Vale...
[]
false
false
false
true
true
let va_wp_Loop_rounds_5_7 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ l_and (l_and ((va_get_vec 4 va_s0).hi2 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 5) ((va_get_vec 4 va_s0).lo1 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 6)) ((va_get_vec 4 va_s0).lo0 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 7) /\ (forall (va_x_v5: quad32) (va_x_v6: ...
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.update_last_224_256
val update_last_224_256: hash:words_state SHA2_256 -> prevlen:Spec.Hash.Incremental.Definitions.prev_length_t SHA2_256 -> input:bytes{ (Seq.length input + prevlen) `less_than_max_input_length` SHA2_256 /\ Seq.length input <= block_length SHA2_256 } -> Lemma (ensures Spec.Hash.Incremental.Definitions.upd...
val update_last_224_256: hash:words_state SHA2_256 -> prevlen:Spec.Hash.Incremental.Definitions.prev_length_t SHA2_256 -> input:bytes{ (Seq.length input + prevlen) `less_than_max_input_length` SHA2_256 /\ Seq.length input <= block_length SHA2_256 } -> Lemma (ensures Spec.Hash.Incremental.Definitions.upd...
let update_last_224_256 hash prevlen input = let update_multi_224_256 (hash:words_state SHA2_256) (blocks:bytes_blocks SHA2_256): Lemma (ensures (Spec.Agile.Hash.update_multi SHA2_256 hash () blocks == Spec.Agile.Hash.update_multi SHA2_224 hash () blocks)) (decreases (Seq.length blocks)) ...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 307, "start_col": 0, "start_line": 297 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
hash: Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA2_256 -> prevlen: Spec.Hash.Incremental.Definitions.prev_length_t Spec.Hash.Definitions.SHA2_256 -> input: Spec.Hash.Definitions.bytes { Spec.Hash.Definitions.less_than_max_input_length (FStar.Seq.Base.length input + prevlen) ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.SHA2_256", "Spec.Hash.Incremental.Definitions.prev_length_t", "Spec.Hash.Definitions.bytes", "Prims.l_and", "Prims.b2t", "Spec.Hash.Definitions.less_than_max_input_length", "Prims.op_Addition", "FStar.Seq.Base.length", "Lib.IntTypes.uint8...
[]
false
false
true
false
false
let update_last_224_256 hash prevlen input =
let update_multi_224_256 (hash: words_state SHA2_256) (blocks: bytes_blocks SHA2_256) : Lemma (ensures (Spec.Agile.Hash.update_multi SHA2_256 hash () blocks == Spec.Agile.Hash.update_multi SHA2_224 hash () blocks)) (decreases (Seq.length blocks)) [SMTPat (Spec.Agile.Hash.update_m...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_9_11
val va_wp_Loop_rounds_9_11 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_9_11 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_9_11 (block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ l_and (l_and ((va_get_vec 8 va_s0).hi2 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 9) ((va_get_vec 8 va_s0).lo1 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 10)) ((va_get_vec 8...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 926, "start_col": 0, "start_line": 916 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Types_s.nat32", "Vale.PPC64LE.Decls.va_get_vec", "Vale...
[]
false
false
false
true
true
let va_wp_Loop_rounds_9_11 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ l_and (l_and ((va_get_vec 8 va_s0).hi2 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 9) ((va_get_vec 8 va_s0).lo1 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 10)) ((va_get_vec 8 va_s0).lo0 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 11) /\ (forall (va_x_v9: quad32) (va_x_v1...
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.update_multi_384_512
val update_multi_384_512: hash:words_state SHA2_512 -> blocks:bytes_blocks SHA2_512 -> Lemma (ensures (Spec.Agile.Hash.update_multi SHA2_512 hash () blocks == Spec.Agile.Hash.update_multi SHA2_384 hash () blocks)) (decreases (Seq.length blocks))
val update_multi_384_512: hash:words_state SHA2_512 -> blocks:bytes_blocks SHA2_512 -> Lemma (ensures (Spec.Agile.Hash.update_multi SHA2_512 hash () blocks == Spec.Agile.Hash.update_multi SHA2_384 hash () blocks)) (decreases (Seq.length blocks))
let rec update_multi_384_512 hash blocks = let a = SHA2_512 in let a' = SHA2_384 in assert_norm (words_state a == words_state a'); if S.length blocks = 0 then begin assert(blocks `S.equal` S.empty); Spec.Hash.Lemmas.update_multi_zero a hash; Spec.Hash.Lemmas.update_multi_zero a' hash end e...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 7, "end_line": 434, "start_col": 0, "start_line": 408 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
hash: Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA2_512 -> blocks: Spec.Hash.Definitions.bytes_blocks Spec.Hash.Definitions.SHA2_512 -> FStar.Pervasives.Lemma (ensures Spec.Agile.Hash.update_multi Spec.Hash.Definitions.SHA2_512 hash () blocks == Spec.Agile.Hash.update_mul...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.SHA2_512", "Spec.Hash.Definitions.bytes_blocks", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.length", "Lib.IntTypes.uint8", "Spec.Hash.Lemmas.update_multi_zero", "Prims.unit", "Prims._assert", "FStar.Seq.Base.equal", "FStar.Seq....
[ "recursion" ]
false
false
true
false
false
let rec update_multi_384_512 hash blocks =
let a = SHA2_512 in let a' = SHA2_384 in assert_norm (words_state a == words_state a'); if S.length blocks = 0 then (assert (blocks `S.equal` S.empty); Spec.Hash.Lemmas.update_multi_zero a hash; Spec.Hash.Lemmas.update_multi_zero a' hash) else (assert (block_length a = block_length a'); let block1, bloc...
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.update_multi_224_256
val update_multi_224_256: hash:words_state SHA2_256 -> blocks:bytes_blocks SHA2_256 -> Lemma (ensures (Spec.Agile.Hash.update_multi SHA2_256 hash () blocks == Spec.Agile.Hash.update_multi SHA2_224 hash () blocks)) (decreases (Seq.length blocks))
val update_multi_224_256: hash:words_state SHA2_256 -> blocks:bytes_blocks SHA2_256 -> Lemma (ensures (Spec.Agile.Hash.update_multi SHA2_256 hash () blocks == Spec.Agile.Hash.update_multi SHA2_224 hash () blocks)) (decreases (Seq.length blocks))
let rec update_multi_224_256 hash blocks = let a = SHA2_256 in let a' = SHA2_224 in assert_norm (words_state a == words_state a'); if S.length blocks = 0 then begin assert(blocks `S.equal` S.empty); Spec.Hash.Lemmas.update_multi_zero a hash; Spec.Hash.Lemmas.update_multi_zero a' hash end e...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 7, "end_line": 294, "start_col": 0, "start_line": 268 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
hash: Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA2_256 -> blocks: Spec.Hash.Definitions.bytes_blocks Spec.Hash.Definitions.SHA2_256 -> FStar.Pervasives.Lemma (ensures Spec.Agile.Hash.update_multi Spec.Hash.Definitions.SHA2_256 hash () blocks == Spec.Agile.Hash.update_mul...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.SHA2_256", "Spec.Hash.Definitions.bytes_blocks", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.length", "Lib.IntTypes.uint8", "Spec.Hash.Lemmas.update_multi_zero", "Prims.unit", "Prims._assert", "FStar.Seq.Base.equal", "FStar.Seq....
[ "recursion" ]
false
false
true
false
false
let rec update_multi_224_256 hash blocks =
let a = SHA2_256 in let a' = SHA2_224 in assert_norm (words_state a == words_state a'); if S.length blocks = 0 then (assert (blocks `S.equal` S.empty); Spec.Hash.Lemmas.update_multi_zero a hash; Spec.Hash.Lemmas.update_multi_zero a' hash) else (assert (block_length a = block_length a'); let block1, bloc...
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.update_last_384_512
val update_last_384_512: hash:words_state SHA2_512 -> prevlen:Spec.Hash.Incremental.Definitions.prev_length_t SHA2_512 -> input:bytes{ (Seq.length input + prevlen) `less_than_max_input_length` SHA2_512 /\ Seq.length input <= block_length SHA2_512 } -> Lemma (ensures Spec.Hash.Incremental.Definitions.upd...
val update_last_384_512: hash:words_state SHA2_512 -> prevlen:Spec.Hash.Incremental.Definitions.prev_length_t SHA2_512 -> input:bytes{ (Seq.length input + prevlen) `less_than_max_input_length` SHA2_512 /\ Seq.length input <= block_length SHA2_512 } -> Lemma (ensures Spec.Hash.Incremental.Definitions.upd...
let update_last_384_512 hash prevlen input = let update_multi_384_512 (hash:words_state SHA2_512) (blocks:bytes_blocks SHA2_512): Lemma (ensures (Spec.Agile.Hash.update_multi SHA2_512 hash () blocks == Spec.Agile.Hash.update_multi SHA2_384 hash () blocks)) (decreases (Seq.length blocks)) ...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 447, "start_col": 0, "start_line": 437 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "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
hash: Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA2_512 -> prevlen: Spec.Hash.Incremental.Definitions.prev_length_t Spec.Hash.Definitions.SHA2_512 -> input: Spec.Hash.Definitions.bytes { Spec.Hash.Definitions.less_than_max_input_length (FStar.Seq.Base.length input + prevlen) ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.SHA2_512", "Spec.Hash.Incremental.Definitions.prev_length_t", "Spec.Hash.Definitions.bytes", "Prims.l_and", "Prims.b2t", "Spec.Hash.Definitions.less_than_max_input_length", "Prims.op_Addition", "FStar.Seq.Base.length", "Lib.IntTypes.uint8...
[]
false
false
true
false
false
let update_last_384_512 hash prevlen input =
let update_multi_384_512 (hash: words_state SHA2_512) (blocks: bytes_blocks SHA2_512) : Lemma (ensures (Spec.Agile.Hash.update_multi SHA2_512 hash () blocks == Spec.Agile.Hash.update_multi SHA2_384 hash () blocks)) (decreases (Seq.length blocks)) [SMTPat (Spec.Agile.Hash.update_m...
false
LowParse.Spec.Base.fst
LowParse.Spec.Base.parser_kind_prop
val parser_kind_prop (#a:Type) (k:parser_kind) (f:bare_parser a) : GTot Type0
val parser_kind_prop (#a:Type) (k:parser_kind) (f:bare_parser a) : GTot Type0
let parser_kind_prop = parser_kind_prop'
{ "file_name": "src/lowparse/LowParse.Spec.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 40, "end_line": 8, "start_col": 0, "start_line": 8 }
module LowParse.Spec.Base include LowParse.Bytes module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse...
{ "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
k: LowParse.Spec.Base.parser_kind -> f: LowParse.Spec.Base.bare_parser a -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Spec.Base.parser_kind_prop'" ]
[]
false
false
false
false
true
let parser_kind_prop =
parser_kind_prop'
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_13_15
val va_wp_Loop_rounds_13_15 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_13_15 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_13_15 (block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ l_and (l_and ((va_get_vec 12 va_s0).hi2 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 13) ((va_get_vec 12 va_s0).lo1 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 14)) ((va_get_v...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 968, "start_col": 0, "start_line": 958 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Types_s.nat32", "Vale.PPC64LE.Decls.va_get_vec", "Vale...
[]
false
false
false
true
true
let va_wp_Loop_rounds_13_15 (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ l_and (l_and ((va_get_vec 12 va_s0).hi2 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 13) ((va_get_vec 12 va_s0).lo1 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 14)) ((va_get_vec 12 va_s0).lo0 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 15) /\ (forall (va_x_v13: quad32) (va...
false
LowParse.Spec.Base.fst
LowParse.Spec.Base.parser_kind_prop_ext
val parser_kind_prop_ext (#t: Type) (k: parser_kind) (f1 f2: bare_parser t) : Lemma (requires (forall (input: bytes) . parse f1 input == parse f2 input)) (ensures (parser_kind_prop k f1 <==> parser_kind_prop k f2))
val parser_kind_prop_ext (#t: Type) (k: parser_kind) (f1 f2: bare_parser t) : Lemma (requires (forall (input: bytes) . parse f1 input == parse f2 input)) (ensures (parser_kind_prop k f1 <==> parser_kind_prop k f2))
let parser_kind_prop_ext (#t: Type) (k: parser_kind) (f1 f2: bare_parser t) : Lemma (requires (forall (input: bytes) . parse f1 input == parse f2 input)) (ensures (parser_kind_prop k f1 <==> parser_kind_prop k f2)) = no_lookahead_ext f1 f2; injective_ext f1 f2
{ "file_name": "src/lowparse/LowParse.Spec.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 21, "end_line": 24, "start_col": 0, "start_line": 16 }
module LowParse.Spec.Base include LowParse.Bytes module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parser_kind_prop = parser_kind_prop' let parser_kind_prop_equiv (#t: Type) (k: parser_kind) (f: bare_parser t) : Lemma (parser_kind_prop k f <==> parser_kind_prop' k f) = ()
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse...
{ "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
k: LowParse.Spec.Base.parser_kind -> f1: LowParse.Spec.Base.bare_parser t -> f2: LowParse.Spec.Base.bare_parser t -> FStar.Pervasives.Lemma (requires forall (input: LowParse.Bytes.bytes). LowParse.Spec.Base.parse f1 input == LowParse.Spec.Base.parse f2 input) (ensures ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.bare_parser", "LowParse.Spec.Base.injective_ext", "Prims.unit", "LowParse.Spec.Base.no_lookahead_ext", "Prims.l_Forall", "LowParse.Bytes.bytes", "Prims.eq2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "LowParse.Spec.B...
[]
true
false
true
false
false
let parser_kind_prop_ext (#t: Type) (k: parser_kind) (f1 f2: bare_parser t) : Lemma (requires (forall (input: bytes). parse f1 input == parse f2 input)) (ensures (parser_kind_prop k f1 <==> parser_kind_prop k f2)) =
no_lookahead_ext f1 f2; injective_ext f1 f2
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.shuffle_is_shuffle_pre
val shuffle_is_shuffle_pre: a:sha2_alg -> hash:words_state a -> block:block_w a -> Lemma (shuffle a hash block == shuffle_aux a hash block)
val shuffle_is_shuffle_pre: a:sha2_alg -> hash:words_state a -> block:block_w a -> Lemma (shuffle a hash block == shuffle_aux a hash block)
let shuffle_is_shuffle_pre a hash block = let rec repeati_is_repeat_range #a (n:nat) (f:a -> (i:nat{i < n}) -> Tot a) (f': (i:nat{i < n}) -> a -> Tot a) (i:nat{i <= n}) (acc0:a) : Lemma (requires forall x i. f x i == f' i x) (ensures Spec.Loops.repeat_range 0 i f acc0 == Lib.LoopCombin...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 120, "start_col": 0, "start_line": 66 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 1, "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.sha2_alg -> hash: Spec.Hash.Definitions.words_state a -> block: Spec.SHA2.block_w a -> FStar.Pervasives.Lemma (ensures Spec.SHA2.shuffle a hash block == Spec.SHA2.Lemmas.shuffle_aux a hash block)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.sha2_alg", "Spec.Hash.Definitions.words_state", "Spec.SHA2.block_w", "FStar.Pervasives.reveal_opaque", "Spec.SHA2.shuffle", "Prims.unit", "Prims._assert", "Prims.eq2", "Spec.SHA2.shuffle_pre", "Spec.SHA2.Lemmas.shuffle_aux", "Spec.SHA2.size_k_w", "Spec.SHA2.Lemmas.shuffl...
[]
false
false
true
false
false
let shuffle_is_shuffle_pre a hash block =
let rec repeati_is_repeat_range #a (n: nat) (f: (a -> i: nat{i < n} -> Tot a)) (f': (i: nat{i < n} -> a -> Tot a)) (i: nat{i <= n}) (acc0: a) : Lemma (requires forall x i. f x i == f' i x) (ensures Spec.Loops.repeat_range 0 i f acc0 == Lib.LoopCombinators.repeati i f' acc0)...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_16_63_body
val va_wp_Loop_rounds_16_63_body (i: nat) (msg0 msg1 msg2 msg3: va_operand_vec_opr) (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_16_63_body (i: nat) (msg0 msg1 msg2 msg3: va_operand_vec_opr) (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_16_63_body (i:nat) (msg0:va_operand_vec_opr) (msg1:va_operand_vec_opr) (msg2:va_operand_vec_opr) (msg3:va_operand_vec_opr) (block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_is_dst_vec_opr msg0 va_s0 /\ va_is_src_vec_opr msg1 va_s0 /\ va_is_src_vec_opr msg2 va_...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 92, "end_line": 112, "start_col": 0, "start_line": 98 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> msg0: Vale.PPC64LE.Decls.va_operand_vec_opr -> msg1: Vale.PPC64LE.Decls.va_operand_vec_opr -> msg2: Vale.PPC64LE.Decls.va_operand_vec_opr -> msg3: Vale.PPC64LE.Decls.va_operand_vec_opr -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> va_s0: Vale.PPC64LE.Decls.va_state -> ...
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Decls.va_operand_vec_opr", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Vale.PPC64LE.Decls.va_is_dst_vec_opr", "Vale.PPC64LE.Decls.va_is_src_vec_opr", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.op_LessTha...
[]
false
false
false
true
true
let va_wp_Loop_rounds_16_63_body (i: nat) (msg0 msg1 msg2 msg3: va_operand_vec_opr) (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_is_dst_vec_opr msg0 va_s0 /\ va_is_src_vec_opr msg1 va_s0 /\ va_is_src_vec_opr msg2 va_s0 /\ va_is_src_vec_opr msg3 va_s0 /\ va_get_ok va_s0 /\ (l_and (16 <= i) (i < 64) /\ (let j = i `op_Modulus` 16 in msg0 == j /\ msg1 == (j + 1) `op_Modulus` 16 /\ msg2 == (j + 9) `op_Modulus` 16 /\ msg3 == (j...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_60_63_a
val va_wp_Loop_rounds_60_63_a (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_60_63_a (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_60_63_a (block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and ((va_get_vec 0 va_s0).hi3 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 48) ((va_get_vec 6 va_s0).hi3 == Vale.SHA.PPC64LE.S...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 1247, "start_col": 0, "start_line": 1230 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Vale.Def.Types_s.nat32", "Vale.PPC64LE.Decls.va_get_vec", "Vale...
[]
false
false
false
true
true
let va_wp_Loop_rounds_60_63_a (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and ((va_get_vec 0 va_s0).hi3 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaque block 48) ((va_get_vec 6 va_s0).hi3 == Vale.SHA.PPC64LE.SHA_helpers.ws_opaq...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_0_59_a
val va_quick_Loop_rounds_0_59_a (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_a i))
val va_quick_Loop_rounds_0_59_a (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_a i))
let va_quick_Loop_rounds_0_59_a (i:nat) (k_b:buffer128) (block:block_w) (hash_orig:hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_a i)) = (va_QProc (va_code_Loop_rounds_0_59_a i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 274, "start_col": 0, "start_line": 269 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_a i)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_a", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.Quic...
[]
false
false
false
false
false
let va_quick_Loop_rounds_0_59_a (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_a i)) =
(va_QProc (va_code_Loop_rounds_0_59_a i) ([ va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va_Mod_vec 18; va_Mod_vec 17; va_Mod_vec 16; va_Mod_reg 6 ]) (va_wp_Loop_rounds_0_59_a i k_b block hash_orig) (va_wpProof_...
false
LowParse.Spec.Base.fst
LowParse.Spec.Base.serializer_parser_unique'
val serializer_parser_unique' (#k1: parser_kind) (#t: Type) (p1: parser k1 t) (#k2: parser_kind) (p2: parser k2 t) (s: bare_serializer t) (x: bytes) : Lemma (requires ( is_strong p1 /\ is_strong p2 /\ serializer_correct p1 s /\ serializer_correct p2 s /\ Some? (parse p1 x) )) (en...
val serializer_parser_unique' (#k1: parser_kind) (#t: Type) (p1: parser k1 t) (#k2: parser_kind) (p2: parser k2 t) (s: bare_serializer t) (x: bytes) : Lemma (requires ( is_strong p1 /\ is_strong p2 /\ serializer_correct p1 s /\ serializer_correct p2 s /\ Some? (parse p1 x) )) (en...
let serializer_parser_unique' (#k1: parser_kind) (#t: Type) (p1: parser k1 t) (#k2: parser_kind) (p2: parser k2 t) (s: bare_serializer t) (x: bytes) : Lemma (requires ( is_strong p1 /\ is_strong p2 /\ serializer_correct p1 s /\ serializer_correct p2 s /\ Some? (parse p1 x) )) (en...
{ "file_name": "src/lowparse/LowParse.Spec.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 37, "end_line": 128, "start_col": 0, "start_line": 99 }
module LowParse.Spec.Base include LowParse.Bytes module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parser_kind_prop = parser_kind_prop' let parser_kind_prop_equiv (#t: Type) (k: parser_kind) (f: bare_parser t) : Lemma (parser_kind_prop k f <==> parser_kind_prop' k f) = () let parser_k...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar....
{ "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
p1: LowParse.Spec.Base.parser k1 t -> p2: LowParse.Spec.Base.parser k2 t -> s: LowParse.Spec.Base.bare_serializer t -> x: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires LowParse.Spec.Base.is_strong p1 /\ LowParse.Spec.Base.is_strong p2 /\ LowParse.Spec.Base.serializer_...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.bare_serializer", "LowParse.Bytes.bytes", "LowParse.Spec.Base.consumed_length", "Prims._assert", "LowParse.Spec.Base.injective_postcond", "Prims.unit", "LowParse.Spec.Base.no_lookahead_on_postcond", "LowParse.Spec.B...
[]
false
false
true
false
false
let serializer_parser_unique' (#k1: parser_kind) (#t: Type) (p1: parser k1 t) (#k2: parser_kind) (p2: parser k2 t) (s: bare_serializer t) (x: bytes) : Lemma (requires (is_strong p1 /\ is_strong p2 /\ serializer_correct p1 s /\ serializer_correct p2 s /\ ...
serializer_correct_implies_complete p1 s; let Some (y, len) = parse p1 x in let x' = Seq.slice x 0 len in assert (s y == x'); let len' = Seq.length x' in assert (len == len'); assert (parse p1 x' == Some (y, len')); assert (parse p2 x' == Some (y, len')); assert (no_lookahead_on p2 x' x); assert (no_lookahead_on_postco...
false
LowParse.Spec.Base.fst
LowParse.Spec.Base.serializer_correct_implies_complete
val serializer_correct_implies_complete (#k: parser_kind) (#t: Type) (p: parser k t) (f: bare_serializer t) : Lemma (requires (serializer_correct p f)) (ensures (serializer_complete p f))
val serializer_correct_implies_complete (#k: parser_kind) (#t: Type) (p: parser k t) (f: bare_serializer t) : Lemma (requires (serializer_correct p f)) (ensures (serializer_complete p f))
let serializer_correct_implies_complete (#k: parser_kind) (#t: Type) (p: parser k t) (f: bare_serializer t) : Lemma (requires (serializer_correct p f)) (ensures (serializer_complete p f)) = let prf (s: bytes) : Lemma (requires (Some? (parse p s))) (ensures ( Some? (parse p s) /\ ( ...
{ "file_name": "src/lowparse/LowParse.Spec.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 54, "end_line": 97, "start_col": 0, "start_line": 76 }
module LowParse.Spec.Base include LowParse.Bytes module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parser_kind_prop = parser_kind_prop' let parser_kind_prop_equiv (#t: Type) (k: parser_kind) (f: bare_parser t) : Lemma (parser_kind_prop k f <==> parser_kind_prop' k f) = () let parser_k...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar....
{ "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
p: LowParse.Spec.Base.parser k t -> f: LowParse.Spec.Base.bare_serializer t -> FStar.Pervasives.Lemma (requires LowParse.Spec.Base.serializer_correct p f) (ensures LowParse.Spec.Base.serializer_complete p f)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.bare_serializer", "FStar.Classical.forall_intro", "LowParse.Bytes.bytes", "Prims.l_imp", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", "FStar.Pervasives.Native.tuple2", "LowParse.Spec.Base.consumed_length", ...
[]
false
false
true
false
false
let serializer_correct_implies_complete (#k: parser_kind) (#t: Type) (p: parser k t) (f: bare_serializer t) : Lemma (requires (serializer_correct p f)) (ensures (serializer_complete p f)) =
let prf (s: bytes) : Lemma (requires (Some? (parse p s))) (ensures (Some? (parse p s) /\ (let Some (x, len) = parse p s in f x == Seq.slice s 0 len))) = let Some (x, len) = parse p s in assert (injective_precond p (f x) s); assert (injective_postcond p (f x) s) in Classical...
false
LowParse.Spec.Base.fst
LowParse.Spec.Base.serialize_not_fail
val serialize_not_fail (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : Lemma (k.parser_kind_metadata <> Some ParserKindMetadataFail) [SMTPat (serialize s x)]
val serialize_not_fail (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : Lemma (k.parser_kind_metadata <> Some ParserKindMetadataFail) [SMTPat (serialize s x)]
let serialize_not_fail (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : Lemma (k.parser_kind_metadata <> Some ParserKindMetadataFail) [SMTPat (serialize s x)] = assert (Some? (parse p (serialize s x)))
{ "file_name": "src/lowparse/LowParse.Spec.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 42, "end_line": 155, "start_col": 0, "start_line": 146 }
module LowParse.Spec.Base include LowParse.Bytes module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parser_kind_prop = parser_kind_prop' let parser_kind_prop_equiv (#t: Type) (k: parser_kind) (f: bare_parser t) : Lemma (parser_kind_prop k f <==> parser_kind_prop' k f) = () let parser_k...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar....
{ "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.Spec.Base.serializer p -> x: t -> FStar.Pervasives.Lemma (ensures Mkparser_kind'?.parser_kind_metadata k <> FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserKindMetadataFail) [SMTPat (LowParse.Spec.Base.serialize s x)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims._assert", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", "FStar.Pervasives.Native.tuple2", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.Base.serialize", "LowParse.Spec.Base.parse", ...
[]
true
false
true
false
false
let serialize_not_fail (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : Lemma (k.parser_kind_metadata <> Some ParserKindMetadataFail) [SMTPat (serialize s x)] =
assert (Some? (parse p (serialize s x)))
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_0_59_b
val va_quick_Loop_rounds_0_59_b (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_b i))
val va_quick_Loop_rounds_0_59_b (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_b i))
let va_quick_Loop_rounds_0_59_b (i:nat) (k_b:buffer128) (block:block_w) (hash_orig:hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_b i)) = (va_QProc (va_code_Loop_rounds_0_59_b i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 419, "start_col": 0, "start_line": 414 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_b i)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_b", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.Quic...
[]
false
false
false
false
false
let va_quick_Loop_rounds_0_59_b (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_b i)) =
(va_QProc (va_code_Loop_rounds_0_59_b i) ([ va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va_Mod_vec 18; va_Mod_vec 17; va_Mod_vec 16; va_Mod_reg 6 ]) (va_wp_Loop_rounds_0_59_b i k_b block hash_orig) (va_wpProof_...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_3_7_11_body
val va_quick_Loop_rounds_3_7_11_body (i: nat) (msg: va_operand_vec_opr) (in_b: buffer128) (offset: nat) : (va_quickCode unit (va_code_Loop_rounds_3_7_11_body i msg))
val va_quick_Loop_rounds_3_7_11_body (i: nat) (msg: va_operand_vec_opr) (in_b: buffer128) (offset: nat) : (va_quickCode unit (va_code_Loop_rounds_3_7_11_body i msg))
let va_quick_Loop_rounds_3_7_11_body (i:nat) (msg:va_operand_vec_opr) (in_b:buffer128) (offset:nat) : (va_quickCode unit (va_code_Loop_rounds_3_7_11_body i msg)) = (va_QProc (va_code_Loop_rounds_3_7_11_body i msg) ([va_Mod_reg 4; va_mod_vec_opr msg]) (va_wp_Loop_rounds_3_7_11_body i msg in_b offset) (va_wpProof...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 69, "start_col": 0, "start_line": 65 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> msg: Vale.PPC64LE.Decls.va_operand_vec_opr -> in_b: Vale.PPC64LE.Memory.buffer128 -> offset: Prims.nat -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_3_7_11_body i msg)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Decls.va_operand_vec_opr", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_3_7_11_body", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_reg", "Vale.PPC64LE.Q...
[]
false
false
false
false
false
let va_quick_Loop_rounds_3_7_11_body (i: nat) (msg: va_operand_vec_opr) (in_b: buffer128) (offset: nat) : (va_quickCode unit (va_code_Loop_rounds_3_7_11_body i msg)) =
(va_QProc (va_code_Loop_rounds_3_7_11_body i msg) ([va_Mod_reg 4; va_mod_vec_opr msg]) (va_wp_Loop_rounds_3_7_11_body i msg in_b offset) (va_wpProof_Loop_rounds_3_7_11_body i msg in_b offset))
false
LowParse.Spec.Base.fst
LowParse.Spec.Base.serialize_length
val serialize_length (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : Lemma (let x = Seq.length (serialize s x) in k.parser_kind_low <= x /\ ( match k.parser_kind_high with | None -> True | Some y -> x <= y )) [SMTPat (Seq.length (serialize s x))]
val serialize_length (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : Lemma (let x = Seq.length (serialize s x) in k.parser_kind_low <= x /\ ( match k.parser_kind_high with | None -> True | Some y -> x <= y )) [SMTPat (Seq.length (serialize s x))]
let serialize_length (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : Lemma (let x = Seq.length (serialize s x) in k.parser_kind_low <= x /\ ( match k.parser_kind_high with | None -> True | Some y -> x <= y )) [SMTPat (Seq.length (serialize s x))] = assert (Some? (par...
{ "file_name": "src/lowparse/LowParse.Spec.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 42, "end_line": 144, "start_col": 0, "start_line": 130 }
module LowParse.Spec.Base include LowParse.Bytes module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parser_kind_prop = parser_kind_prop' let parser_kind_prop_equiv (#t: Type) (k: parser_kind) (f: bare_parser t) : Lemma (parser_kind_prop k f <==> parser_kind_prop' k f) = () let parser_k...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar....
{ "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.Spec.Base.serializer p -> x: t -> FStar.Pervasives.Lemma (ensures (let x = FStar.Seq.Base.length (LowParse.Spec.Base.serialize s x) in Mkparser_kind'?.parser_kind_low k <= x /\ ((match Mkparser_kind'?.parser_kind_high k with | FStar.Pervasives.Native.None #_...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims._assert", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", "FStar.Pervasives.Native.tuple2", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.Base.serialize", "LowParse.Spec.Base.parse", ...
[]
true
false
true
false
false
let serialize_length (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : Lemma (let x = Seq.length (serialize s x) in k.parser_kind_low <= x /\ (match k.parser_kind_high with | None -> True | Some y -> x <= y)) [SMTPat (Seq.length (serialize s x))] =
assert (Some? (parse p (serialize s x)))
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_0_59_c
val va_quick_Loop_rounds_0_59_c (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_c i))
val va_quick_Loop_rounds_0_59_c (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_c i))
let va_quick_Loop_rounds_0_59_c (i:nat) (k_b:buffer128) (block:block_w) (hash_orig:hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_c i)) = (va_QProc (va_code_Loop_rounds_0_59_c i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 564, "start_col": 0, "start_line": 559 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_c i)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_c", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.Quic...
[]
false
false
false
false
false
let va_quick_Loop_rounds_0_59_c (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_c i)) =
(va_QProc (va_code_Loop_rounds_0_59_c i) ([ va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va_Mod_vec 18; va_Mod_vec 17; va_Mod_vec 16; va_Mod_reg 6 ]) (va_wp_Loop_rounds_0_59_c i k_b block hash_orig) (va_wpProof_...
false
LowParse.Spec.Base.fst
LowParse.Spec.Base.parse_strong_prefix
val parse_strong_prefix (#k: parser_kind) (#t: Type) (p: parser k t) (input1: bytes) (input2: bytes) : Lemma (requires ( k.parser_kind_subkind == Some ParserStrong /\ ( match parse p input1 with | Some (x, consumed) -> consumed <= Seq.length input2 /\ Seq.slice input1 0 consumed `Seq...
val parse_strong_prefix (#k: parser_kind) (#t: Type) (p: parser k t) (input1: bytes) (input2: bytes) : Lemma (requires ( k.parser_kind_subkind == Some ParserStrong /\ ( match parse p input1 with | Some (x, consumed) -> consumed <= Seq.length input2 /\ Seq.slice input1 0 consumed `Seq...
let parse_strong_prefix (#k: parser_kind) (#t: Type) (p: parser k t) (input1: bytes) (input2: bytes) : Lemma (requires ( k.parser_kind_subkind == Some ParserStrong /\ ( match parse p input1 with | Some (x, consumed) -> consumed <= Seq.length input2 /\ Seq.slice input1 0 consumed `Seq...
{ "file_name": "src/lowparse/LowParse.Spec.Base.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 45, "end_line": 74, "start_col": 0, "start_line": 51 }
module LowParse.Spec.Base include LowParse.Bytes module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parser_kind_prop = parser_kind_prop' let parser_kind_prop_equiv (#t: Type) (k: parser_kind) (f: bare_parser t) : Lemma (parser_kind_prop k f <==> parser_kind_prop' k f) = () let parser_k...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], ...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar....
{ "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
p: LowParse.Spec.Base.parser k t -> input1: LowParse.Bytes.bytes -> input2: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong /\ ((match LowParse.Spec.Base.parse p input1 with ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "Prims._assert", "LowParse.Spec.Base.injective_postcond", "Prims.unit", "LowParse.Spec.Base.no_lookahead_on", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", ...
[]
true
false
true
false
false
let parse_strong_prefix (#k: parser_kind) (#t: Type) (p: parser k t) (input1 input2: bytes) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ (match parse p input1 with | Some (x, consumed) -> consumed <= Seq.length input2 /\ (Seq.slice ...
assert (no_lookahead_on p input1 input2); assert (injective_postcond p input1 input2)
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_16_63_body
val va_quick_Loop_rounds_16_63_body (i: nat) (msg0 msg1 msg2 msg3: va_operand_vec_opr) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3))
val va_quick_Loop_rounds_16_63_body (i: nat) (msg0 msg1 msg2 msg3: va_operand_vec_opr) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3))
let va_quick_Loop_rounds_16_63_body (i:nat) (msg0:va_operand_vec_opr) (msg1:va_operand_vec_opr) (msg2:va_operand_vec_opr) (msg3:va_operand_vec_opr) (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3)) = (va_QProc (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3) ([va_M...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 129, "start_col": 0, "start_line": 124 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> msg0: Vale.PPC64LE.Decls.va_operand_vec_opr -> msg1: Vale.PPC64LE.Decls.va_operand_vec_opr -> msg2: Vale.PPC64LE.Decls.va_operand_vec_opr -> msg3: Vale.PPC64LE.Decls.va_operand_vec_opr -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> Vale.PPC64LE.QuickCode.va_quickCode Prims....
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Decls.va_operand_vec_opr", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_63_body", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Vale.PPC...
[]
false
false
false
false
false
let va_quick_Loop_rounds_16_63_body (i: nat) (msg0 msg1 msg2 msg3: va_operand_vec_opr) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3)) =
(va_QProc (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3) ([va_Mod_vec 26; va_Mod_vec 25; va_mod_vec_opr msg0]) (va_wp_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 block) (va_wpProof_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 block))
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_60_63_b
val va_quick_Loop_rounds_60_63_b (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_60_63_b ()))
val va_quick_Loop_rounds_60_63_b (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_60_63_b ()))
let va_quick_Loop_rounds_60_63_b (k_b:buffer128) (block:block_w) (hash_orig:hash256) : (va_quickCode unit (va_code_Loop_rounds_60_63_b ())) = (va_QProc (va_code_Loop_rounds_60_63_b ()) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va_Mo...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 813, "start_col": 0, "start_line": 808 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_60_63_b ())
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_60_63_b", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_v...
[]
false
false
false
false
false
let va_quick_Loop_rounds_60_63_b (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_60_63_b ())) =
(va_QProc (va_code_Loop_rounds_60_63_b ()) ([ va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va_Mod_vec 18; va_Mod_vec 17; va_Mod_vec 16; va_Mod_reg 6 ]) (va_wp_Loop_rounds_60_63_b k_b block hash_orig) (va_wpProof...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_0_59_a
val va_wp_Loop_rounds_0_59_a (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_0_59_a (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_0_59_a (i:nat) (k_b:buffer128) (block:block_w) (hash_orig:hash256) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (l_or (l_or (l_or (i == 0) (i == 16)) (i == 32)) (i == 48) /\ va_get_reg 6 va_s0 + 16 < pow2_64 /\ Vale.PPC64LE.Decls.validSrcAddrsOffset128 ...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 258, "start_col": 0, "start_line": 199 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.l_or", "Prims.eq2", "Prims.int", "Prims.op_LessThan", ...
[]
false
false
false
true
true
let va_wp_Loop_rounds_0_59_a (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (l_or (l_or (l_or (i == 0) (i == 16)) (i == 32)) (i == 48) /\ va_get_reg 6 va_s0 + 16 < pow2_64 /\ Vale.PPC64LE.Decls.validSrcAddrsOffset128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 6 va_s0) k_b (i `op_Division` 4 + 1) 1 (va_get_mem_layout va_s0) Secret /\ ...
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.update_384_512
val update_384_512: st:words_state SHA2_512 -> block:bytes{Seq.length block = block_length SHA2_512} -> Lemma (ensures (Spec.Agile.Hash.(update SHA2_512 st block == update SHA2_384 st block)))
val update_384_512: st:words_state SHA2_512 -> block:bytes{Seq.length block = block_length SHA2_512} -> Lemma (ensures (Spec.Agile.Hash.(update SHA2_512 st block == update SHA2_384 st block)))
let update_384_512 hash block = assert_norm (words_state SHA2_384 == words_state SHA2_512); let rec ws_384_512 (b: block_w SHA2_512) (t:counter{t < size_k_w SHA2_512}): Lemma (ensures (ws SHA2_384 b t == ws SHA2_512 b t)) [ SMTPat (ws SHA2_512 b t) ] = reveal_opaque (`%ws) ws; assert_norm (b...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 404, "start_col": 0, "start_line": 311 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "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
st: Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA2_512 -> block: Spec.Hash.Definitions.bytes { FStar.Seq.Base.length block = Spec.Hash.Definitions.block_length Spec.Hash.Definitions.SHA2_512 } -> FStar.Pervasives.Lemma (ensures Spec.Agile.Hash.update Spec.Hash....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.SHA2_512", "Spec.Hash.Definitions.bytes", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Prims.op_disEquality", "FStar.Seq.Base.length", "Lib.IntTypes.uint8", "Spec.Hash.Definitions.block_...
[]
false
false
true
false
false
let update_384_512 hash block =
assert_norm (words_state SHA2_384 == words_state SHA2_512); let rec ws_384_512 (b: block_w SHA2_512) (t: counter{t < size_k_w SHA2_512}) : Lemma (ensures (ws SHA2_384 b t == ws SHA2_512 b t)) [SMTPat (ws SHA2_512 b t)] = reveal_opaque (`%ws) ws; assert_norm (block_w SHA2_512 == block_w SHA2_384); assert_norm ...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_0_59_c
val va_wp_Loop_rounds_0_59_c (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_0_59_c (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_0_59_c (i:nat) (k_b:buffer128) (block:block_w) (hash_orig:hash256) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (l_or (l_or (l_or (i == 8) (i == 24)) (i == 40)) (i == 56) /\ va_get_reg 6 va_s0 + 16 < pow2_64 /\ Vale.PPC64LE.Decls.validSrcAddrsOffset128 ...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 548, "start_col": 0, "start_line": 489 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.l_or", "Prims.eq2", "Prims.int", "Prims.op_LessThan", ...
[]
false
false
false
true
true
let va_wp_Loop_rounds_0_59_c (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (l_or (l_or (l_or (i == 8) (i == 24)) (i == 40)) (i == 56) /\ va_get_reg 6 va_s0 + 16 < pow2_64 /\ Vale.PPC64LE.Decls.validSrcAddrsOffset128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 6 va_s0) k_b (i `op_Division` 4 + 1) 1 (va_get_mem_layout va_s0) Secret /\ ...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_0_59_d
val va_quick_Loop_rounds_0_59_d (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_d i))
val va_quick_Loop_rounds_0_59_d (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_d i))
let va_quick_Loop_rounds_0_59_d (i:nat) (k_b:buffer128) (block:block_w) (hash_orig:hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_d i)) = (va_QProc (va_code_Loop_rounds_0_59_d i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 709, "start_col": 0, "start_line": 704 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_d i)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_d", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.Quic...
[]
false
false
false
false
false
let va_quick_Loop_rounds_0_59_d (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_d i)) =
(va_QProc (va_code_Loop_rounds_0_59_d i) ([ va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va_Mod_vec 18; va_Mod_vec 17; va_Mod_vec 16; va_Mod_reg 6 ]) (va_wp_Loop_rounds_0_59_d i k_b block hash_orig) (va_wpProof_...
false
Hacl.HKDF.fst
Hacl.HKDF.mk_extract
val mk_extract: a: fixed_len_alg -> hmac: Hacl.HMAC.compute_st a -> extract_st a
val mk_extract: a: fixed_len_alg -> hmac: Hacl.HMAC.compute_st a -> extract_st a
let mk_extract a hmac prk salt saltlen ikm ikmlen = hmac prk salt saltlen ikm ikmlen
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 30, "start_col": 0, "start_line": 29 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.fixed_len_alg -> hmac: Hacl.HMAC.compute_st a -> Hacl.HKDF.extract_st a
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.fixed_len_alg", "Hacl.HMAC.compute_st", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Lib.IntTypes.pub_uint32", "Prims.unit" ]
[]
false
false
false
false
false
let mk_extract a hmac prk salt saltlen ikm ikmlen =
hmac prk salt saltlen ikm ikmlen
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_60_63_b
val va_wp_Loop_rounds_60_63_b (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_60_63_b (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_60_63_b (k_b:buffer128) (block:block_w) (hash_orig:hash256) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (Vale.PPC64LE.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 6 va_s0) k_b 16 (va_get_mem_layout va_s0) Secret /\ (let ks = Vale...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 91, "end_line": 797, "start_col": 0, "start_line": 758 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Vale.PPC64LE.Decls.validSrcAddrs128", "Vale.PPC64LE.Decls.va_get_mem_heaplet", ...
[]
false
false
false
true
true
let va_wp_Loop_rounds_60_63_b (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (Vale.PPC64LE.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 6 va_s0) k_b 16 (va_get_mem_layout va_s0) Secret /\ (let ks = Vale.PPC64LE.Decls.buffer128_as_seq (va_get_mem_heaplet 0 va_s0) k_b in Vale.SHA.PPC64LE.SHA_helpers.k_reqs ks /\ ...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_16_59_a
val va_wp_Loop_rounds_16_59_a (i: nat) (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_16_59_a (i: nat) (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_16_59_a (i:nat) (block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (l_or (l_or (i == 16) (i == 32)) (i == 48) /\ l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and ((va_get_vec 0 va_s0).hi3 == ws_opaque block i) ((va_get_...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 1022, "start_col": 0, "start_line": 1006 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.l_or", "Prims.eq2", "Prims.int", "Vale.Def.Words_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Vale.Def.Types_s.nat3...
[]
false
false
false
true
true
let va_wp_Loop_rounds_16_59_a (i: nat) (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (l_or (l_or (i == 16) (i == 32)) (i == 48) /\ l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and ((va_get_vec 0 va_s0).hi3 == ws_opaque block i) ((va_get_vec 1 va_s0).hi3 == ws_opaque block ...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_1_3
val va_quick_Loop_rounds_1_3 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_1_3 ()))
val va_quick_Loop_rounds_1_3 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_1_3 ()))
let va_quick_Loop_rounds_1_3 (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_1_3 ())) = (va_QProc (va_code_Loop_rounds_1_3 ()) ([va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1]) (va_wp_Loop_rounds_1_3 block) (va_wpProof_Loop_rounds_1_3 block))
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 854, "start_col": 0, "start_line": 852 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_3 ())
Prims.Tot
[ "total" ]
[]
[ "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_3", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Prims.Nil", "Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_1_3", "Va...
[]
false
false
false
false
false
let va_quick_Loop_rounds_1_3 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_1_3 ())) =
(va_QProc (va_code_Loop_rounds_1_3 ()) ([va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1]) (va_wp_Loop_rounds_1_3 block) (va_wpProof_Loop_rounds_1_3 block))
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_0_59_b
val va_wp_Loop_rounds_0_59_b (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_0_59_b (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_0_59_b (i:nat) (k_b:buffer128) (block:block_w) (hash_orig:hash256) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (l_or (l_or (l_or (i == 4) (i == 20)) (i == 36)) (i == 52) /\ va_get_reg 6 va_s0 + 16 < pow2_64 /\ Vale.PPC64LE.Decls.validSrcAddrsOffset128 ...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 403, "start_col": 0, "start_line": 344 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.l_or", "Prims.eq2", "Prims.int", "Prims.op_LessThan", ...
[]
false
false
false
true
true
let va_wp_Loop_rounds_0_59_b (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (l_or (l_or (l_or (i == 4) (i == 20)) (i == 36)) (i == 52) /\ va_get_reg 6 va_s0 + 16 < pow2_64 /\ Vale.PPC64LE.Decls.validSrcAddrsOffset128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 6 va_s0) k_b (i `op_Division` 4 + 1) 1 (va_get_mem_layout va_s0) Secret /\ ...
false
Hacl.HKDF.fst
Hacl.HKDF.expand_sha2_256
val expand_sha2_256: expand_st SHA2_256
val expand_sha2_256: expand_st SHA2_256
let expand_sha2_256: expand_st SHA2_256 = mk_expand SHA2_256 Hacl.HMAC.compute_sha2_256
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 172, "start_col": 0, "start_line": 171 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.expand_st Spec.Hash.Definitions.SHA2_256
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_expand", "Spec.Hash.Definitions.SHA2_256", "Hacl.HMAC.compute_sha2_256", "Hacl.HKDF.expand_st" ]
[]
false
false
false
true
false
let expand_sha2_256:expand_st SHA2_256 =
mk_expand SHA2_256 Hacl.HMAC.compute_sha2_256
false
Spec.SHA2.Lemmas.fst
Spec.SHA2.Lemmas.update_224_256
val update_224_256: st:words_state SHA2_256 -> block:bytes{Seq.length block = block_length SHA2_256} -> Lemma (ensures (Spec.Agile.Hash.(update SHA2_256 st block == update SHA2_224 st block)))
val update_224_256: st:words_state SHA2_256 -> block:bytes{Seq.length block = block_length SHA2_256} -> Lemma (ensures (Spec.Agile.Hash.(update SHA2_256 st block == update SHA2_224 st block)))
let update_224_256 hash block = assert_norm (words_state SHA2_224 == words_state SHA2_256); let rec ws_224_256 (b: block_w SHA2_256) (t:counter{t < size_k_w SHA2_256}): Lemma (ensures (ws SHA2_224 b t == ws SHA2_256 b t)) [ SMTPat (ws SHA2_256 b t) ] = reveal_opaque (`%ws) ws; assert_norm (b...
{ "file_name": "specs/lemmas/Spec.SHA2.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 242, "start_col": 0, "start_line": 149 }
module Spec.SHA2.Lemmas open Lib.IntTypes module C = Spec.SHA2.Constants module S = FStar.Seq open Spec.Hash.Definitions open Spec.SHA2 open Spec.Hash.Lemmas friend Spec.SHA2 friend Spec.Agile.Hash #set-options "--z3rlimit 25 --fuel 0 --ifuel 0" (* Scheduling function *) (* Recursive Version *) let rec ws_aux (a:...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Loops.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.U...
[ { "abbrev": false, "full_module": "Spec.Hash.Lemmas", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "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
st: Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA2_256 -> block: Spec.Hash.Definitions.bytes { FStar.Seq.Base.length block = Spec.Hash.Definitions.block_length Spec.Hash.Definitions.SHA2_256 } -> FStar.Pervasives.Lemma (ensures Spec.Agile.Hash.update Spec.Hash....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.SHA2_256", "Spec.Hash.Definitions.bytes", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Prims.op_disEquality", "FStar.Seq.Base.length", "Lib.IntTypes.uint8", "Spec.Hash.Definitions.block_...
[]
false
false
true
false
false
let update_224_256 hash block =
assert_norm (words_state SHA2_224 == words_state SHA2_256); let rec ws_224_256 (b: block_w SHA2_256) (t: counter{t < size_k_w SHA2_256}) : Lemma (ensures (ws SHA2_224 b t == ws SHA2_256 b t)) [SMTPat (ws SHA2_256 b t)] = reveal_opaque (`%ws) ws; assert_norm (block_w SHA2_256 == block_w SHA2_224); assert_norm ...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_13_15
val va_quick_Loop_rounds_13_15 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_13_15 ()))
val va_quick_Loop_rounds_13_15 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_13_15 ()))
let va_quick_Loop_rounds_13_15 (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_13_15 ())) = (va_QProc (va_code_Loop_rounds_13_15 ()) ([va_Mod_vec 15; va_Mod_vec 14; va_Mod_vec 13]) (va_wp_Loop_rounds_13_15 block) (va_wpProof_Loop_rounds_13_15 block))
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 980, "start_col": 0, "start_line": 977 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_13_15 ())
Prims.Tot
[ "total" ]
[]
[ "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_13_15", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Prims.Nil", "Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_13_15", ...
[]
false
false
false
false
false
let va_quick_Loop_rounds_13_15 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_13_15 ())) =
(va_QProc (va_code_Loop_rounds_13_15 ()) ([va_Mod_vec 15; va_Mod_vec 14; va_Mod_vec 13]) (va_wp_Loop_rounds_13_15 block) (va_wpProof_Loop_rounds_13_15 block))
false
Hacl.HKDF.fst
Hacl.HKDF.extract_sha2_512
val extract_sha2_512: extract_st SHA2_512
val extract_sha2_512: extract_st SHA2_512
let extract_sha2_512: extract_st SHA2_512 = mk_extract SHA2_512 Hacl.HMAC.compute_sha2_512
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 187, "start_col": 0, "start_line": 186 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.extract_st Spec.Hash.Definitions.SHA2_512
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_extract", "Spec.Hash.Definitions.SHA2_512", "Hacl.HMAC.compute_sha2_512", "Hacl.HKDF.extract_st" ]
[]
false
false
false
true
false
let extract_sha2_512:extract_st SHA2_512 =
mk_extract SHA2_512 Hacl.HMAC.compute_sha2_512
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_16_59_b
val va_quick_Loop_rounds_16_59_b (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_b i))
val va_quick_Loop_rounds_16_59_b (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_b i))
let va_quick_Loop_rounds_16_59_b (i:nat) (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_b i)) = (va_QProc (va_code_Loop_rounds_16_59_b i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 8; va_Mod_vec 7; va_Mod_vec 6; va_Mod_vec 5]) (va_wp_Loop_rounds_16_59_b i block) (va_wpProof_Loop_rounds_16_5...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 1091, "start_col": 0, "start_line": 1087 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_59_b i)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_59_b", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Prims.Nil", "Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop...
[]
false
false
false
false
false
let va_quick_Loop_rounds_16_59_b (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_b i)) =
(va_QProc (va_code_Loop_rounds_16_59_b i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 8; va_Mod_vec 7; va_Mod_vec 6; va_Mod_vec 5]) (va_wp_Loop_rounds_16_59_b i block) (va_wpProof_Loop_rounds_16_59_b i block))
false
Hacl.HKDF.fst
Hacl.HKDF.extract_sha2_256
val extract_sha2_256: extract_st SHA2_256
val extract_sha2_256: extract_st SHA2_256
let extract_sha2_256: extract_st SHA2_256 = mk_extract SHA2_256 Hacl.HMAC.compute_sha2_256
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 175, "start_col": 0, "start_line": 174 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.extract_st Spec.Hash.Definitions.SHA2_256
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_extract", "Spec.Hash.Definitions.SHA2_256", "Hacl.HMAC.compute_sha2_256", "Hacl.HKDF.extract_st" ]
[]
false
false
false
true
false
let extract_sha2_256:extract_st SHA2_256 =
mk_extract SHA2_256 Hacl.HMAC.compute_sha2_256
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.add
val add : a: Vale.Math.Poly2_s.poly -> b: Vale.Math.Poly2_s.poly -> Vale.Math.Poly2_s.poly
let add = Vale.Math.Poly2_s.add
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 37, "start_col": 0, "start_line": 37 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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.Math.Poly2_s.poly -> b: Vale.Math.Poly2_s.poly -> Vale.Math.Poly2_s.poly
Prims.Tot
[ "total" ]
[]
[ "Vale.Math.Poly2_s.add" ]
[]
false
false
false
true
false
let add =
Vale.Math.Poly2_s.add
false
Hacl.HKDF.fst
Hacl.HKDF.expand_blake2s_32
val expand_blake2s_32: expand_st Blake2S
val expand_blake2s_32: expand_st Blake2S
let expand_blake2s_32: expand_st Blake2S = mk_expand Blake2S Hacl.HMAC.compute_blake2s_32
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 190, "start_col": 0, "start_line": 189 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.expand_st Spec.Hash.Definitions.Blake2S
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_expand", "Spec.Hash.Definitions.Blake2S", "Hacl.HMAC.compute_blake2s_32", "Hacl.HKDF.expand_st" ]
[]
false
false
false
true
false
let expand_blake2s_32:expand_st Blake2S =
mk_expand Blake2S Hacl.HMAC.compute_blake2s_32
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_9_11
val va_quick_Loop_rounds_9_11 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_9_11 ()))
val va_quick_Loop_rounds_9_11 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_9_11 ()))
let va_quick_Loop_rounds_9_11 (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_9_11 ())) = (va_QProc (va_code_Loop_rounds_9_11 ()) ([va_Mod_vec 11; va_Mod_vec 10; va_Mod_vec 9]) (va_wp_Loop_rounds_9_11 block) (va_wpProof_Loop_rounds_9_11 block))
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 71, "end_line": 937, "start_col": 0, "start_line": 935 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_9_11 ())
Prims.Tot
[ "total" ]
[]
[ "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_9_11", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Prims.Nil", "Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_9_11", "...
[]
false
false
false
false
false
let va_quick_Loop_rounds_9_11 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_9_11 ())) =
(va_QProc (va_code_Loop_rounds_9_11 ()) ([va_Mod_vec 11; va_Mod_vec 10; va_Mod_vec 9]) (va_wp_Loop_rounds_9_11 block) (va_wpProof_Loop_rounds_9_11 block))
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.va_codegen_success_Load_two_lsb
val va_codegen_success_Load_two_lsb : dst:va_operand_xmm -> Tot va_pbool
val va_codegen_success_Load_two_lsb : dst:va_operand_xmm -> Tot va_pbool
let va_codegen_success_Load_two_lsb dst = (va_pbool_and (va_codegen_success_ZeroXmm dst) (va_pbool_and (va_codegen_success_PinsrqImm dst 2 0 (va_op_reg_opr64_reg64 rR11)) (va_ttrue ())))
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 62, "start_col": 0, "start_line": 60 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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
dst: Vale.X64.Decls.va_operand_xmm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_ZeroXmm", "Vale.X64.InsVector.va_codegen_success_PinsrqImm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR11", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Load_two_lsb dst =
(va_pbool_and (va_codegen_success_ZeroXmm dst) (va_pbool_and (va_codegen_success_PinsrqImm dst 2 0 (va_op_reg_opr64_reg64 rR11)) (va_ttrue ())) )
false
Hacl.HKDF.fst
Hacl.HKDF.extract_sha2_384
val extract_sha2_384: extract_st SHA2_384
val extract_sha2_384: extract_st SHA2_384
let extract_sha2_384: extract_st SHA2_384 = mk_extract SHA2_384 Hacl.HMAC.compute_sha2_384
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 181, "start_col": 0, "start_line": 180 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.extract_st Spec.Hash.Definitions.SHA2_384
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_extract", "Spec.Hash.Definitions.SHA2_384", "Hacl.HMAC.compute_sha2_384", "Hacl.HKDF.extract_st" ]
[]
false
false
false
true
false
let extract_sha2_384:extract_st SHA2_384 =
mk_extract SHA2_384 Hacl.HMAC.compute_sha2_384
false
Hacl.HKDF.fst
Hacl.HKDF.expand_sha2_384
val expand_sha2_384: expand_st SHA2_384
val expand_sha2_384: expand_st SHA2_384
let expand_sha2_384: expand_st SHA2_384 = mk_expand SHA2_384 Hacl.HMAC.compute_sha2_384
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 178, "start_col": 0, "start_line": 177 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.expand_st Spec.Hash.Definitions.SHA2_384
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_expand", "Spec.Hash.Definitions.SHA2_384", "Hacl.HMAC.compute_sha2_384", "Hacl.HKDF.expand_st" ]
[]
false
false
false
true
false
let expand_sha2_384:expand_st SHA2_384 =
mk_expand SHA2_384 Hacl.HMAC.compute_sha2_384
false
Hacl.HKDF.fst
Hacl.HKDF.hmac_input_fits
val hmac_input_fits: a:fixed_len_alg -> Lemma ((pow2 32 + block_length a) `less_than_max_input_length` a)
val hmac_input_fits: a:fixed_len_alg -> Lemma ((pow2 32 + block_length a) `less_than_max_input_length` a)
let hmac_input_fits a = allow_inversion fixed_len_alg; match a with | MD5 -> assert_norm (pow2 32 + block_length MD5 <= Some?.v (max_input_length MD5)) | SHA1 -> assert_norm (pow2 32 + block_length SHA1 <= Some?.v (max_input_length SHA1)) | SHA2_224 -> assert_norm (pow2 32 + block_length SHA2_224 ...
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 56, "start_col": 0, "start_line": 34 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.fixed_len_alg -> FStar.Pervasives.Lemma (ensures Spec.Hash.Definitions.less_than_max_input_length (Prims.pow2 32 + Spec.Hash.Definitions.block_length a) a)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.fixed_len_alg", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Prims.pow2", "Spec.Hash.Definitions.block_length", "Spec.Hash.Definitions.MD5", "FStar.Pervasives.Native.__proj__Some__item__v", "Prims.pos", "Spec.Hash.Definitio...
[]
false
false
true
false
false
let hmac_input_fits a =
allow_inversion fixed_len_alg; match a with | MD5 -> assert_norm (pow2 32 + block_length MD5 <= Some?.v (max_input_length MD5)) | SHA1 -> assert_norm (pow2 32 + block_length SHA1 <= Some?.v (max_input_length SHA1)) | SHA2_224 -> assert_norm (pow2 32 + block_length SHA2_224 <= Some?.v (max_input_length SHA2_224)) | SHA2...
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_16_59_c
val va_quick_Loop_rounds_16_59_c (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_c i))
val va_quick_Loop_rounds_16_59_c (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_c i))
let va_quick_Loop_rounds_16_59_c (i:nat) (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_c i)) = (va_QProc (va_code_Loop_rounds_16_59_c i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 12; va_Mod_vec 11; va_Mod_vec 10; va_Mod_vec 9]) (va_wp_Loop_rounds_16_59_c i block) (va_wpProof_Loop_rounds_1...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 1147, "start_col": 0, "start_line": 1143 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_59_c i)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_59_c", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Prims.Nil", "Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop...
[]
false
false
false
false
false
let va_quick_Loop_rounds_16_59_c (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_c i)) =
(va_QProc (va_code_Loop_rounds_16_59_c i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 12; va_Mod_vec 11; va_Mod_vec 10; va_Mod_vec 9]) (va_wp_Loop_rounds_16_59_c i block) (va_wpProof_Loop_rounds_16_59_c i block))
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.va_code_Load_0xc2_msb
val va_code_Load_0xc2_msb : dst:va_operand_xmm -> Tot va_code
val va_code_Load_0xc2_msb : dst:va_operand_xmm -> Tot va_code
let va_code_Load_0xc2_msb dst = (va_Block (va_CCons (va_code_ZeroXmm dst) (va_CCons (va_code_PinsrqImm dst 13979173243358019584 1 (va_op_reg_opr64_reg64 rR11)) (va_CNil ()))))
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 99, "start_col": 0, "start_line": 97 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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
dst: Vale.X64.Decls.va_operand_xmm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_ZeroXmm", "Vale.X64.InsVector.va_code_PinsrqImm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR11", "Vale.X64.Decls.va_CNil", "Vale.X64.Decls.va_code" ]
[]
false
false
false
true
false
let va_code_Load_0xc2_msb dst =
(va_Block (va_CCons (va_code_ZeroXmm dst) (va_CCons (va_code_PinsrqImm dst 13979173243358019584 1 (va_op_reg_opr64_reg64 rR11)) (va_CNil ()))))
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.va_code_Load_two_lsb
val va_code_Load_two_lsb : dst:va_operand_xmm -> Tot va_code
val va_code_Load_two_lsb : dst:va_operand_xmm -> Tot va_code
let va_code_Load_two_lsb dst = (va_Block (va_CCons (va_code_ZeroXmm dst) (va_CCons (va_code_PinsrqImm dst 2 0 (va_op_reg_opr64_reg64 rR11)) (va_CNil ()))))
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 57, "start_col": 0, "start_line": 55 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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
dst: Vale.X64.Decls.va_operand_xmm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_ZeroXmm", "Vale.X64.InsVector.va_code_PinsrqImm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR11", "Vale.X64.Decls.va_CNil", "Vale.X64.Decls.va_code" ]
[]
false
false
false
true
false
let va_code_Load_two_lsb dst =
(va_Block (va_CCons (va_code_ZeroXmm dst) (va_CCons (va_code_PinsrqImm dst 2 0 (va_op_reg_opr64_reg64 rR11)) (va_CNil ()))))
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.va_code_Load_one_lsb
val va_code_Load_one_lsb : dst:va_operand_xmm -> Tot va_code
val va_code_Load_one_lsb : dst:va_operand_xmm -> Tot va_code
let va_code_Load_one_lsb dst = (va_Block (va_CCons (va_code_ZeroXmm dst) (va_CCons (va_code_PinsrqImm dst 1 0 (va_op_reg_opr64_reg64 rR11)) (va_CNil ()))))
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 169, "start_col": 0, "start_line": 167 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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
dst: Vale.X64.Decls.va_operand_xmm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_ZeroXmm", "Vale.X64.InsVector.va_code_PinsrqImm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR11", "Vale.X64.Decls.va_CNil", "Vale.X64.Decls.va_code" ]
[]
false
false
false
true
false
let va_code_Load_one_lsb dst =
(va_Block (va_CCons (va_code_ZeroXmm dst) (va_CCons (va_code_PinsrqImm dst 1 0 (va_op_reg_opr64_reg64 rR11)) (va_CNil ()))))
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.va_codegen_success_Handle_ctr32
val va_codegen_success_Handle_ctr32 : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Handle_ctr32 : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Handle_ctr32 () = (va_pbool_and (va_codegen_success_InitPshufbMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rR11)) (va_pbool_and (va_codegen_success_VPshufb (va_op_xmm_xmm 6) (va_op_xmm_xmm 1) (va_op_xmm_xmm 0)) (va_pbool_and (va_codegen_success_Load_one_lsb (va_op_xmm_xmm 5)) (va_pbool...
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 75, "end_line": 251, "start_col": 0, "start_line": 231 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_InitPshufbMask", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR11", "Vale.X64.InsVector.va_codegen_success_VPshufb", "Vale.AES.X64.AESopt.va_codegen_success_Load_one_lsb"...
[]
false
false
false
true
false
let va_codegen_success_Handle_ctr32 () =
(va_pbool_and (va_codegen_success_InitPshufbMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rR11)) (va_pbool_and (va_codegen_success_VPshufb (va_op_xmm_xmm 6) (va_op_xmm_xmm 1) (va_op_xmm_xmm 0)) (va_pbool_and (va_codegen_success_Load_one_lsb (va_op_xmm_xmm 5)) (va_pbool_and (va_codegen_success_VP...
false
Hacl.HKDF.fst
Hacl.HKDF.extract_blake2s_32
val extract_blake2s_32: extract_st Blake2S
val extract_blake2s_32: extract_st Blake2S
let extract_blake2s_32: extract_st Blake2S = mk_extract Blake2S Hacl.HMAC.compute_blake2s_32
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 193, "start_col": 0, "start_line": 192 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.extract_st Spec.Hash.Definitions.Blake2S
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_extract", "Spec.Hash.Definitions.Blake2S", "Hacl.HMAC.compute_blake2s_32", "Hacl.HKDF.extract_st" ]
[]
false
false
false
true
false
let extract_blake2s_32:extract_st Blake2S =
mk_extract Blake2S Hacl.HMAC.compute_blake2s_32
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.va_code_Handle_ctr32
val va_code_Handle_ctr32 : va_dummy:unit -> Tot va_code
val va_code_Handle_ctr32 : va_dummy:unit -> Tot va_code
let va_code_Handle_ctr32 () = (va_Block (va_CCons (va_code_InitPshufbMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rR11)) (va_CCons (va_code_VPshufb (va_op_xmm_xmm 6) (va_op_xmm_xmm 1) (va_op_xmm_xmm 0)) (va_CCons (va_code_Load_one_lsb (va_op_xmm_xmm 5)) (va_CCons (va_code_VPaddd (va_op_xmm_xmm 10) (va_op...
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 227, "start_col": 0, "start_line": 209 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_InitPshufbMask", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR11", "Vale.X64.InsVector.va_code_VPshufb", "Vale.AES.X64.AESopt.va_code_Load_one_lsb", "Val...
[]
false
false
false
true
false
let va_code_Handle_ctr32 () =
(va_Block (va_CCons (va_code_InitPshufbMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rR11)) (va_CCons (va_code_VPshufb (va_op_xmm_xmm 6) (va_op_xmm_xmm 1) (va_op_xmm_xmm 0)) (va_CCons (va_code_Load_one_lsb (va_op_xmm_xmm 5)) (va_CCons (va_code_VPaddd (va_op_xmm_xmm 10) (va_op_xmm_xmm...
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.va_wp_Load_0xc2_msb
val va_wp_Load_0xc2_msb (dst: va_operand_xmm) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Load_0xc2_msb (dst: va_operand_xmm) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Load_0xc2_msb (dst:va_operand_xmm) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_is_dst_xmm dst va_s0 /\ va_get_ok va_s0 /\ sse_enabled /\ (forall (va_x_dst:va_value_xmm) (va_x_r11:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64 rR11 va_x_r1...
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 97, "end_line": 140, "start_col": 0, "start_line": 135 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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
dst: Vale.X64.Decls.va_operand_xmm -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Vale.X64.Decls.va_is_dst_xmm", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.sse_enabled", "Prims.l_Forall", "Vale.X64.Decls.va_value_xmm", "Vale.X64.Memory.nat64", "Vale.X64.Flags.t",...
[]
false
false
false
true
true
let va_wp_Load_0xc2_msb (dst: va_operand_xmm) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_is_dst_xmm dst va_s0 /\ va_get_ok va_s0 /\ sse_enabled /\ (forall (va_x_dst: va_value_xmm) (va_x_r11: nat64) (va_x_efl: Vale.X64.Flags.t). let va_sM = va_upd_flags va_x_efl (va_upd_reg64 rR11 va_x_r11 (va_upd_operand_xmm dst va_x_dst va_s0)) in va_get_ok va_sM /\ va_eval_xmm va_sM ...
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.va_codegen_success_Load_one_lsb
val va_codegen_success_Load_one_lsb : dst:va_operand_xmm -> Tot va_pbool
val va_codegen_success_Load_one_lsb : dst:va_operand_xmm -> Tot va_pbool
let va_codegen_success_Load_one_lsb dst = (va_pbool_and (va_codegen_success_ZeroXmm dst) (va_pbool_and (va_codegen_success_PinsrqImm dst 1 0 (va_op_reg_opr64_reg64 rR11)) (va_ttrue ())))
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 174, "start_col": 0, "start_line": 172 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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
dst: Vale.X64.Decls.va_operand_xmm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_ZeroXmm", "Vale.X64.InsVector.va_codegen_success_PinsrqImm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR11", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Load_one_lsb dst =
(va_pbool_and (va_codegen_success_ZeroXmm dst) (va_pbool_and (va_codegen_success_PinsrqImm dst 1 0 (va_op_reg_opr64_reg64 rR11)) (va_ttrue ())) )
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_16_59_d
val va_quick_Loop_rounds_16_59_d (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_d i))
val va_quick_Loop_rounds_16_59_d (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_d i))
let va_quick_Loop_rounds_16_59_d (i:nat) (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_d i)) = (va_QProc (va_code_Loop_rounds_16_59_d i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 15; va_Mod_vec 14; va_Mod_vec 13; va_Mod_vec 0]) (va_wp_Loop_rounds_16_59_d i block) (va_wpProof_Loop_rounds_1...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 1202, "start_col": 0, "start_line": 1198 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_59_d i)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_59_d", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Prims.Nil", "Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop...
[]
false
false
false
false
false
let va_quick_Loop_rounds_16_59_d (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_d i)) =
(va_QProc (va_code_Loop_rounds_16_59_d i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 15; va_Mod_vec 14; va_Mod_vec 13; va_Mod_vec 0]) (va_wp_Loop_rounds_16_59_d i block) (va_wpProof_Loop_rounds_16_59_d i block))
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_5_7
val va_quick_Loop_rounds_5_7 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_5_7 ()))
val va_quick_Loop_rounds_5_7 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_5_7 ()))
let va_quick_Loop_rounds_5_7 (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_5_7 ())) = (va_QProc (va_code_Loop_rounds_5_7 ()) ([va_Mod_vec 7; va_Mod_vec 6; va_Mod_vec 5]) (va_wp_Loop_rounds_5_7 block) (va_wpProof_Loop_rounds_5_7 block))
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 895, "start_col": 0, "start_line": 893 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_5_7 ())
Prims.Tot
[ "total" ]
[]
[ "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_5_7", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Prims.Nil", "Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_5_7", "Va...
[]
false
false
false
false
false
let va_quick_Loop_rounds_5_7 (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_5_7 ())) =
(va_QProc (va_code_Loop_rounds_5_7 ()) ([va_Mod_vec 7; va_Mod_vec 6; va_Mod_vec 5]) (va_wp_Loop_rounds_5_7 block) (va_wpProof_Loop_rounds_5_7 block))
false
Vale.AES.X64.AESopt.fst
Vale.AES.X64.AESopt.va_codegen_success_Load_0xc2_msb
val va_codegen_success_Load_0xc2_msb : dst:va_operand_xmm -> Tot va_pbool
val va_codegen_success_Load_0xc2_msb : dst:va_operand_xmm -> Tot va_pbool
let va_codegen_success_Load_0xc2_msb dst = (va_pbool_and (va_codegen_success_ZeroXmm dst) (va_pbool_and (va_codegen_success_PinsrqImm dst 13979173243358019584 1 (va_op_reg_opr64_reg64 rR11)) (va_ttrue ())))
{ "file_name": "obj/Vale.AES.X64.AESopt.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 105, "start_col": 0, "start_line": 103 }
module Vale.AES.X64.AESopt open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Transform", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESGCM_expected_code", "short_module": null }, { "abbrev...
{ "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
dst: Vale.X64.Decls.va_operand_xmm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_ZeroXmm", "Vale.X64.InsVector.va_codegen_success_PinsrqImm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR11", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Load_0xc2_msb dst =
(va_pbool_and (va_codegen_success_ZeroXmm dst) (va_pbool_and (va_codegen_success_PinsrqImm dst 13979173243358019584 1 (va_op_reg_opr64_reg64 rR11)) (va_ttrue ())))
false
Hacl.HKDF.fst
Hacl.HKDF.expand_sha2_512
val expand_sha2_512: expand_st SHA2_512
val expand_sha2_512: expand_st SHA2_512
let expand_sha2_512: expand_st SHA2_512 = mk_expand SHA2_512 Hacl.HMAC.compute_sha2_512
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 184, "start_col": 0, "start_line": 183 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.expand_st Spec.Hash.Definitions.SHA2_512
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_expand", "Spec.Hash.Definitions.SHA2_512", "Hacl.HMAC.compute_sha2_512", "Hacl.HKDF.expand_st" ]
[]
false
false
false
true
false
let expand_sha2_512:expand_st SHA2_512 =
mk_expand SHA2_512 Hacl.HMAC.compute_sha2_512
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_0_59_d
val va_wp_Loop_rounds_0_59_d (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_0_59_d (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_0_59_d (i:nat) (k_b:buffer128) (block:block_w) (hash_orig:hash256) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (l_or (l_or (i == 12) (i == 28)) (i == 44) /\ va_get_reg 6 va_s0 + 16 < pow2_64 /\ Vale.PPC64LE.Decls.validSrcAddrsOffset128 (va_get_mem_heap...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 693, "start_col": 0, "start_line": 634 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128 -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.PPC64LE.Memory.buffer128", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.SHA.PPC64LE.SHA_helpers.hash256", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.l_or", "Prims.eq2", "Prims.int", "Prims.op_LessThan", ...
[]
false
false
false
true
true
let va_wp_Loop_rounds_0_59_d (i: nat) (k_b: buffer128) (block: block_w) (hash_orig: hash256) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (l_or (l_or (i == 12) (i == 28)) (i == 44) /\ va_get_reg 6 va_s0 + 16 < pow2_64 /\ Vale.PPC64LE.Decls.validSrcAddrsOffset128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 6 va_s0) k_b (i `op_Division` 4 + 1) 1 (va_get_mem_layout va_s0) Secret /\ (let ks = Val...
false
Hacl.HKDF.fst
Hacl.HKDF.expand_blake2b_32
val expand_blake2b_32: expand_st Blake2B
val expand_blake2b_32: expand_st Blake2B
let expand_blake2b_32: expand_st Blake2B = mk_expand Blake2B Hacl.HMAC.compute_blake2b_32
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 196, "start_col": 0, "start_line": 195 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.expand_st Spec.Hash.Definitions.Blake2B
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_expand", "Spec.Hash.Definitions.Blake2B", "Hacl.HMAC.compute_blake2b_32", "Hacl.HKDF.expand_st" ]
[]
false
false
false
true
false
let expand_blake2b_32:expand_st Blake2B =
mk_expand Blake2B Hacl.HMAC.compute_blake2b_32
false
Hacl.HKDF.fst
Hacl.HKDF.extract_blake2b_32
val extract_blake2b_32: extract_st Blake2B
val extract_blake2b_32: extract_st Blake2B
let extract_blake2b_32: extract_st Blake2B = mk_extract Blake2B Hacl.HMAC.compute_blake2b_32
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 199, "start_col": 0, "start_line": 198 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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.HKDF.extract_st Spec.Hash.Definitions.Blake2B
Prims.Tot
[ "total" ]
[]
[ "Hacl.HKDF.mk_extract", "Spec.Hash.Definitions.Blake2B", "Hacl.HMAC.compute_blake2b_32", "Hacl.HKDF.extract_st" ]
[]
false
false
false
true
false
let extract_blake2b_32:extract_st Blake2B =
mk_extract Blake2B Hacl.HMAC.compute_blake2b_32
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_16_59_a
val va_quick_Loop_rounds_16_59_a (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_a i))
val va_quick_Loop_rounds_16_59_a (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_a i))
let va_quick_Loop_rounds_16_59_a (i:nat) (block:block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_a i)) = (va_QProc (va_code_Loop_rounds_16_59_a i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1]) (va_wp_Loop_rounds_16_59_a i block) (va_wpProof_Loop_rounds_16_5...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 1036, "start_col": 0, "start_line": 1032 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_59_a i)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_59_a", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Prims.Nil", "Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop...
[]
false
false
false
false
false
let va_quick_Loop_rounds_16_59_a (i: nat) (block: block_w) : (va_quickCode unit (va_code_Loop_rounds_16_59_a i)) =
(va_QProc (va_code_Loop_rounds_16_59_a i) ([va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1]) (va_wp_Loop_rounds_16_59_a i block) (va_wpProof_Loop_rounds_16_59_a i block))
false
Vale.SHA.PPC64LE.Rounds.Core.fsti
Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_16_59_c
val va_wp_Loop_rounds_16_59_c (i: nat) (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Loop_rounds_16_59_c (i: nat) (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Loop_rounds_16_59_c (i:nat) (block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (l_or (l_or (i == 24) (i == 40)) (i == 56) /\ l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and ((va_get_vec 2 va_s0).hi3 == ws_opaque block (i - 6)) ((v...
{ "file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 1133, "start_col": 0, "start_line": 1117 }
module Vale.SHA.PPC64LE.Rounds.Core open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memo...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_m...
{ "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
i: Prims.nat -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.SHA.PPC64LE.SHA_helpers.block_w", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Prims.l_or", "Prims.eq2", "Prims.int", "Vale.Def.Words_s.nat32", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Vale.Def.Types_s.nat3...
[]
false
false
false
true
true
let va_wp_Loop_rounds_16_59_c (i: nat) (block: block_w) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (l_or (l_or (i == 24) (i == 40)) (i == 56) /\ l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and (l_and ((va_get_vec 2 va_s0).hi3 == ws_opaque block (i - 6)) ((va_get_vec 3 va_s0).hi3 == ws_opaque ...
false