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
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.uint8
val uint8 : Type0
let uint8 = Lib.IntTypes.uint8
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 22, "start_col": 0, "start_line": 22 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint8" ]
[]
false
false
false
true
true
let uint8 =
Lib.IntTypes.uint8
false
Hacl.Bignum.Multiplication.fst
Hacl.Bignum.Multiplication.bn_mul
val bn_mul: #t:limb_t -> bn_mul_st t
val bn_mul: #t:limb_t -> bn_mul_st t
let bn_mul #t aLen a bLen b res = [@inline_let] let resLen = aLen +! bLen in memset res (uint #t 0) resLen; let h0 = ST.get () in LSeq.eq_intro (LSeq.sub (as_seq h0 res) 0 (v resLen)) (as_seq h0 res); [@ inline_let] let spec h = S.bn_mul_ (as_seq h a) (as_seq h b) in loop1 h0 bLen res spec (fun j ->...
{ "file_name": "code/bignum/Hacl.Bignum.Multiplication.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 153, "start_col": 0, "start_line": 138 }
module Hacl.Bignum.Multiplication open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base open Hacl.Impl.Lib module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module B = LowStar.Buffer module S = Hacl.Spec.Bignum.Mul...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Squaring.fst.checked",...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Squaring", "short_module": "SS" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Multiplication", "short_module": "S" }, { "a...
{ "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
Hacl.Bignum.Multiplication.bn_mul_st t
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.max_size_t", "Lib.IntTypes.op_Plus_Bang", "Lib.Buffer.loop1", "Hac...
[]
false
false
false
false
false
let bn_mul #t aLen a bLen b res =
[@@ inline_let ]let resLen = aLen +! bLen in memset res (uint #t 0) resLen; let h0 = ST.get () in LSeq.eq_intro (LSeq.sub (as_seq h0 res) 0 (v resLen)) (as_seq h0 res); [@@ inline_let ]let spec h = S.bn_mul_ (as_seq h a) (as_seq h b) in loop1 h0 bLen res spec (fun j -> Loops.unfold_repeati (v bLen) (spec ...
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.validator_error_generic
val validator_error_generic:validator_error
val validator_error_generic:validator_error
let validator_error_generic : validator_error = normalize_term (set_validator_error_kind 0uL 1uL)
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 97, "end_line": 120, "start_col": 0, "start_line": 120 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "EverParse3d.ErrorCode.validator_error", "EverParse3d.ErrorCode.set_validator_error_kind", "FStar.UInt64.__uint_to_t" ]
[]
false
false
false
true
false
let validator_error_generic:validator_error =
normalize_term (set_validator_error_kind 0uL 1uL)
false
Spec.HKDF.Test.fst
Spec.HKDF.Test.test
val test : _: Prims.unit -> FStar.All.ALL Prims.bool
let test () = let res = List.for_all test_one test_vectors in if res then begin IO.print_string "\n\nHKDF: Success!\n"; true end else begin IO.print_string "\n\nHKDF: Failure :(\n"; false end
{ "file_name": "specs/tests/Spec.HKDF.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 64, "end_line": 256, "start_col": 0, "start_line": 253 }
module Spec.HKDF.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence module PS = Lib.PrintSequence module HMAC = Spec.Agile.HMAC module HKDF = Spec.Agile.HKDF #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Test 1 let test1_hash = Spec.Hash.Definitions.SHA2_256 ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "Spec.Agile.HKDF.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.PrintSequence.fsti.checked", "Lib.IntTypes.fsti.checked...
[ { "abbrev": true, "full_module": "Spec.Agile.HKDF", "short_module": "HKDF" }, { "abbrev": true, "full_module": "Spec.Agile.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.All.ALL Prims.bool
FStar.All.ALL
[]
[]
[ "Prims.unit", "Prims.bool", "FStar.IO.print_string", "FStar.List.for_all", "Spec.HKDF.Test.vec", "Spec.HKDF.Test.test_one", "Spec.HKDF.Test.test_vectors" ]
[]
false
true
false
false
false
let test () =
let res = List.for_all test_one test_vectors in if res then (IO.print_string "\n\nHKDF: Success!\n"; true) else (IO.print_string "\n\nHKDF: Failure :(\n"; false)
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.validator_max_length
val validator_max_length:(u: U64.t{4 <= U64.v u /\ U64.v u == pow2 pos_width - 1})
val validator_max_length:(u: U64.t{4 <= U64.v u /\ U64.v u == pow2 pos_width - 1})
let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1 } ) = FStar.Math.Lemmas.pow2_le_compat 64 pos_width; [@inline_let] let x = U64.uint_to_t (pow2 pos_width - 1) in normalize_term_spec x; normalize_term x
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 18, "end_line": 20, "start_col": 0, "start_line": 15 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width)
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "EverParse3d", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
u0: FStar.UInt64.t {4 <= FStar.UInt64.v u0 /\ FStar.UInt64.v u0 == Prims.pow2 EverParse3d.ErrorCode.pos_width - 1}
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "FStar.UInt64.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt64.v", "Prims.eq2", "Prims.int", "Prims.op_Subtraction", "Prims.pow2", "EverParse3d.ErrorCode.pos_width", "Prims.unit", "FStar.Pervasives.normalize_term_spec", "FStar.UIn...
[]
false
false
false
false
false
let validator_max_length:(u: U64.t{4 <= U64.v u /\ U64.v u == pow2 pos_width - 1}) =
FStar.Math.Lemmas.pow2_le_compat 64 pos_width; [@@ inline_let ]let x = U64.uint_to_t (pow2 pos_width - 1) in normalize_term_spec x; normalize_term x
false
Spec.HKDF.Test.fst
Spec.HKDF.Test.test2_expected_okm
val test2_expected_okm:lbytes 82
val test2_expected_okm:lbytes 82
let test2_expected_okm : lbytes 82 = let l = List.Tot.map u8_from_UInt8 [ 0xb1uy; 0x1euy; 0x39uy; 0x8duy; 0xc8uy; 0x03uy; 0x27uy; 0xa1uy; 0xc8uy; 0xe7uy; 0xf7uy; 0x8cuy; 0x59uy; 0x6auy; 0x49uy; 0x34uy; 0x4fuy; 0x01uy; 0x2euy; 0xdauy; 0x2duy; 0x4euy; 0xfauy; 0xd8uy; 0xa0uy; 0x50uy; 0xccuy; 0x4cuy; 0x19...
{ "file_name": "specs/tests/Spec.HKDF.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 154, "start_col": 0, "start_line": 139 }
module Spec.HKDF.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence module PS = Lib.PrintSequence module HMAC = Spec.Agile.HMAC module HKDF = Spec.Agile.HKDF #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Test 1 let test1_hash = Spec.Hash.Definitions.SHA2_256 ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "Spec.Agile.HKDF.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.PrintSequence.fsti.checked", "Lib.IntTypes.fsti.checked...
[ { "abbrev": true, "full_module": "Spec.Agile.HKDF", "short_module": "HKDF" }, { "abbrev": true, "full_module": "Spec.Agile.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_m...
{ "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
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 82
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let test2_expected_okm:lbytes 82 =
let l = List.Tot.map u8_from_UInt8 [ 0xb1uy; 0x1euy; 0x39uy; 0x8duy; 0xc8uy; 0x03uy; 0x27uy; 0xa1uy; 0xc8uy; 0xe7uy; 0xf7uy; 0x8cuy; 0x59uy; 0x6auy; 0x49uy; 0x34uy; 0x4fuy; 0x01uy; 0x2euy; 0xdauy; 0x2duy; 0x4euy; 0xfauy; 0xd8uy; 0xa0uy; 0x50uy; 0xccuy; 0x4cuy; 0x19uy; 0xafuy; 0xa9uy; 0x7cuy; 0x5...
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.validator_error_not_enough_data
val validator_error_not_enough_data:validator_error
val validator_error_not_enough_data:validator_error
let validator_error_not_enough_data : validator_error = normalize_term (set_validator_error_kind 0uL 2uL)
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 105, "end_line": 123, "start_col": 0, "start_line": 123 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "EverParse3d.ErrorCode.validator_error", "EverParse3d.ErrorCode.set_validator_error_kind", "FStar.UInt64.__uint_to_t" ]
[]
false
false
false
true
false
let validator_error_not_enough_data:validator_error =
normalize_term (set_validator_error_kind 0uL 2uL)
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.finish_
val finish_ : k: Spec.Poly1305.key -> _: (Spec.Poly1305.felem * _) -> Spec.Poly1305.tag
let finish_ k (acc, r) = Spec.Poly1305.poly1305_finish k acc
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 170, "start_col": 0, "start_line": 169 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Spec.Poly1305.key -> _: (Spec.Poly1305.felem * _) -> Spec.Poly1305.tag
Prims.Tot
[ "total" ]
[]
[ "Spec.Poly1305.key", "FStar.Pervasives.Native.tuple2", "Spec.Poly1305.felem", "Spec.Poly1305.poly1305_finish", "Spec.Poly1305.tag" ]
[]
false
false
false
true
false
let finish_ k (acc, r) =
Spec.Poly1305.poly1305_finish k acc
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.spec
val spec : k: Spec.Poly1305.key -> input: Lib.ByteSequence.bytes -> Spec.Poly1305.tag
let spec k input = Spec.Poly1305.poly1305_mac input k
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 174, "start_col": 0, "start_line": 173 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Spec.Poly1305.key -> input: Lib.ByteSequence.bytes -> Spec.Poly1305.tag
Prims.Tot
[ "total" ]
[]
[ "Spec.Poly1305.key", "Lib.ByteSequence.bytes", "Spec.Poly1305.poly1305_mac", "Spec.Poly1305.tag" ]
[]
false
false
false
true
false
let spec k input =
Spec.Poly1305.poly1305_mac input k
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.validator_error_impossible
val validator_error_impossible:validator_error
val validator_error_impossible:validator_error
let validator_error_impossible : validator_error = normalize_term (set_validator_error_kind 0uL 3uL)
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 100, "end_line": 126, "start_col": 0, "start_line": 126 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "EverParse3d.ErrorCode.validator_error", "EverParse3d.ErrorCode.set_validator_error_kind", "FStar.UInt64.__uint_to_t" ]
[]
false
false
false
true
false
let validator_error_impossible:validator_error =
normalize_term (set_validator_error_kind 0uL 3uL)
false
Spec.HKDF.Test.fst
Spec.HKDF.Test.test3_expected_okm
val test3_expected_okm:lbytes 42
val test3_expected_okm:lbytes 42
let test3_expected_okm : lbytes 42 = let l = List.Tot.map u8_from_UInt8 [ 0x8duy; 0xa4uy; 0xe7uy; 0x75uy; 0xa5uy; 0x63uy; 0xc1uy; 0x8fuy; 0x71uy; 0x5fuy; 0x80uy; 0x2auy; 0x06uy; 0x3cuy; 0x5auy; 0x31uy; 0xb8uy; 0xa1uy; 0x1fuy; 0x5cuy; 0x5euy; 0xe1uy; 0x87uy; 0x9euy; 0xc3uy; 0x45uy; 0x4euy; 0x5fuy; 0x3c...
{ "file_name": "specs/tests/Spec.HKDF.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 205, "start_col": 0, "start_line": 195 }
module Spec.HKDF.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence module PS = Lib.PrintSequence module HMAC = Spec.Agile.HMAC module HKDF = Spec.Agile.HKDF #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Test 1 let test1_hash = Spec.Hash.Definitions.SHA2_256 ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "Spec.Agile.HKDF.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.PrintSequence.fsti.checked", "Lib.IntTypes.fsti.checked...
[ { "abbrev": true, "full_module": "Spec.Agile.HKDF", "short_module": "HKDF" }, { "abbrev": true, "full_module": "Spec.Agile.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_m...
{ "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
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 42
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let test3_expected_okm:lbytes 42 =
let l = List.Tot.map u8_from_UInt8 [ 0x8duy; 0xa4uy; 0xe7uy; 0x75uy; 0xa5uy; 0x63uy; 0xc1uy; 0x8fuy; 0x71uy; 0x5fuy; 0x80uy; 0x2auy; 0x06uy; 0x3cuy; 0x5auy; 0x31uy; 0xb8uy; 0xa1uy; 0x1fuy; 0x5cuy; 0x5euy; 0xe1uy; 0x87uy; 0x9euy; 0xc3uy; 0x45uy; 0x4euy; 0x5fuy; 0x3cuy; 0x73uy; 0x8duy; 0x2duy; 0x9...
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.get_validator_error_field
val get_validator_error_field (x: U64.t) (lo: nat) (hi: nat{lo < hi /\ hi <= error_width}) : Tot (code: U64.t{0 <= U64.v code /\ U64.v code < pow2 (hi - lo)})
val get_validator_error_field (x: U64.t) (lo: nat) (hi: nat{lo < hi /\ hi <= error_width}) : Tot (code: U64.t{0 <= U64.v code /\ U64.v code < pow2 (hi - lo)})
let get_validator_error_field (x: U64.t) (lo: nat) (hi: nat { lo < hi /\ hi <= error_width }) : Tot (code: U64.t { 0 <= U64.v code /\ U64.v code < pow2 (hi - lo) }) = [@inline_let] let res = BF.uint64.BF.get_bitfield x (pos_width + lo) (pos_width + hi) in res
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 45, "start_col": 0, "start_line": 40 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt64.t -> lo: Prims.nat -> hi: Prims.nat{lo < hi /\ hi <= EverParse3d.ErrorCode.error_width} -> code: FStar.UInt64.t{0 <= FStar.UInt64.v code /\ FStar.UInt64.v code < Prims.pow2 (hi - lo)}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "EverParse3d.ErrorCode.error_width", "Prims.eq2", "FStar.UInt.uint_t", "LowParse.BitFields.__proj__Mkuint_t__item__v", "LowParse.BitFields.uint64", "LowParse.BitFields.get_bitfield", "...
[]
false
false
false
false
false
let get_validator_error_field (x: U64.t) (lo: nat) (hi: nat{lo < hi /\ hi <= error_width}) : Tot (code: U64.t{0 <= U64.v code /\ U64.v code < pow2 (hi - lo)}) =
[@@ inline_let ]let res = BF.uint64.BF.get_bitfield x (pos_width + lo) (pos_width + hi) in res
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.validator_error_list_size_not_multiple
val validator_error_list_size_not_multiple:validator_error
val validator_error_list_size_not_multiple:validator_error
let validator_error_list_size_not_multiple : validator_error = normalize_term (set_validator_error_kind 0uL 4uL)
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 112, "end_line": 129, "start_col": 0, "start_line": 129 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "EverParse3d.ErrorCode.validator_error", "EverParse3d.ErrorCode.set_validator_error_kind", "FStar.UInt64.__uint_to_t" ]
[]
false
false
false
true
false
let validator_error_list_size_not_multiple:validator_error =
normalize_term (set_validator_error_kind 0uL 4uL)
false
Spec.HKDF.Test.fst
Spec.HKDF.Test.test3_expected_prk
val test3_expected_prk:lbytes 32
val test3_expected_prk:lbytes 32
let test3_expected_prk : lbytes 32 = let l = List.Tot.map u8_from_UInt8 [ 0x19uy; 0xefuy; 0x24uy; 0xa3uy; 0x2cuy; 0x71uy; 0x7buy; 0x16uy; 0x7fuy; 0x33uy; 0xa9uy; 0x1duy; 0x6fuy; 0x64uy; 0x8buy; 0xdfuy; 0x96uy; 0x59uy; 0x67uy; 0x76uy; 0xafuy; 0xdbuy; 0x63uy; 0x77uy; 0xacuy; 0x43uy; 0x4cuy; 0x1cuy; 0x29...
{ "file_name": "specs/tests/Spec.HKDF.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 192, "start_col": 0, "start_line": 184 }
module Spec.HKDF.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence module PS = Lib.PrintSequence module HMAC = Spec.Agile.HMAC module HKDF = Spec.Agile.HKDF #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Test 1 let test1_hash = Spec.Hash.Definitions.SHA2_256 ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "Spec.Agile.HKDF.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.PrintSequence.fsti.checked", "Lib.IntTypes.fsti.checked...
[ { "abbrev": true, "full_module": "Spec.Agile.HKDF", "short_module": "HKDF" }, { "abbrev": true, "full_module": "Spec.Agile.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_m...
{ "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
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 32
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let test3_expected_prk:lbytes 32 =
let l = List.Tot.map u8_from_UInt8 [ 0x19uy; 0xefuy; 0x24uy; 0xa3uy; 0x2cuy; 0x71uy; 0x7buy; 0x16uy; 0x7fuy; 0x33uy; 0xa9uy; 0x1duy; 0x6fuy; 0x64uy; 0x8buy; 0xdfuy; 0x96uy; 0x59uy; 0x67uy; 0x76uy; 0xafuy; 0xdbuy; 0x63uy; 0x77uy; 0xacuy; 0x43uy; 0x4cuy; 0x1cuy; 0x29uy; 0x3cuy; 0xcbuy; 0x04uy ...
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.get_validator_error_pos
val get_validator_error_pos (x: U64.t) : Tot pos_t
val get_validator_error_pos (x: U64.t) : Tot pos_t
let get_validator_error_pos (x: U64.t) : Tot pos_t = (BF.uint64.BF.get_bitfield x 0 pos_width)
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 43, "end_line": 91, "start_col": 0, "start_line": 90 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt64.t -> EverParse3d.ErrorCode.pos_t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "LowParse.BitFields.__proj__Mkuint_t__item__get_bitfield", "LowParse.BitFields.uint64", "EverParse3d.ErrorCode.pos_width", "EverParse3d.ErrorCode.pos_t" ]
[]
false
false
false
true
false
let get_validator_error_pos (x: U64.t) : Tot pos_t =
(BF.uint64.BF.get_bitfield x 0 pos_width)
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.get_validator_error_kind
val get_validator_error_kind (error: U64.t) : Tot (code: U64.t{0 <= U64.v code /\ U64.v code < normalize_term (pow2 error_width)})
val get_validator_error_kind (error: U64.t) : Tot (code: U64.t{0 <= U64.v code /\ U64.v code < normalize_term (pow2 error_width)})
let get_validator_error_kind (error: U64.t) : Tot (code: U64.t { 0 <= U64.v code /\ U64.v code < normalize_term (pow2 error_width) }) = normalize_term_spec (pow2 error_width); get_validator_error_field error 0 error_width
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 47, "end_line": 99, "start_col": 0, "start_line": 97 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
error: FStar.UInt64.t -> code: FStar.UInt64.t { 0 <= FStar.UInt64.v code /\ FStar.UInt64.v code < FStar.Pervasives.normalize_term (Prims.pow2 EverParse3d.ErrorCode.error_width) }
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "EverParse3d.ErrorCode.get_validator_error_field", "EverParse3d.ErrorCode.error_width", "Prims.unit", "FStar.Pervasives.normalize_term_spec", "Prims.pos", "Prims.pow2", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt64.v", "Prims.op_LessThan", "FStar.Per...
[]
false
false
false
false
false
let get_validator_error_kind (error: U64.t) : Tot (code: U64.t{0 <= U64.v code /\ U64.v code < normalize_term (pow2 error_width)}) =
normalize_term_spec (pow2 error_width); get_validator_error_field error 0 error_width
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.set_validator_error_field
val set_validator_error_field (x: U64.t) (lo: nat) (hi: nat{lo < hi /\ hi <= error_width}) (code: U64.t{0 < U64.v code /\ U64.v code < pow2 (hi - lo)}) : Tot validator_error
val set_validator_error_field (x: U64.t) (lo: nat) (hi: nat{lo < hi /\ hi <= error_width}) (code: U64.t{0 < U64.v code /\ U64.v code < pow2 (hi - lo)}) : Tot validator_error
let set_validator_error_field (x: U64.t) (lo: nat) (hi: nat { lo < hi /\ hi <= error_width }) (code: U64.t { 0 < U64.v code /\ U64.v code < pow2 (hi - lo) }) : Tot validator_error = [@inline_let] let res = BF.uint64.BF.set_bitfield x (pos_width + lo) (pos_width + hi) code in [@inline_let] let _ = BF.g...
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 62, "start_col": 0, "start_line": 49 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt64.t -> lo: Prims.nat -> hi: Prims.nat{lo < hi /\ hi <= EverParse3d.ErrorCode.error_width} -> code: FStar.UInt64.t{0 < FStar.UInt64.v code /\ FStar.UInt64.v code < Prims.pow2 (hi - lo)} -> EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "EverParse3d.ErrorCode.error_width", "FStar.UInt64.v", "Prims.pow2", "Prims.op_Subtraction", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "EverParse3d.Er...
[]
false
false
false
false
false
let set_validator_error_field (x: U64.t) (lo: nat) (hi: nat{lo < hi /\ hi <= error_width}) (code: U64.t{0 < U64.v code /\ U64.v code < pow2 (hi - lo)}) : Tot validator_error =
[@@ inline_let ]let res = BF.uint64.BF.set_bitfield x (pos_width + lo) (pos_width + hi) code in [@@ inline_let ]let _ = BF.get_bitfield_set_bitfield_same #64 (U64.v x) (pos_width + lo) (pos_width + hi) (U64.v code); BF.get_bitfield_zero_inner (U64.v res) pos_width 64 (pos_width + lo) (pos_width + hi); assert (BF....
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.get_validator_error_pos_eq_pos
val get_validator_error_pos_eq_pos (x: pos_t) : Lemma (get_validator_error_pos x == x) [SMTPat (get_validator_error_pos x)]
val get_validator_error_pos_eq_pos (x: pos_t) : Lemma (get_validator_error_pos x == x) [SMTPat (get_validator_error_pos x)]
let get_validator_error_pos_eq_pos (x: pos_t) : Lemma (get_validator_error_pos x == x) [SMTPat (get_validator_error_pos x)] = BF.get_bitfield_size pos_width 64 (U64.v x) 0 pos_width; BF.get_bitfield_full #pos_width (U64.v x); BF.lt_pow2_get_bitfield_hi #64 (U64.v x) (64 - error_width); assert (BF.get_bitfield...
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 58, "end_line": 117, "start_col": 0, "start_line": 107 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.ErrorCode.pos_t -> FStar.Pervasives.Lemma (ensures EverParse3d.ErrorCode.get_validator_error_pos x == x) [SMTPat (EverParse3d.ErrorCode.get_validator_error_pos x)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "EverParse3d.ErrorCode.pos_t", "LowParse.BitFields.get_bitfield_partition_2", "Prims.op_Subtraction", "EverParse3d.ErrorCode.error_width", "FStar.UInt64.v", "LowParse.BitFields.__proj__Mkuint_t__item__set_bitfield", "FStar.UInt64.t", "LowParse.BitFields.uint64", "EverParse3d.ErrorCode.pos_width", ...
[]
true
false
true
false
false
let get_validator_error_pos_eq_pos (x: pos_t) : Lemma (get_validator_error_pos x == x) [SMTPat (get_validator_error_pos x)] =
BF.get_bitfield_size pos_width 64 (U64.v x) 0 pos_width; BF.get_bitfield_full #pos_width (U64.v x); BF.lt_pow2_get_bitfield_hi #64 (U64.v x) (64 - error_width); assert (BF.get_bitfield #64 (U64.v x) pos_width 64 == 0); BF.get_bitfield_set_bitfield_other #64 (U64.v x) pos_width 64 0 0 pos_width; BF.get_bitfield_set_bitf...
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.validator_error_action_failed
val validator_error_action_failed:validator_error
val validator_error_action_failed:validator_error
let validator_error_action_failed : validator_error = normalize_term (set_validator_error_kind 0uL 5uL)
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 103, "end_line": 132, "start_col": 0, "start_line": 132 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "EverParse3d.ErrorCode.validator_error", "EverParse3d.ErrorCode.set_validator_error_kind", "FStar.UInt64.__uint_to_t" ]
[]
false
false
false
true
false
let validator_error_action_failed:validator_error =
normalize_term (set_validator_error_kind 0uL 5uL)
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.set_validator_error_kind
val set_validator_error_kind (error: U64.t) (code: U64.t{0 < U64.v code /\ U64.v code < normalize_term (pow2 error_width)}) : Tot validator_error
val set_validator_error_kind (error: U64.t) (code: U64.t{0 < U64.v code /\ U64.v code < normalize_term (pow2 error_width)}) : Tot validator_error
let set_validator_error_kind (error: U64.t) (code: U64.t { 0 < U64.v code /\ U64.v code < normalize_term (pow2 error_width) }) : Tot validator_error = normalize_term_spec (pow2 error_width); set_validator_error_field error 0 error_width code
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 52, "end_line": 95, "start_col": 0, "start_line": 93 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
error: FStar.UInt64.t -> code: FStar.UInt64.t { 0 < FStar.UInt64.v code /\ FStar.UInt64.v code < FStar.Pervasives.normalize_term (Prims.pow2 EverParse3d.ErrorCode.error_width) } -> EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt64.v", "FStar.Pervasives.normalize_term", "Prims.int", "Prims.pow2", "EverParse3d.ErrorCode.error_width", "EverParse3d.ErrorCode.set_validator_error_field", "Prims.unit", "FStar.Pervasives.normalize_term_spec", "Pr...
[]
false
false
false
false
false
let set_validator_error_kind (error: U64.t) (code: U64.t{0 < U64.v code /\ U64.v code < normalize_term (pow2 error_width)}) : Tot validator_error =
normalize_term_spec (pow2 error_width); set_validator_error_field error 0 error_width code
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.validator_error_constraint_failed
val validator_error_constraint_failed:validator_error
val validator_error_constraint_failed:validator_error
let validator_error_constraint_failed : validator_error = normalize_term (set_validator_error_kind 0uL 6uL)
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 107, "end_line": 135, "start_col": 0, "start_line": 135 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "EverParse3d.ErrorCode.validator_error", "EverParse3d.ErrorCode.set_validator_error_kind", "FStar.UInt64.__uint_to_t" ]
[]
false
false
false
true
false
let validator_error_constraint_failed:validator_error =
normalize_term (set_validator_error_kind 0uL 6uL)
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.set_validator_error_pos
val set_validator_error_pos (error: validator_error) (position: pos_t) : Tot validator_error
val set_validator_error_pos (error: validator_error) (position: pos_t) : Tot validator_error
let set_validator_error_pos (error: validator_error) (position: pos_t) : Tot validator_error = [@inline_let] let res = BF.uint64.BF.set_bitfield error 0 pos_width position in [@inline_let] let _ = BF.get_bitfield_set_bitfield_other (U64.v error) 0 pos_width (U64.v position) pos_width 64; assert (B...
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 86, "start_col": 0, "start_line": 73 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
error: EverParse3d.ErrorCode.validator_error -> position: EverParse3d.ErrorCode.pos_t -> EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.ErrorCode.validator_error", "EverParse3d.ErrorCode.pos_t", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "Prims.pow2", "EverParse3d.ErrorCode.pos_width", "Prims.op_Addition", "FStar.UInt64.v", "EverParse3d.ErrorCode.validator_max_length", "FStar.Classical...
[]
false
false
false
true
false
let set_validator_error_pos (error: validator_error) (position: pos_t) : Tot validator_error =
[@@ inline_let ]let res = BF.uint64.BF.set_bitfield error 0 pos_width position in [@@ inline_let ]let _ = BF.get_bitfield_set_bitfield_other (U64.v error) 0 pos_width (U64.v position) pos_width 64; assert (BF.get_bitfield (U64.v res) pos_width 64 == BF.get_bitfield (U64.v error) pos_width 64); Classical.move_requ...
false
Spec.HKDF.Test.fst
Spec.HKDF.Test.test2_salt
val test2_salt:lbytes 80
val test2_salt:lbytes 80
let test2_salt : lbytes 80 = let l = List.Tot.map u8_from_UInt8 [ 0x60uy; 0x61uy; 0x62uy; 0x63uy; 0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x69uy; 0x6auy; 0x6buy; 0x6cuy; 0x6duy; 0x6euy; 0x6fuy; 0x70uy; 0x71uy; 0x72uy; 0x73uy; 0x74uy; 0x75uy; 0x76uy; 0x77uy; 0x78uy; 0x79uy; 0x7auy; 0x7buy; 0x7cuy; 0x7d...
{ "file_name": "specs/tests/Spec.HKDF.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 107, "start_col": 0, "start_line": 93 }
module Spec.HKDF.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence module PS = Lib.PrintSequence module HMAC = Spec.Agile.HMAC module HKDF = Spec.Agile.HKDF #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Test 1 let test1_hash = Spec.Hash.Definitions.SHA2_256 ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "Spec.Agile.HKDF.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.PrintSequence.fsti.checked", "Lib.IntTypes.fsti.checked...
[ { "abbrev": true, "full_module": "Spec.Agile.HKDF", "short_module": "HKDF" }, { "abbrev": true, "full_module": "Spec.Agile.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_m...
{ "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
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 80
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let test2_salt:lbytes 80 =
let l = List.Tot.map u8_from_UInt8 [ 0x60uy; 0x61uy; 0x62uy; 0x63uy; 0x64uy; 0x65uy; 0x66uy; 0x67uy; 0x68uy; 0x69uy; 0x6auy; 0x6buy; 0x6cuy; 0x6duy; 0x6euy; 0x6fuy; 0x70uy; 0x71uy; 0x72uy; 0x73uy; 0x74uy; 0x75uy; 0x76uy; 0x77uy; 0x78uy; 0x79uy; 0x7auy; 0x7buy; 0x7cuy; 0x7duy; 0x7euy; 0x7fuy; 0x8...
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.error_reason_of_result
val error_reason_of_result (code: U64.t) : string
val error_reason_of_result (code: U64.t) : string
let error_reason_of_result (code:U64.t) : string = match (get_validator_error_kind code) with | 1uL -> "generic error" | 2uL -> "not enough data" | 3uL -> "impossible" | 4uL -> "list size not multiple of element size" | 5uL -> "action failed" | 6uL -> "constraint failed" | 7uL -> "unexpected padding" ...
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 22, "end_line": 149, "start_col": 0, "start_line": 140 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
code: FStar.UInt64.t -> Prims.string
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "EverParse3d.ErrorCode.get_validator_error_kind", "Prims.string" ]
[]
false
false
false
true
false
let error_reason_of_result (code: U64.t) : string =
match (get_validator_error_kind code) with | 1uL -> "generic error" | 2uL -> "not enough data" | 3uL -> "impossible" | 4uL -> "list size not multiple of element size" | 5uL -> "action failed" | 6uL -> "constraint failed" | 7uL -> "unexpected padding" | _ -> "unspecified"
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.get_validator_error_kind_set_validator_error_kind
val get_validator_error_kind_set_validator_error_kind (error: U64.t) (code: U64.t{0 < U64.v code /\ U64.v code < normalize_term (pow2 error_width)}) : Lemma (get_validator_error_kind (set_validator_error_kind error code) == code) [SMTPat (get_validator_error_kind (set_validator_error_kind error co...
val get_validator_error_kind_set_validator_error_kind (error: U64.t) (code: U64.t{0 < U64.v code /\ U64.v code < normalize_term (pow2 error_width)}) : Lemma (get_validator_error_kind (set_validator_error_kind error code) == code) [SMTPat (get_validator_error_kind (set_validator_error_kind error co...
let get_validator_error_kind_set_validator_error_kind (error: U64.t) (code: U64.t {0 < U64.v code /\ U64.v code < normalize_term (pow2 error_width)}) : Lemma (get_validator_error_kind (set_validator_error_kind error code) == code) [SMTPat (get_validator_error_kind (set_validator_error_kind error code))] = assert_no...
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 78, "end_line": 105, "start_col": 0, "start_line": 101 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
error: FStar.UInt64.t -> code: FStar.UInt64.t { 0 < FStar.UInt64.v code /\ FStar.UInt64.v code < FStar.Pervasives.normalize_term (Prims.pow2 EverParse3d.ErrorCode.error_width) } -> FStar.Pervasives.Lemma (ensures EverParse3d.ErrorCode.get_validator_error_kind (...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.UInt64.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt64.v", "FStar.Pervasives.normalize_term", "Prims.int", "Prims.pow2", "EverParse3d.ErrorCode.error_width", "EverParse3d.ErrorCode.get_validator_error_field_set_validator_error_field", "Prims.unit", "FStar.Pervasives.a...
[]
true
false
true
false
false
let get_validator_error_kind_set_validator_error_kind (error: U64.t) (code: U64.t{0 < U64.v code /\ U64.v code < normalize_term (pow2 error_width)}) : Lemma (get_validator_error_kind (set_validator_error_kind error code) == code) [SMTPat (get_validator_error_kind (set_validator_error_kind error co...
assert_norm (normalize_term (pow2 error_width) == pow2 error_width); get_validator_error_field_set_validator_error_field error 0 error_width code
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.validator_error_unexpected_padding
val validator_error_unexpected_padding:validator_error
val validator_error_unexpected_padding:validator_error
let validator_error_unexpected_padding : validator_error = normalize_term (set_validator_error_kind 0uL 7uL)
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 108, "end_line": 138, "start_col": 0, "start_line": 138 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
EverParse3d.ErrorCode.validator_error
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "EverParse3d.ErrorCode.validator_error", "EverParse3d.ErrorCode.set_validator_error_kind", "FStar.UInt64.__uint_to_t" ]
[]
false
false
false
true
false
let validator_error_unexpected_padding:validator_error =
normalize_term (set_validator_error_kind 0uL 7uL)
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.pow2_128
val pow2_128 : Prims.int
let pow2_128 = Vale.Def.Words_s.pow2_128
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 8, "start_col": 7, "start_line": 8 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Prims.int
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Words_s.pow2_128" ]
[]
false
false
false
true
false
let pow2_128 =
Vale.Def.Words_s.pow2_128
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.pow2_64
val pow2_64 : Prims.int
let pow2_64 = Vale.Def.Words_s.pow2_64
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 7, "start_col": 7, "start_line": 7 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = ()
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Prims.int
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Words_s.pow2_64" ]
[]
false
false
false
true
false
let pow2_64 =
Vale.Def.Words_s.pow2_64
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.pow2_32
val pow2_32 : Prims.int
let pow2_32 = Vale.Def.Words_s.pow2_32
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 6, "start_col": 7, "start_line": 6 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Prims.int
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Words_s.pow2_32" ]
[]
false
false
false
true
false
let pow2_32 =
Vale.Def.Words_s.pow2_32
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.nat64
val nat64 : Type0
let nat64 = Vale.Def.Types_s.nat64
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 10, "start_col": 7, "start_line": 10 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat64" ]
[]
false
false
false
true
true
let nat64 =
Vale.Def.Types_s.nat64
false
Hacl.Impl.Salsa20.Core32.fst
Hacl.Impl.Salsa20.Core32.index
val index : Type0
let index = i:size_t{size_v i < 16}
{ "file_name": "code/salsa20/Hacl.Impl.Salsa20.Core32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 16, "start_col": 0, "start_line": 16 }
module Hacl.Impl.Salsa20.Core32 open FStar.HyperStack open FStar.HyperStack.All open Lib.IntTypes open Lib.Sequence open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module Spec = Spec.Salsa20
{ "checked_file": "/", "dependencies": [ "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.f...
[ { "abbrev": true, "full_module": "Spec.Salsa20", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "Lib.ByteBuffer", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.size_v" ]
[]
false
false
false
true
true
let index =
i: size_t{size_v i < 16}
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.fCarry
val fCarry:flag
val fCarry:flag
let fCarry : flag = 0
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 18, "start_col": 19, "start_line": 18 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.flag
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let fCarry:flag =
0
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.nat128
val nat128 : Type0
let nat128 = Vale.Def.Words_s.nat128
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 13, "start_col": 7, "start_line": 13 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Words_s.nat128" ]
[]
false
false
false
true
true
let nat128 =
Vale.Def.Words_s.nat128
false
Hacl.Impl.Salsa20.Core32.fst
Hacl.Impl.Salsa20.Core32.state
val state : Type0
let state = lbuffer uint32 16ul
{ "file_name": "code/salsa20/Hacl.Impl.Salsa20.Core32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 15, "start_col": 0, "start_line": 15 }
module Hacl.Impl.Salsa20.Core32 open FStar.HyperStack open FStar.HyperStack.All open Lib.IntTypes open Lib.Sequence open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module Spec = Spec.Salsa20
{ "checked_file": "/", "dependencies": [ "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.f...
[ { "abbrev": true, "full_module": "Spec.Salsa20", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "Lib.ByteBuffer", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint32", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let state =
lbuffer uint32 16ul
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.quad32
val quad32 : Prims.eqtype
let quad32 = Vale.Def.Types_s.quad32
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 14, "start_col": 7, "start_line": 14 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.quad32" ]
[]
false
false
false
true
false
let quad32 =
Vale.Def.Types_s.quad32
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.fOverflow
val fOverflow:flag
val fOverflow:flag
let fOverflow : flag = 11
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 19, "start_col": 19, "start_line": 19 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.flag
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let fOverflow:flag =
11
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_file_id
val reg_file_id : Type0
let reg_file_id = rf:nat{rf < n_reg_files}
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 22, "start_col": 0, "start_line": 22 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Vale.X64.Machine_s.n_reg_files" ]
[]
false
false
false
true
true
let reg_file_id =
rf: nat{rf < n_reg_files}
false
Spec.HKDF.Test.fst
Spec.HKDF.Test.test2_info
val test2_info:lbytes 80
val test2_info:lbytes 80
let test2_info : lbytes 80 = let l = List.Tot.map u8_from_UInt8 [ 0xb0uy; 0xb1uy; 0xb2uy; 0xb3uy; 0xb4uy; 0xb5uy; 0xb6uy; 0xb7uy; 0xb8uy; 0xb9uy; 0xbauy; 0xbbuy; 0xbcuy; 0xbduy; 0xbeuy; 0xbfuy; 0xc0uy; 0xc1uy; 0xc2uy; 0xc3uy; 0xc4uy; 0xc5uy; 0xc6uy; 0xc7uy; 0xc8uy; 0xc9uy; 0xcauy; 0xcbuy; 0xccuy; 0xcd...
{ "file_name": "specs/tests/Spec.HKDF.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 124, "start_col": 0, "start_line": 110 }
module Spec.HKDF.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence module PS = Lib.PrintSequence module HMAC = Spec.Agile.HMAC module HKDF = Spec.Agile.HKDF #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Test 1 let test1_hash = Spec.Hash.Definitions.SHA2_256 ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "Spec.Agile.HKDF.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.PrintSequence.fsti.checked", "Lib.IntTypes.fsti.checked...
[ { "abbrev": true, "full_module": "Spec.Agile.HKDF", "short_module": "HKDF" }, { "abbrev": true, "full_module": "Spec.Agile.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_m...
{ "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
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 80
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let test2_info:lbytes 80 =
let l = List.Tot.map u8_from_UInt8 [ 0xb0uy; 0xb1uy; 0xb2uy; 0xb3uy; 0xb4uy; 0xb5uy; 0xb6uy; 0xb7uy; 0xb8uy; 0xb9uy; 0xbauy; 0xbbuy; 0xbcuy; 0xbduy; 0xbeuy; 0xbfuy; 0xc0uy; 0xc1uy; 0xc2uy; 0xc3uy; 0xc4uy; 0xc5uy; 0xc6uy; 0xc7uy; 0xc8uy; 0xc9uy; 0xcauy; 0xcbuy; 0xccuy; 0xcduy; 0xceuy; 0xcfuy; 0xd...
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.check_constraint_ok
val check_constraint_ok (ok: bool) (position: pos_t) : Tot U64.t
val check_constraint_ok (ok: bool) (position: pos_t) : Tot U64.t
let check_constraint_ok (ok:bool) (position: pos_t): Tot U64.t = if ok then position else set_validator_error_pos validator_error_constraint_failed position
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 77, "end_line": 154, "start_col": 0, "start_line": 151 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
ok: Prims.bool -> position: EverParse3d.ErrorCode.pos_t -> FStar.UInt64.t
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "EverParse3d.ErrorCode.pos_t", "EverParse3d.ErrorCode.set_validator_error_pos", "EverParse3d.ErrorCode.validator_error_constraint_failed", "FStar.UInt64.t" ]
[]
false
false
false
true
false
let check_constraint_ok (ok: bool) (position: pos_t) : Tot U64.t =
if ok then position else set_validator_error_pos validator_error_constraint_failed position
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.t_reg
val t_reg (r: reg) : Type0
val t_reg (r: reg) : Type0
let t_reg (r:reg) : Type0 = t_reg_file r.rf
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 38, "start_col": 0, "start_line": 38 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
r: Vale.X64.Machine_s.reg -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.reg", "Vale.X64.Machine_s.t_reg_file", "Vale.X64.Machine_s.__proj__Reg__item__rf" ]
[]
false
false
false
true
true
let t_reg (r: reg) : Type0 =
t_reg_file r.rf
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.n_reg_files
val n_reg_files : Prims.int
let n_reg_files = 2
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 19, "end_line": 21, "start_col": 0, "start_line": 21 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Prims.int
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let n_reg_files =
2
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_id
val reg_id (rf: reg_file_id) : Type0
val reg_id (rf: reg_file_id) : Type0
let reg_id (rf:reg_file_id) : Type0 = r:nat{r < n_regs rf}
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 32, "start_col": 0, "start_line": 32 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
rf: Vale.X64.Machine_s.reg_file_id -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.reg_file_id", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Vale.X64.Machine_s.n_regs" ]
[]
false
false
false
true
true
let reg_id (rf: reg_file_id) : Type0 =
r: nat{r < n_regs rf}
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_64
val reg_64:Type0
val reg_64:Type0
let reg_64 : Type0 = r:nat{r < 16}
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 68, "start_col": 0, "start_line": 68 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThan" ]
[]
false
false
false
true
true
let reg_64:Type0 =
r: nat{r < 16}
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_xmm
val reg_xmm:Type0
val reg_xmm:Type0
let reg_xmm : Type0 = r:nat{r < 16}
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 69, "start_col": 0, "start_line": 69 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThan" ]
[]
false
false
false
true
true
let reg_xmm:Type0 =
r: nat{r < 16}
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rRcx
val rRcx:reg_64
val rRcx:reg_64
let rRcx : reg_64 = 2
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 73, "start_col": 19, "start_line": 73 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rRcx:reg_64 =
2
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rRbx
val rRbx:reg_64
val rRbx:reg_64
let rRbx : reg_64 = 1
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 72, "start_col": 19, "start_line": 72 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rRbx:reg_64 =
1
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rRsp
val rRsp:reg_64
val rRsp:reg_64
let rRsp : reg_64 = 7
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 78, "start_col": 19, "start_line": 78 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rRsp:reg_64 =
7
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rRax
val rRax:reg_64
val rRax:reg_64
let rRax : reg_64 = 0
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 71, "start_col": 19, "start_line": 71 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rRax:reg_64 =
0
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rRbp
val rRbp:reg_64
val rRbp:reg_64
let rRbp : reg_64 = 6
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 77, "start_col": 19, "start_line": 77 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rRbp:reg_64 =
6
false
EverParse3d.ErrorCode.fst
EverParse3d.ErrorCode.is_range_okay
val is_range_okay (size offset access_size: U32.t) : bool
val is_range_okay (size offset access_size: U32.t) : bool
let is_range_okay (size offset access_size:U32.t) : bool = let open U32 in size >=^ access_size && size -^ access_size >=^ offset
{ "file_name": "src/3d/prelude/EverParse3d.ErrorCode.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 34, "end_line": 166, "start_col": 0, "start_line": 162 }
module EverParse3d.ErrorCode module U64 = FStar.UInt64 module BF = LowParse.BitFields inline_for_extraction noextract let error_width = 4 inline_for_extraction noextract let pos_width = normalize_term (64 - error_width) [@ CMacro ] let validator_max_length : (u: U64.t { 4 <= U64.v u /\ U64.v u == pow2 pos_width - 1...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "s...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "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
size: FStar.UInt32.t -> offset: FStar.UInt32.t -> access_size: FStar.UInt32.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.op_AmpAmp", "FStar.UInt32.op_Greater_Equals_Hat", "FStar.UInt32.op_Subtraction_Hat", "Prims.bool" ]
[]
false
false
false
true
false
let is_range_okay (size offset access_size: U32.t) : bool =
let open U32 in size >=^ access_size && size -^ access_size >=^ offset
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rRdx
val rRdx:reg_64
val rRdx:reg_64
let rRdx : reg_64 = 3
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 74, "start_col": 19, "start_line": 74 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rRdx:reg_64 =
3
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rRdi
val rRdi:reg_64
val rRdi:reg_64
let rRdi : reg_64 = 5
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 76, "start_col": 19, "start_line": 76 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rRdi:reg_64 =
5
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rR8
val rR8:reg_64
val rR8:reg_64
let rR8 : reg_64 = 8
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 79, "start_col": 19, "start_line": 79 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rR8:reg_64 =
8
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rRsi
val rRsi:reg_64
val rRsi:reg_64
let rRsi : reg_64 = 4
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 75, "start_col": 19, "start_line": 75 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rRsi:reg_64 =
4
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.int_to_nat64
val int_to_nat64 (i: int) : n: nat64{0 <= i && i < pow2_64 ==> i == n}
val int_to_nat64 (i: int) : n: nat64{0 <= i && i < pow2_64 ==> i == n}
let int_to_nat64 (i:int) : n:nat64{0 <= i && i < pow2_64 ==> i == n} = Vale.Def.Words_s.int_to_natN pow2_64 i
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 12, "start_col": 0, "start_line": 11 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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.int -> n: Vale.X64.Machine_s.nat64{0 <= i && i < Vale.X64.Machine_s.pow2_64 ==> i == n}
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.Def.Words_s.int_to_natN", "Vale.X64.Machine_s.pow2_64", "Vale.X64.Machine_s.nat64", "Prims.l_imp", "Prims.b2t", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.eq2" ]
[]
false
false
false
false
false
let int_to_nat64 (i: int) : n: nat64{0 <= i && i < pow2_64 ==> i == n} =
Vale.Def.Words_s.int_to_natN pow2_64 i
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rR9
val rR9:reg_64
val rR9:reg_64
let rR9 : reg_64 = 9
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 80, "start_col": 19, "start_line": 80 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rR9:reg_64 =
9
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rR10
val rR10:reg_64
val rR10:reg_64
let rR10 : reg_64 = 10
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 81, "start_col": 19, "start_line": 81 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rR10:reg_64 =
10
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rR11
val rR11:reg_64
val rR11:reg_64
let rR11 : reg_64 = 11
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 82, "start_col": 19, "start_line": 82 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rR11:reg_64 =
11
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.t_reg_file
val t_reg_file (rf: reg_file_id) : Type0
val t_reg_file (rf: reg_file_id) : Type0
let t_reg_file (rf:reg_file_id) : Type0 = match rf with | 0 -> nat64 | 1 -> quad32
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 30, "start_col": 0, "start_line": 27 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
rf: Vale.X64.Machine_s.reg_file_id -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.reg_file_id", "Vale.X64.Machine_s.nat64", "Vale.X64.Machine_s.quad32" ]
[]
false
false
false
true
true
let t_reg_file (rf: reg_file_id) : Type0 =
match rf with | 0 -> nat64 | 1 -> quad32
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rR12
val rR12:reg_64
val rR12:reg_64
let rR12 : reg_64 = 12
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 83, "start_col": 19, "start_line": 83 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rR12:reg_64 =
12
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rR13
val rR13:reg_64
val rR13:reg_64
let rR13 : reg_64 = 13
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 84, "start_col": 19, "start_line": 84 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rR13:reg_64 =
13
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.n_regs
val n_regs (rf: reg_file_id) : nat
val n_regs (rf: reg_file_id) : nat
let n_regs (rf:reg_file_id) : nat = match rf with | 0 -> 16 | 1 -> 16
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 26, "start_col": 0, "start_line": 23 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
rf: Vale.X64.Machine_s.reg_file_id -> Prims.nat
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.reg_file_id", "Prims.nat" ]
[]
false
false
false
true
false
let n_regs (rf: reg_file_id) : nat =
match rf with | 0 -> 16 | 1 -> 16
false
Spec.HKDF.Test.fst
Spec.HKDF.Test.test_vectors
val test_vectors:list vec
val test_vectors:list vec
let test_vectors: list vec = [ Vec test1_hash test1_salt test1_ikm test1_expected_prk test1_info test1_len test1_expected_okm; Vec test2_hash test2_salt test2_ikm test2_expected_prk test2_info test2_len test2_expected_okm; Vec test3_hash test3_salt test3_ikm test3_expected_prk test3_info test3_l...
{ "file_name": "specs/tests/Spec.HKDF.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 230, "start_col": 0, "start_line": 224 }
module Spec.HKDF.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence module PS = Lib.PrintSequence module HMAC = Spec.Agile.HMAC module HKDF = Spec.Agile.HKDF #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Test 1 let test1_hash = Spec.Hash.Definitions.SHA2_256 ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "Spec.Agile.HKDF.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.PrintSequence.fsti.checked", "Lib.IntTypes.fsti.checked...
[ { "abbrev": true, "full_module": "Spec.Agile.HKDF", "short_module": "HKDF" }, { "abbrev": true, "full_module": "Spec.Agile.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_m...
{ "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
Prims.list Spec.HKDF.Test.vec
Prims.Tot
[ "total" ]
[]
[ "Prims.Cons", "Spec.HKDF.Test.vec", "Spec.HKDF.Test.Vec", "Spec.HKDF.Test.test1_hash", "Spec.HKDF.Test.test1_salt", "Spec.HKDF.Test.test1_ikm", "Spec.HKDF.Test.test1_expected_prk", "Spec.HKDF.Test.test1_info", "Spec.HKDF.Test.test1_len", "Spec.HKDF.Test.test1_expected_okm", "Spec.HKDF.Test.test2...
[]
false
false
false
true
false
let test_vectors:list vec =
[ Vec test1_hash test1_salt test1_ikm test1_expected_prk test1_info test1_len test1_expected_okm; Vec test2_hash test2_salt test2_ikm test2_expected_prk test2_info test2_len test2_expected_okm; Vec test3_hash test3_salt test3_ikm test3_expected_prk test3_info test3_len test3_expected_okm ]
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rR14
val rR14:reg_64
val rR14:reg_64
let rR14 : reg_64 = 14
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 85, "start_col": 19, "start_line": 85 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rR14:reg_64 =
14
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.rR15
val rR15:reg_64
val rR15:reg_64
let rR15 : reg_64 = 15
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 86, "start_col": 19, "start_line": 86 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg_64
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let rR15:reg_64 =
15
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.num_lanes
val num_lanes (fs: field_spec) : F32xN.lanes
val num_lanes (fs: field_spec) : F32xN.lanes
let num_lanes (fs : field_spec) : F32xN.lanes = match fs with | M32 -> 1 | M128 -> 2 | M256 -> 4
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 13, "end_line": 59, "start_col": 0, "start_line": 55 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
fs: Hacl.Impl.Poly1305.Fields.field_spec -> Hacl.Spec.Poly1305.Field32xN.lanes
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Hacl.Spec.Poly1305.Field32xN.lanes" ]
[]
false
false
false
true
false
let num_lanes (fs: field_spec) : F32xN.lanes =
match fs with | M32 -> 1 | M128 -> 2 | M256 -> 4
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.oreg
val oreg (r: reg) : operand_rf r.rf
val oreg (r: reg) : operand_rf r.rf
let oreg (r:reg) : operand_rf r.rf = OReg r.r
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 66, "start_col": 7, "start_line": 65 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
r: Vale.X64.Machine_s.reg -> Vale.X64.Machine_s.operand_rf (Reg?.rf r)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.reg", "Vale.X64.Machine_s.OReg", "Vale.X64.Machine_s.t_reg_file", "Vale.X64.Machine_s.__proj__Reg__item__rf", "Vale.X64.Machine_s.reg_id", "Vale.X64.Machine_s.__proj__Reg__item__r", "Vale.X64.Machine_s.operand_rf" ]
[]
false
false
false
false
false
let oreg (r: reg) : operand_rf r.rf =
OReg r.r
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.t_reg_to_int
val t_reg_to_int (rf: reg_file_id) (v: t_reg_file rf) : int
val t_reg_to_int (rf: reg_file_id) (v: t_reg_file rf) : int
let t_reg_to_int (rf:reg_file_id) (v:t_reg_file rf) : int = match rf with | 0 -> v | 1 -> 0
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 44, "start_col": 0, "start_line": 41 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
rf: Vale.X64.Machine_s.reg_file_id -> v: Vale.X64.Machine_s.t_reg_file rf -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.reg_file_id", "Vale.X64.Machine_s.t_reg_file", "Prims.int" ]
[]
false
false
false
false
false
let t_reg_to_int (rf: reg_file_id) (v: t_reg_file rf) : int =
match rf with | 0 -> v | 1 -> 0
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.update_multi'
val update_multi' : r: Spec.Poly1305.felem -> acc: Spec.Poly1305.felem -> blocks: FStar.Seq.Base.seq Lib.UpdateMulti.uint8 -> Prims.Pure Spec.Poly1305.felem
let update_multi' r = Lib.UpdateMulti.mk_update_multi Spec.Poly1305.size_block (update' r)
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 134, "start_col": 0, "start_line": 133 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Spec.Poly1305.felem -> acc: Spec.Poly1305.felem -> blocks: FStar.Seq.Base.seq Lib.UpdateMulti.uint8 -> Prims.Pure Spec.Poly1305.felem
Prims.Pure
[ "" ]
[]
[ "Spec.Poly1305.felem", "Lib.UpdateMulti.mk_update_multi", "Spec.Poly1305.size_block", "Hacl.Streaming.Poly1305.update'", "FStar.Seq.Base.seq", "Lib.UpdateMulti.uint8", "FStar.Seq.Base.length", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Prims.l_True" ]
[]
false
false
false
false
false
let update_multi' r =
Lib.UpdateMulti.mk_update_multi Spec.Poly1305.size_block (update' r)
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.operand_rf
val operand_rf (rf: reg_file_id) : eqtype
val operand_rf (rf: reg_file_id) : eqtype
let operand_rf (rf:reg_file_id) : eqtype = operand (t_reg_file rf) (reg_id rf)
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 62, "start_col": 0, "start_line": 61 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
rf: Vale.X64.Machine_s.reg_file_id -> Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.reg_file_id", "Vale.X64.Machine_s.operand", "Vale.X64.Machine_s.t_reg_file", "Vale.X64.Machine_s.reg_id", "Prims.eqtype" ]
[]
false
false
false
true
false
let operand_rf (rf: reg_file_id) : eqtype =
operand (t_reg_file rf) (reg_id rf)
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.block
val block : Type0
let block = (block: S.seq uint8 { S.length block = Spec.Poly1305.size_block })
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 113, "start_col": 0, "start_line": 113 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "Hacl.Streaming.Poly1305.uint8", "Prims.b2t", "Prims.op_Equality", "Prims.nat", "FStar.Seq.Base.length", "Spec.Poly1305.size_block" ]
[]
false
false
false
true
true
let block =
(block: S.seq uint8 {S.length block = Spec.Poly1305.size_block})
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.update_
val update_ : _: (Spec.Poly1305.felem * Spec.Poly1305.felem) -> block: Hacl.Streaming.Poly1305.block -> Spec.Poly1305.felem * Spec.Poly1305.felem
let update_ (acc, r) (block: block) = Spec.Poly1305.poly1305_update1 r Spec.Poly1305.size_block block acc, r
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 117, "start_col": 0, "start_line": 116 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: (Spec.Poly1305.felem * Spec.Poly1305.felem) -> block: Hacl.Streaming.Poly1305.block -> Spec.Poly1305.felem * Spec.Poly1305.felem
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple2", "Spec.Poly1305.felem", "Hacl.Streaming.Poly1305.block", "FStar.Pervasives.Native.Mktuple2", "Spec.Poly1305.poly1305_update1", "Spec.Poly1305.size_block" ]
[]
false
false
false
true
false
let update_ (acc, r) (block: block) =
Spec.Poly1305.poly1305_update1 r Spec.Poly1305.size_block block acc, r
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_Rax
val reg_Rax:reg
val reg_Rax:reg
let reg_Rax : reg = Reg 0 0
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 88, "start_col": 19, "start_line": 88 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_Rax:reg =
Reg 0 0
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_Rsi
val reg_Rsi:reg
val reg_Rsi:reg
let reg_Rsi : reg = Reg 0 4
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 92, "start_col": 19, "start_line": 92 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_Rsi:reg =
Reg 0 4
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_Rcx
val reg_Rcx:reg
val reg_Rcx:reg
let reg_Rcx : reg = Reg 0 2
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 90, "start_col": 19, "start_line": 90 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_Rcx:reg =
Reg 0 2
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.update_last'
val update_last' : r: Spec.Poly1305.felem -> acc: Spec.Poly1305.felem -> input: FStar.Seq.Base.seq Hacl.Streaming.Poly1305.uint8 {FStar.Seq.Base.length input <= Spec.Poly1305.size_block} -> Spec.Poly1305.felem
let update_last' r acc (input: S.seq uint8 { S.length input <= Spec.Poly1305.size_block }) = if S.length input = 0 then acc else Spec.Poly1305.poly1305_update1 r (S.length input) input acc
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 166, "start_col": 0, "start_line": 162 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Spec.Poly1305.felem -> acc: Spec.Poly1305.felem -> input: FStar.Seq.Base.seq Hacl.Streaming.Poly1305.uint8 {FStar.Seq.Base.length input <= Spec.Poly1305.size_block} -> Spec.Poly1305.felem
Prims.Tot
[ "total" ]
[]
[ "Spec.Poly1305.felem", "FStar.Seq.Base.seq", "Hacl.Streaming.Poly1305.uint8", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Seq.Base.length", "Spec.Poly1305.size_block", "Prims.op_Equality", "Prims.int", "Prims.bool", "Spec.Poly1305.poly1305_update1" ]
[]
false
false
false
false
false
let update_last' r acc (input: S.seq uint8 {S.length input <= Spec.Poly1305.size_block}) =
if S.length input = 0 then acc else Spec.Poly1305.poly1305_update1 r (S.length input) input acc
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.update'
val update' : r: Spec.Poly1305.felem -> acc: Spec.Poly1305.felem -> block: Hacl.Streaming.Poly1305.block -> Spec.Poly1305.felem
let update' r acc (block: block) = Spec.Poly1305.poly1305_update1 r Spec.Poly1305.size_block block acc
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 126, "start_col": 0, "start_line": 125 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Spec.Poly1305.felem -> acc: Spec.Poly1305.felem -> block: Hacl.Streaming.Poly1305.block -> Spec.Poly1305.felem
Prims.Tot
[ "total" ]
[]
[ "Spec.Poly1305.felem", "Hacl.Streaming.Poly1305.block", "Spec.Poly1305.poly1305_update1", "Spec.Poly1305.size_block" ]
[]
false
false
false
true
false
let update' r acc (block: block) =
Spec.Poly1305.poly1305_update1 r Spec.Poly1305.size_block block acc
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_Rbx
val reg_Rbx:reg
val reg_Rbx:reg
let reg_Rbx : reg = Reg 0 1
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 89, "start_col": 19, "start_line": 89 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_Rbx:reg =
Reg 0 1
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_Rdx
val reg_Rdx:reg
val reg_Rdx:reg
let reg_Rdx : reg = Reg 0 3
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 91, "start_col": 19, "start_line": 91 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_Rdx:reg =
Reg 0 3
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.update_last
val update_last : _: (Spec.Poly1305.felem * Spec.Poly1305.felem) -> input: FStar.Seq.Base.seq Hacl.Streaming.Poly1305.uint8 {FStar.Seq.Base.length input <= Spec.Poly1305.size_block} -> Spec.Poly1305.felem * Spec.Poly1305.felem
let update_last (acc, r) (input: S.seq uint8 { S.length input <= Spec.Poly1305.size_block }) = if S.length input = 0 then acc, r else Spec.Poly1305.poly1305_update1 r (S.length input) input acc, r
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 159, "start_col": 0, "start_line": 155 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: (Spec.Poly1305.felem * Spec.Poly1305.felem) -> input: FStar.Seq.Base.seq Hacl.Streaming.Poly1305.uint8 {FStar.Seq.Base.length input <= Spec.Poly1305.size_block} -> Spec.Poly1305.felem * Spec.Poly1305.felem
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple2", "Spec.Poly1305.felem", "FStar.Seq.Base.seq", "Hacl.Streaming.Poly1305.uint8", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Seq.Base.length", "Spec.Poly1305.size_block", "Prims.op_Equality", "Prims.int", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "S...
[]
false
false
false
false
false
let update_last (acc, r) (input: S.seq uint8 {S.length input <= Spec.Poly1305.size_block}) =
if S.length input = 0 then acc, r else Spec.Poly1305.poly1305_update1 r (S.length input) input acc, r
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.operand128
val operand128:eqtype
val operand128:eqtype
let operand128:eqtype = operand quad32 reg_xmm
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 109, "start_col": 0, "start_line": 109 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.operand", "Vale.X64.Machine_s.quad32", "Vale.X64.Machine_s.reg_xmm" ]
[]
false
false
false
true
false
let operand128:eqtype =
operand quad32 reg_xmm
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_Rsp
val reg_Rsp:reg
val reg_Rsp:reg
let reg_Rsp : reg = Reg 0 7
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 95, "start_col": 19, "start_line": 95 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_Rsp:reg =
Reg 0 7
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.as_lib_k
val as_lib_k (x: B.buffer uint8 {B.length x = 32}) : Lib.Buffer.lbuffer uint8 32ul
val as_lib_k (x: B.buffer uint8 {B.length x = 32}) : Lib.Buffer.lbuffer uint8 32ul
let as_lib_k (x: B.buffer uint8 { B.length x = 32 }): Lib.Buffer.lbuffer uint8 32ul = x
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 52, "start_col": 0, "start_line": 51 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: LowStar.Buffer.buffer Hacl.Streaming.Poly1305.uint8 {LowStar.Monotonic.Buffer.length x = 32} -> Lib.Buffer.lbuffer Hacl.Streaming.Poly1305.uint8 32ul
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.buffer", "Hacl.Streaming.Poly1305.uint8", "Prims.b2t", "Prims.op_Equality", "Prims.int", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.lbuffer", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
false
false
let as_lib_k (x: B.buffer uint8 {B.length x = 32}) : Lib.Buffer.lbuffer uint8 32ul =
x
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_R15
val reg_R15:reg
val reg_R15:reg
let reg_R15 : reg = Reg 0 15
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 103, "start_col": 19, "start_line": 103 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_R15:reg =
Reg 0 15
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.update_multi
val update_multi : acc: (Spec.Poly1305.felem * Spec.Poly1305.felem) -> blocks: FStar.Seq.Base.seq Lib.UpdateMulti.uint8 -> Prims.Pure (Spec.Poly1305.felem * Spec.Poly1305.felem)
let update_multi = Lib.UpdateMulti.mk_update_multi Spec.Poly1305.size_block update_
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 130, "start_col": 0, "start_line": 129 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
acc: (Spec.Poly1305.felem * Spec.Poly1305.felem) -> blocks: FStar.Seq.Base.seq Lib.UpdateMulti.uint8 -> Prims.Pure (Spec.Poly1305.felem * Spec.Poly1305.felem)
Prims.Pure
[ "" ]
[]
[ "Lib.UpdateMulti.mk_update_multi", "FStar.Pervasives.Native.tuple2", "Spec.Poly1305.felem", "Spec.Poly1305.size_block", "Hacl.Streaming.Poly1305.update_" ]
[]
false
false
false
false
false
let update_multi =
Lib.UpdateMulti.mk_update_multi Spec.Poly1305.size_block update_
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_R8
val reg_R8:reg
val reg_R8:reg
let reg_R8 : reg = Reg 0 8
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 96, "start_col": 19, "start_line": 96 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_R8:reg =
Reg 0 8
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_Rbp
val reg_Rbp:reg
val reg_Rbp:reg
let reg_Rbp : reg = Reg 0 6
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 94, "start_col": 19, "start_line": 94 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_Rbp:reg =
Reg 0 6
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.poly1305_key
val poly1305_key : Hacl.Streaming.Interface.stateful Prims.unit
let poly1305_key = I.stateful_buffer uint8 32ul (Lib.IntTypes.u8 0) unit
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 48, "start_col": 0, "start_line": 48 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Interface.stateful Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Interface.stateful_buffer", "Hacl.Streaming.Poly1305.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.u8", "Prims.unit" ]
[]
false
false
false
true
false
let poly1305_key =
I.stateful_buffer uint8 32ul (Lib.IntTypes.u8 0) unit
false
Hacl.Streaming.Poly1305.fst
Hacl.Streaming.Poly1305.as_lib
val as_lib (#fs: field_spec) (x: t fs) : P.poly1305_ctx fs
val as_lib (#fs: field_spec) (x: t fs) : P.poly1305_ctx fs
let as_lib (#fs : field_spec) (x: t fs): P.poly1305_ctx fs = assert (Lib.IntTypes.(v (add #U32 (nlimb fs) (precomplen fs))) == 25); x
{ "file_name": "code/streaming/Hacl.Streaming.Poly1305.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 45, "start_col": 0, "start_line": 43 }
module Hacl.Streaming.Poly1305 module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module I = Hacl.Streaming.Interface module P = Hacl.Impl.Poly1305 module F32xN = Hacl.Spec.Poly1305.Fie...
{ "checked_file": "/", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.Lemmas.fsti.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.check...
[ { "abbrev": false, "full_module": "Hacl.Impl.Poly1305.Fields", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Hacl.Streaming.Poly1305.t fs -> Hacl.Impl.Poly1305.poly1305_ctx fs
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Hacl.Streaming.Poly1305.t", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.int", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.add", "Hacl.Impl.Poly1305.Fields.nlimb", "Hacl.Impl.Poly1305.Fields.precomplen", "Hacl.Impl.Po...
[]
false
false
false
false
false
let as_lib (#fs: field_spec) (x: t fs) : P.poly1305_ctx fs =
assert (Lib.IntTypes.(v (add #U32 (nlimb fs) (precomplen fs))) == 25); x
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.operand64
val operand64:eqtype
val operand64:eqtype
let operand64:eqtype = operand nat64 reg_64
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 106, "start_col": 0, "start_line": 106 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.operand", "Vale.X64.Machine_s.nat64", "Vale.X64.Machine_s.reg_64" ]
[]
false
false
false
true
false
let operand64:eqtype =
operand nat64 reg_64
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_R10
val reg_R10:reg
val reg_R10:reg
let reg_R10 : reg = Reg 0 10
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 98, "start_col": 19, "start_line": 98 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_R10:reg =
Reg 0 10
false
Hacl.Impl.Salsa20.Core32.fst
Hacl.Impl.Salsa20.Core32.sum_state
val sum_state: st:state -> ost:state -> Stack unit (requires fun h -> live h st /\ live h ost /\ eq_or_disjoint st ost) (ensures fun h0 _ h1 -> modifies (loc st) h0 h1 /\ as_seq h1 st == Lib.Sequence.map2 (+.) (as_seq h0 st) (as_seq h0 ost))
val sum_state: st:state -> ost:state -> Stack unit (requires fun h -> live h st /\ live h ost /\ eq_or_disjoint st ost) (ensures fun h0 _ h1 -> modifies (loc st) h0 h1 /\ as_seq h1 st == Lib.Sequence.map2 (+.) (as_seq h0 st) (as_seq h0 ost))
let sum_state st ost = map2T #MUT #MUT #uint32 #uint32 #uint32 (size 16) st ( +. ) st ost
{ "file_name": "code/salsa20/Hacl.Impl.Salsa20.Core32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 89, "end_line": 90, "start_col": 0, "start_line": 90 }
module Hacl.Impl.Salsa20.Core32 open FStar.HyperStack open FStar.HyperStack.All open Lib.IntTypes open Lib.Sequence open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module Spec = Spec.Salsa20 let state = lbuffer uint32 16ul let index = i:size_t{size_v i < 16} inline_for_extraction val create_s...
{ "checked_file": "/", "dependencies": [ "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.f...
[ { "abbrev": true, "full_module": "Spec.Salsa20", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "Lib.ByteBuffer", "short_module": null }, { "abbrev": false, "full_modu...
{ "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
st: Hacl.Impl.Salsa20.Core32.state -> ost: Hacl.Impl.Salsa20.Core32.state -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Salsa20.Core32.state", "Lib.Buffer.map2T", "Lib.Buffer.MUT", "Lib.IntTypes.uint32", "Lib.IntTypes.size", "Lib.IntTypes.op_Plus_Dot", "Lib.IntTypes.U32", "Lib.IntTypes.SEC", "Prims.unit" ]
[]
false
true
false
false
false
let sum_state st ost =
map2T #MUT #MUT #uint32 #uint32 #uint32 (size 16) st ( +. ) st ost
false
FStar.DM4F.Heap.ST.fsti
FStar.DM4F.Heap.ST.lift_pure_state
val lift_pure_state : a: Type -> wp: Prims.pure_wp a -> h: FStar.DM4F.Heap.heap -> p: FStar.DM4F.Heap.ST._dm4f_STATE_post a -> Prims.pure_pre
let lift_pure_state (a:Type) (wp:pure_wp a) (h:heap) (p:STATE?.post a) = wp (fun a -> p (a, h))
{ "file_name": "examples/dm4free/FStar.DM4F.Heap.ST.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 102, "end_line": 45, "start_col": 7, "start_line": 45 }
(* 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.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.ST.fst.checked", "FStar.DM4F.Heap.fsti.checked" ], "interface_file": false, "source_file": "FStar.DM4F.Heap.ST.fst...
[ { "abbrev": false, "full_module": "FStar.DM4F.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> wp: Prims.pure_wp a -> h: FStar.DM4F.Heap.heap -> p: FStar.DM4F.Heap.ST._dm4f_STATE_post a -> Prims.pure_pre
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_wp", "FStar.DM4F.Heap.heap", "FStar.DM4F.Heap.ST._dm4f_STATE_post", "Prims.l_True", "FStar.Pervasives.Native.Mktuple2", "Prims.pure_pre" ]
[]
false
false
false
true
false
let lift_pure_state (a: Type) (wp: pure_wp a) (h: heap) (p: STATE?.post a) =
wp (fun a -> p (a, h))
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_R11
val reg_R11:reg
val reg_R11:reg
let reg_R11 : reg = Reg 0 11
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 99, "start_col": 19, "start_line": 99 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_R11:reg =
Reg 0 11
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_R12
val reg_R12:reg
val reg_R12:reg
let reg_R12 : reg = Reg 0 12
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 100, "start_col": 19, "start_line": 100 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_R12:reg =
Reg 0 12
false
FStar.DM4F.Heap.ST.fsti
FStar.DM4F.Heap.ST.op_Colon_Equals
val op_Colon_Equals : r: FStar.DM4F.Heap.ref _ -> v: _ -> FStar.DM4F.Heap.ST.ST Prims.unit
let op_Colon_Equals = write
{ "file_name": "examples/dm4free/FStar.DM4F.Heap.ST.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 112, "start_col": 1, "start_line": 112 }
(* 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.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.ST.fst.checked", "FStar.DM4F.Heap.fsti.checked" ], "interface_file": false, "source_file": "FStar.DM4F.Heap.ST.fst...
[ { "abbrev": false, "full_module": "FStar.DM4F.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module...
{ "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
r: FStar.DM4F.Heap.ref _ -> v: _ -> FStar.DM4F.Heap.ST.ST Prims.unit
FStar.DM4F.Heap.ST.ST
[]
[]
[ "FStar.DM4F.Heap.ST.write", "FStar.DM4F.Heap.ref", "Prims.unit", "FStar.DM4F.Heap.heap", "FStar.DM4F.Heap.contains_a_well_typed", "Prims.l_and", "Prims.eq2", "FStar.DM4F.Heap.upd" ]
[]
false
true
false
false
false
let op_Colon_Equals =
write
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_R9
val reg_R9:reg
val reg_R9:reg
let reg_R9 : reg = Reg 0 9
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 97, "start_col": 19, "start_line": 97 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_R9:reg =
Reg 0 9
false
Hacl.Impl.Salsa20.Core32.fst
Hacl.Impl.Salsa20.Core32.line
val line: st:state -> a:index -> b:index -> d:index -> r:rotval U32 -> Stack unit (requires fun h -> live h st /\ v a <> v d) (ensures fun h0 _ h1 -> modifies (loc st) h0 h1 /\ as_seq h1 st == Spec.line (v a) (v b) (v d) r (as_seq h0 st))
val line: st:state -> a:index -> b:index -> d:index -> r:rotval U32 -> Stack unit (requires fun h -> live h st /\ v a <> v d) (ensures fun h0 _ h1 -> modifies (loc st) h0 h1 /\ as_seq h1 st == Spec.line (v a) (v b) (v d) r (as_seq h0 st))
let line st a b d r = let sta = st.(a) in let stb = st.(b) in let std = st.(d) in let sta = sta ^. ((stb +. std) <<<. r) in st.(a) <- sta
{ "file_name": "code/salsa20/Hacl.Impl.Salsa20.Core32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 130, "start_col": 0, "start_line": 125 }
module Hacl.Impl.Salsa20.Core32 open FStar.HyperStack open FStar.HyperStack.All open Lib.IntTypes open Lib.Sequence open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module Spec = Spec.Salsa20 let state = lbuffer uint32 16ul let index = i:size_t{size_v i < 16} inline_for_extraction val create_s...
{ "checked_file": "/", "dependencies": [ "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.f...
[ { "abbrev": true, "full_module": "Spec.Salsa20", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "Lib.ByteBuffer", "short_module": null }, { "abbrev": false, "full_modu...
{ "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
st: Hacl.Impl.Salsa20.Core32.state -> a: Hacl.Impl.Salsa20.Core32.index -> b: Hacl.Impl.Salsa20.Core32.index -> d: Hacl.Impl.Salsa20.Core32.index -> r: Lib.IntTypes.rotval Lib.IntTypes.U32 -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Salsa20.Core32.state", "Hacl.Impl.Salsa20.Core32.index", "Lib.IntTypes.rotval", "Lib.IntTypes.U32", "Lib.Buffer.op_Array_Assignment", "Lib.IntTypes.uint32", "FStar.UInt32.__uint_to_t", "Prims.unit", "Lib.IntTypes.int_t", "Lib.IntTypes.SEC", "Lib.IntTypes.op_Hat_Dot", "Lib.IntTypes.o...
[]
false
true
false
false
false
let line st a b d r =
let sta = st.(a) in let stb = st.(b) in let std = st.(d) in let sta = sta ^. ((stb +. std) <<<. r) in st.(a) <- sta
false
Hacl.Impl.Salsa20.Core32.fst
Hacl.Impl.Salsa20.Core32.create_state
val create_state: unit -> StackInline state (requires fun h -> True) (ensures fun h0 r h1 -> live h1 r /\ as_seq h1 r == Seq.create 16 (u32 0) /\ stack_allocated r h0 h1 (Seq.create 16 (u32 0)))
val create_state: unit -> StackInline state (requires fun h -> True) (ensures fun h0 r h1 -> live h1 r /\ as_seq h1 r == Seq.create 16 (u32 0) /\ stack_allocated r h0 h1 (Seq.create 16 (u32 0)))
let create_state () = create (size 16) (u32 0)
{ "file_name": "code/salsa20/Hacl.Impl.Salsa20.Core32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 27, "start_col": 0, "start_line": 27 }
module Hacl.Impl.Salsa20.Core32 open FStar.HyperStack open FStar.HyperStack.All open Lib.IntTypes open Lib.Sequence open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module Spec = Spec.Salsa20 let state = lbuffer uint32 16ul let index = i:size_t{size_v i < 16} inline_for_extraction val create_s...
{ "checked_file": "/", "dependencies": [ "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.f...
[ { "abbrev": true, "full_module": "Spec.Salsa20", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "Lib.ByteBuffer", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.StackInline Hacl.Impl.Salsa20.Core32.state
FStar.HyperStack.ST.StackInline
[]
[]
[ "Prims.unit", "Lib.Buffer.create", "Lib.IntTypes.uint32", "Lib.IntTypes.size", "Lib.IntTypes.u32", "Lib.Buffer.lbuffer", "Hacl.Impl.Salsa20.Core32.state" ]
[]
false
true
false
false
false
let create_state () =
create (size 16) (u32 0)
false
Vale.X64.Machine_s.fst
Vale.X64.Machine_s.reg_Rdi
val reg_Rdi:reg
val reg_Rdi:reg
let reg_Rdi : reg = Reg 0 5
{ "file_name": "vale/specs/hardware/Vale.X64.Machine_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 93, "start_col": 19, "start_line": 93 }
module Vale.X64.Machine_s open FStar.Mul include Vale.Arch.HeapTypes_s irreducible let va_qattr = () unfold let pow2_32 = Vale.Def.Words_s.pow2_32 unfold let pow2_64 = Vale.Def.Words_s.pow2_64 unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Types_s.nat64 let int_to_nat64 (i:int) : n:nat64{...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Vale.X64.Machine_s.fs...
[ { "abbrev": false, "full_module": "Vale.Arch.HeapTypes_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64", "short_module": null }, { "abbrev": false, "full_module": "V...
{ "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
Vale.X64.Machine_s.reg
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Machine_s.Reg" ]
[]
false
false
false
true
false
let reg_Rdi:reg =
Reg 0 5
false