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.Impl.P256.Scalar.fst
Hacl.Impl.P256.Scalar.qmont_reduction
val qmont_reduction: res:felem -> x:widefelem -> Stack unit (requires fun h -> live h x /\ live h res /\ disjoint x res /\ wide_as_nat h x < S.order * S.order) (ensures fun h0 _ h1 -> modifies (loc res |+| loc x) h0 h1 /\ as_nat h1 res == wide_as_nat h0 x * SM.qmont_R_inv % S.order)
val qmont_reduction: res:felem -> x:widefelem -> Stack unit (requires fun h -> live h x /\ live h res /\ disjoint x res /\ wide_as_nat h x < S.order * S.order) (ensures fun h0 _ h1 -> modifies (loc res |+| loc x) h0 h1 /\ as_nat h1 res == wide_as_nat h0 x * SM.qmont_R_inv % S.order)
let qmont_reduction res x = push_frame (); let n = create_felem () in make_order n; let h0 = ST.get () in BM.bn_mont_reduction Hacl.Bignum256.bn_inst n (u64 0xccd1c8aaee00bc4f) x res; SM.bn_qmont_reduction_lemma (as_seq h0 x) (as_seq h0 n); pop_frame ()
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Scalar.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 140, "start_col": 0, "start_line": 132 }
module Hacl.Impl.P256.Scalar open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum open Hacl.Impl.P256.Constants module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Impl.P256.Constant...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Spec.P256.Montgomery", "short_module": "SM" }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
res: Hacl.Impl.P256.Bignum.felem -> x: Hacl.Impl.P256.Bignum.widefelem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.P256.Bignum.felem", "Hacl.Impl.P256.Bignum.widefelem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Spec.P256.Montgomery.bn_qmont_reduction_lemma", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.IntTypes.uint64", "Lib.IntTypes.size", "Hacl.Bignum.Montgomery.bn_mont_reduction", "H...
[]
false
true
false
false
false
let qmont_reduction res x =
push_frame (); let n = create_felem () in make_order n; let h0 = ST.get () in BM.bn_mont_reduction Hacl.Bignum256.bn_inst n (u64 0xccd1c8aaee00bc4f) x res; SM.bn_qmont_reduction_lemma (as_seq h0 x) (as_seq h0 n); pop_frame ()
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.valid_nlist_nil
val valid_nlist_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h sl /\ U32.v pos <= U32.v sl.len)) (ensures (valid_content_pos (parse_nlist 0 p) h sl pos [] pos))
val valid_nlist_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h sl /\ U32.v pos <= U32.v sl.len)) (ensures (valid_content_pos (parse_nlist 0 p) h sl pos [] pos))
let valid_nlist_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h sl /\ U32.v pos <= U32.v sl.len)) (ensures (valid_content_pos (parse_nlist 0 p) h sl pos [] pos)) = valid_facts (parse_nlist 0 p) h sl pos; p...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 51, "end_line": 25, "start_col": 0, "start_line": 13 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires LowParse.Slice.live_slice h sl /\ FStar.UInt32.v pos <= FStar.UInt32.v (Mkslice?.len sl)) (ensures LowParse...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Spec.VCList.parse_nlist_eq", "LowParse.Slice.bytes_of_slice_from", "Prims.unit", "LowParse.Low.Base.S...
[]
true
false
true
false
false
let valid_nlist_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h sl /\ U32.v pos <= U32.v sl.len)) (ensures (valid_content_pos (parse_nlist 0 p) h sl pos [] pos)) =
valid_facts (parse_nlist 0 p) h sl pos; parse_nlist_eq 0 p (bytes_of_slice_from h sl pos)
false
Hacl.Streaming.Functor.fst
Hacl.Streaming.Functor.alloca
val alloca: #index: Type0 -> c:block index -> i:index -> t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> alloca_st #index c i t t'
val alloca: #index: Type0 -> c:block index -> i:index -> t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> alloca_st #index c i t t'
let alloca #index c i t t' k = [@inline_let] let _ = c.state.invariant_loc_in_footprint #i in [@inline_let] let _ = c.key.invariant_loc_in_footprint #i in allow_inversion key_management; (**) let h0 = ST.get () in (**) B.loc_unused_in_not_unused_in_disjoint h0; let buf = B.alloca (Lib.IntTypes.u8 0) (c.bl...
{ "file_name": "code/streaming/Hacl.Streaming.Functor.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 553, "start_col": 0, "start_line": 462 }
module Hacl.Streaming.Functor /// Provided an instance of the type class, this creates a streaming API on top. /// This means that every function in this module takes two extra arguments /// compared to the previous streaming module specialized for hashes: the type /// of the index, and a type class for that index. Th...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Streaming.Types.fst.checked", "Hacl.Streaming.Spec.fst.checked...
[ { "abbrev": false, "full_module": "Hacl.Streaming.Spec", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Hacl.Streaming.Interface.block index -> i: index -> t: Type0{t == Stateful?.s (Block?.state c) i} -> t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)} -> Hacl.Streaming.Functor.alloca_st c i t t'
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Interface.block", "Prims.eq2", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.Interface.__proj__Block__item__state", "Hacl.Streaming.Interface.optional_key", "Hacl.Streaming.Interface.__proj__Block__item__km", "Hacl.Streaming.Interface.__proj__Block__item__key", ...
[]
false
false
false
false
false
let alloca #index c i t t' k =
[@@ inline_let ]let _ = c.state.invariant_loc_in_footprint #i in [@@ inline_let ]let _ = c.key.invariant_loc_in_footprint #i in allow_inversion key_management; let h0 = ST.get () in B.loc_unused_in_not_unused_in_disjoint h0; let buf = B.alloca (Lib.IntTypes.u8 0) (c.blocks_state_len i) in let h1 = ST.get () in assert (...
false
Hacl.Impl.P256.Scalar.fst
Hacl.Impl.P256.Scalar.bn_is_lt_order_mask4
val bn_is_lt_order_mask4: f:felem -> Stack uint64 (requires fun h -> live h f) (ensures fun h0 r h1 -> modifies0 h0 h1 /\ (if as_nat h0 f < S.order then v r = ones_v U64 else v r = 0))
val bn_is_lt_order_mask4: f:felem -> Stack uint64 (requires fun h -> live h f) (ensures fun h0 r h1 -> modifies0 h0 h1 /\ (if as_nat h0 f < S.order then v r = ones_v U64 else v r = 0))
let bn_is_lt_order_mask4 f = let h0 = ST.get () in push_frame (); let tmp = create_felem () in make_order tmp; let c = bn_sub4 tmp f tmp in assert (if v c = 0 then as_nat h0 f >= S.order else as_nat h0 f < S.order); pop_frame (); u64 0 -. c
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Scalar.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 12, "end_line": 49, "start_col": 0, "start_line": 41 }
module Hacl.Impl.P256.Scalar open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum open Hacl.Impl.P256.Constants module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Impl.P256.Constant...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": false, "full_module": "Hacl.Impl.P256.Constants", "short_module": null }, { "abb...
{ "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
f: Hacl.Impl.P256.Bignum.felem -> FStar.HyperStack.ST.Stack Lib.IntTypes.uint64
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.P256.Bignum.felem", "Lib.IntTypes.op_Subtraction_Dot", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.IntTypes.u64", "Lib.IntTypes.uint64", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Prims._assert", "Prims.op_Equality", "Prims.int", "Lib.IntTypes.v", "Prims.b2t", "Prims.op_Gr...
[]
false
true
false
false
false
let bn_is_lt_order_mask4 f =
let h0 = ST.get () in push_frame (); let tmp = create_felem () in make_order tmp; let c = bn_sub4 tmp f tmp in assert (if v c = 0 then as_nat h0 f >= S.order else as_nat h0 f < S.order); pop_frame (); u64 0 -. c
false
Hacl.Impl.P256.Scalar.fst
Hacl.Impl.P256.Scalar.from_qmont
val from_qmont: res:felem -> x:felem -> Stack unit (requires fun h -> live h x /\ live h res /\ eq_or_disjoint x res /\ as_nat h x < S.order) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res < S.order /\ as_nat h1 res == qmont_as_nat h0 x)
val from_qmont: res:felem -> x:felem -> Stack unit (requires fun h -> live h x /\ live h res /\ eq_or_disjoint x res /\ as_nat h x < S.order) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res < S.order /\ as_nat h1 res == qmont_as_nat h0 x)
let from_qmont res x = push_frame (); let tmp = create_widefelem () in let h0 = ST.get () in update_sub tmp 0ul 4ul x; BD.bn_eval_update_sub 4 (as_seq h0 x) 8; let h1 = ST.get () in assert (wide_as_nat h1 tmp = as_nat h0 x); assert_norm (S.order < S.order * S.order); qmont_reduction res tmp; pop_fra...
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Scalar.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 154, "start_col": 0, "start_line": 144 }
module Hacl.Impl.P256.Scalar open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum open Hacl.Impl.P256.Constants module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Impl.P256.Constant...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": false, "full_module": "Hacl.Impl.P256.Constants", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
res: Hacl.Impl.P256.Bignum.felem -> x: Hacl.Impl.P256.Bignum.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.P256.Bignum.felem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Impl.P256.Scalar.qmont_reduction", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_LessThan", "Spec.P256.PointOps.order", "FStar.Mul.op_Star", "Prims._assert", "Prims.op_Equality", "Prims.nat", "Hacl.I...
[]
false
true
false
false
false
let from_qmont res x =
push_frame (); let tmp = create_widefelem () in let h0 = ST.get () in update_sub tmp 0ul 4ul x; BD.bn_eval_update_sub 4 (as_seq h0 x) 8; let h1 = ST.get () in assert (wide_as_nat h1 tmp = as_nat h0 x); assert_norm (S.order < S.order * S.order); qmont_reduction res tmp; pop_frame ()
false
Hacl.Impl.P256.Scalar.fst
Hacl.Impl.P256.Scalar.qmod_short
val qmod_short: res:felem -> x:felem -> Stack unit (requires fun h -> live h x /\ live h res /\ eq_or_disjoint x res) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res == as_nat h0 x % S.order)
val qmod_short: res:felem -> x:felem -> Stack unit (requires fun h -> live h x /\ live h res /\ eq_or_disjoint x res) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res == as_nat h0 x % S.order)
let qmod_short res x = push_frame (); let tmp = create_felem () in make_order tmp; let h0 = ST.get () in let c = bn_sub4 tmp x tmp in bn_cmovznz4 res c tmp x; BD.bn_eval_bound (as_seq h0 x) 4; qmod_short_lemma (as_nat h0 x); pop_frame ()
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Scalar.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 108, "start_col": 0, "start_line": 99 }
module Hacl.Impl.P256.Scalar open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum open Hacl.Impl.P256.Constants module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Impl.P256.Constant...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": false, "full_module": "Hacl.Impl.P256.Constants", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
res: Hacl.Impl.P256.Bignum.felem -> x: Hacl.Impl.P256.Bignum.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.P256.Bignum.felem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Impl.P256.Scalar.qmod_short_lemma", "Hacl.Impl.P256.Bignum.as_nat", "Hacl.Spec.Bignum.Definitions.bn_eval_bound", "Lib.IntTypes.U64", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.size",...
[]
false
true
false
false
false
let qmod_short res x =
push_frame (); let tmp = create_felem () in make_order tmp; let h0 = ST.get () in let c = bn_sub4 tmp x tmp in bn_cmovznz4 res c tmp x; BD.bn_eval_bound (as_seq h0 x) 4; qmod_short_lemma (as_nat h0 x); pop_frame ()
false
Hacl.Streaming.Functor.fst
Hacl.Streaming.Functor.update_small_functional_correctness
val update_small_functional_correctness : #index:Type0 -> (c: block index) -> i:G.erased index -> ( let i = G.reveal i in t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> s:state c i t t' -> data: B.buffer uint8 -> len: UInt32.t -> h0: HS.mem -> h1: HS.mem -> Lemma...
val update_small_functional_correctness : #index:Type0 -> (c: block index) -> i:G.erased index -> ( let i = G.reveal i in t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> s:state c i t t' -> data: B.buffer uint8 -> len: UInt32.t -> h0: HS.mem -> h1: HS.mem -> Lemma...
let update_small_functional_correctness #index c i t t' p data len h0 h1 = let s0 = B.get h0 p 0 in let s1 = B.get h1 p 0 in let State block_state buf total_len0 seen0 key = s0 in let seen0 = G.reveal seen0 in let i = Ghost.reveal i in let key_v0 = optional_reveal #_ #i #c.km #c.key h0 key in let init_v0...
{ "file_name": "code/streaming/Hacl.Streaming.Functor.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 1111, "start_col": 0, "start_line": 1075 }
module Hacl.Streaming.Functor /// Provided an instance of the type class, this creates a streaming API on top. /// This means that every function in this module takes two extra arguments /// compared to the previous streaming module specialized for hashes: the type /// of the index, and a type class for that index. Th...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Streaming.Types.fst.checked", "Hacl.Streaming.Spec.fst.checked...
[ { "abbrev": false, "full_module": "Hacl.Streaming.Spec", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Hacl.Streaming.Interface.block index -> i: FStar.Ghost.erased index -> (let i = FStar.Ghost.reveal i in t: Type0{t == Stateful?.s (Block?.state c) i} -> t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)} -> s: Hacl.Streaming.Functor.state c i t t' -...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Interface.block", "FStar.Ghost.erased", "Prims.eq2", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.Interface.__proj__Block__item__state", "FStar.Ghost.reveal", "Hacl.Streaming.Interface.optional_key", "Hacl.Streaming.Interface.__proj__Block__item__km", "Hacl.S...
[]
false
false
false
false
false
let update_small_functional_correctness #index c i t t' p data len h0 h1 =
let s0 = B.get h0 p 0 in let s1 = B.get h1 p 0 in let State block_state buf total_len0 seen0 key = s0 in let seen0 = G.reveal seen0 in let i = Ghost.reveal i in let key_v0 = optional_reveal #_ #i #c.km #c.key h0 key in let init_v0 = c.init_input_s i key_v0 in let all_seen0 = S.append init_v0 seen0 in let blocks0, rest0...
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.valid_nlist_cons_not
val valid_nlist_cons_not (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (n > 0 /\ (~(valid p h sl pos)))) (ensures (~(valid (parse_nlist n p) h sl pos)))
val valid_nlist_cons_not (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (n > 0 /\ (~(valid p h sl pos)))) (ensures (~(valid (parse_nlist n p) h sl pos)))
let valid_nlist_cons_not (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires ( n > 0 /\ (~ (valid p h sl pos)) )) (ensures ( ~ (valid (parse_nlist n p) h sl pos) )) = Classical.move_requires (valid_nlis...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 63, "end_line": 149, "start_col": 0, "start_line": 131 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
n: Prims.nat -> p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires n > 0 /\ ~(LowParse.Low.Base.Spec.valid p h sl pos)) (ensures ~(LowParse.Low.Base.Spec.valid (LowParse.Spec.V...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "FStar.Classical.move_requires", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "LowParse...
[]
false
false
true
false
false
let valid_nlist_cons_not (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (n > 0 /\ (~(valid p h sl pos)))) (ensures (~(valid (parse_nlist n p) h sl pos))) =
Classical.move_requires (valid_nlist_cons (n - 1) p h sl) pos; Classical.move_requires (valid_nlist_cons_recip n p h sl) pos
false
Hacl.Streaming.Functor.fst
Hacl.Streaming.Functor.update_round
val update_round: #index:Type0 -> c:block index -> i:index -> ( t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> s:state c i t t' -> data: B.buffer uint8 -> len: UInt32.t -> Stack unit (requires fun h0 -> update_pre c i s data len h0 /\ U32.v (c.init_inpu...
val update_round: #index:Type0 -> c:block index -> i:index -> ( t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> s:state c i t t' -> data: B.buffer uint8 -> len: UInt32.t -> Stack unit (requires fun h0 -> update_pre c i s data len h0 /\ U32.v (c.init_inpu...
let update_round #index c i t t' p data len = [@inline_let] let _ = c.state.invariant_loc_in_footprint #i in [@inline_let] let _ = c.state.invariant_loc_in_footprint #i in [@inline_let] let _ = c.update_multi_associative i in let open LowStar.BufferOps in (**) let h0 = ST.get() in update_small #index c i t...
{ "file_name": "code/streaming/Hacl.Streaming.Functor.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 1485, "start_col": 0, "start_line": 1471 }
module Hacl.Streaming.Functor /// Provided an instance of the type class, this creates a streaming API on top. /// This means that every function in this module takes two extra arguments /// compared to the previous streaming module specialized for hashes: the type /// of the index, and a type class for that index. Th...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Streaming.Types.fst.checked", "Hacl.Streaming.Spec.fst.checked...
[ { "abbrev": false, "full_module": "Hacl.Streaming.Spec", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Hacl.Streaming.Interface.block index -> i: index -> t: Type0{t == Stateful?.s (Block?.state c) i} -> t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)} -> s: Hacl.Streaming.Functor.state c i t t' -> data: LowStar.Buffer.buffer Hacl.Streaming.Spec.uint8 -> ...
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Streaming.Interface.block", "Prims.eq2", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.Interface.__proj__Block__item__state", "Hacl.Streaming.Interface.optional_key", "Hacl.Streaming.Interface.__proj__Block__item__km", "Hacl.Streaming.Interface.__proj__Block__item__key", ...
[]
false
true
false
false
false
let update_round #index c i t t' p data len =
[@@ inline_let ]let _ = c.state.invariant_loc_in_footprint #i in [@@ inline_let ]let _ = c.state.invariant_loc_in_footprint #i in [@@ inline_let ]let _ = c.update_multi_associative i in let open LowStar.BufferOps in let h0 = ST.get () in update_small #index c i t t' p data len; let h1 = ST.get () in split_at_last_small...
false
Hacl.Impl.P256.Scalar.fst
Hacl.Impl.P256.Scalar.qsqr
val qsqr: res:felem -> x:felem -> Stack unit (requires fun h -> live h x /\ live h res /\ eq_or_disjoint x res /\ as_nat h x < S.order) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res = (as_nat h0 x * as_nat h0 x * SM.qmont_R_inv) % S.order /\ qmont_as_nat h1 res = S.qmul (qmont_as...
val qsqr: res:felem -> x:felem -> Stack unit (requires fun h -> live h x /\ live h res /\ eq_or_disjoint x res /\ as_nat h x < S.order) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res = (as_nat h0 x * as_nat h0 x * SM.qmont_R_inv) % S.order /\ qmont_as_nat h1 res = S.qmul (qmont_as...
let qsqr res x = push_frame (); let tmp = create_widefelem () in let h0 = ST.get () in bn_sqr4 tmp x; let h1 = ST.get () in Math.Lemmas.lemma_mult_lt_sqr (as_nat h0 x) (as_nat h0 x) S.order; qmont_reduction res tmp; SM.qmont_mul_lemma (as_nat h0 x) (as_nat h0 x); pop_frame ()
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Scalar.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 180, "start_col": 0, "start_line": 171 }
module Hacl.Impl.P256.Scalar open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum open Hacl.Impl.P256.Constants module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Impl.P256.Constant...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": false, "full_module": "Hacl.Impl.P256.Constants", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
res: Hacl.Impl.P256.Bignum.felem -> x: Hacl.Impl.P256.Bignum.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.P256.Bignum.felem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Spec.P256.Montgomery.qmont_mul_lemma", "Hacl.Impl.P256.Bignum.as_nat", "Hacl.Impl.P256.Scalar.qmont_reduction", "FStar.Math.Lemmas.lemma_mult_lt_sqr", "Spec.P256.PointOps.order", "FStar.Monotonic.HyperStack.mem", "...
[]
false
true
false
false
false
let qsqr res x =
push_frame (); let tmp = create_widefelem () in let h0 = ST.get () in bn_sqr4 tmp x; let h1 = ST.get () in Math.Lemmas.lemma_mult_lt_sqr (as_nat h0 x) (as_nat h0 x) S.order; qmont_reduction res tmp; SM.qmont_mul_lemma (as_nat h0 x) (as_nat h0 x); pop_frame ()
false
Hacl.Impl.P256.Scalar.fst
Hacl.Impl.P256.Scalar.load_qelem_conditional
val load_qelem_conditional: res:felem -> b:lbuffer uint8 32ul -> Stack uint64 (requires fun h -> live h res /\ live h b /\ disjoint res b) (ensures fun h0 m h1 -> modifies (loc res) h0 h1 /\ (let b_nat = BSeq.nat_from_bytes_be (as_seq h0 b) in let is_b_valid = 0 < b_nat && b_nat < S.order in (v m = o...
val load_qelem_conditional: res:felem -> b:lbuffer uint8 32ul -> Stack uint64 (requires fun h -> live h res /\ live h b /\ disjoint res b) (ensures fun h0 m h1 -> modifies (loc res) h0 h1 /\ (let b_nat = BSeq.nat_from_bytes_be (as_seq h0 b) in let is_b_valid = 0 < b_nat && b_nat < S.order in (v m = o...
let load_qelem_conditional res b = push_frame (); bn_from_bytes_be4 res b; let is_b_valid = bn_is_lt_order_and_gt_zero_mask4 res in let oneq = create_felem () in bn_set_one4 oneq; let h0 = ST.get () in Lib.ByteBuffer.buf_mask_select res oneq is_b_valid res; let h1 = ST.get () in assert (as_seq h1 res...
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Scalar.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 12, "end_line": 80, "start_col": 0, "start_line": 68 }
module Hacl.Impl.P256.Scalar open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum open Hacl.Impl.P256.Constants module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Impl.P256.Constant...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": false, "full_module": "Hacl.Impl.P256.Constants", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
res: Hacl.Impl.P256.Bignum.felem -> b: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> FStar.HyperStack.ST.Stack Lib.IntTypes.uint64
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.P256.Bignum.felem", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.uint64", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Prims._assert", "Prims.eq2", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Int...
[]
false
true
false
false
false
let load_qelem_conditional res b =
push_frame (); bn_from_bytes_be4 res b; let is_b_valid = bn_is_lt_order_and_gt_zero_mask4 res in let oneq = create_felem () in bn_set_one4 oneq; let h0 = ST.get () in Lib.ByteBuffer.buf_mask_select res oneq is_b_valid res; let h1 = ST.get () in assert (as_seq h1 res == (if (v is_b_valid = 0) then as_seq h0 oneq else as...
false
Hacl.Impl.P256.Scalar.fst
Hacl.Impl.P256.Scalar.qmul
val qmul: res:felem -> x:felem -> y:felem -> Stack unit (requires fun h -> live h x /\ live h y /\ live h res /\ eq_or_disjoint x y /\ eq_or_disjoint x res /\ eq_or_disjoint y res /\ as_nat h x < S.order /\ as_nat h y < S.order) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res = (as...
val qmul: res:felem -> x:felem -> y:felem -> Stack unit (requires fun h -> live h x /\ live h y /\ live h res /\ eq_or_disjoint x y /\ eq_or_disjoint x res /\ eq_or_disjoint y res /\ as_nat h x < S.order /\ as_nat h y < S.order) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res = (as...
let qmul res x y = push_frame (); let tmp = create_widefelem () in let h0 = ST.get () in bn_mul4 tmp x y; let h1 = ST.get () in Math.Lemmas.lemma_mult_lt_sqr (as_nat h0 x) (as_nat h0 y) S.order; qmont_reduction res tmp; SM.qmont_mul_lemma (as_nat h0 x) (as_nat h0 y); pop_frame ()
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Scalar.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 167, "start_col": 0, "start_line": 158 }
module Hacl.Impl.P256.Scalar open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum open Hacl.Impl.P256.Constants module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Impl.P256.Constant...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": false, "full_module": "Hacl.Impl.P256.Constants", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
res: Hacl.Impl.P256.Bignum.felem -> x: Hacl.Impl.P256.Bignum.felem -> y: Hacl.Impl.P256.Bignum.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.P256.Bignum.felem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Spec.P256.Montgomery.qmont_mul_lemma", "Hacl.Impl.P256.Bignum.as_nat", "Hacl.Impl.P256.Scalar.qmont_reduction", "FStar.Math.Lemmas.lemma_mult_lt_sqr", "Spec.P256.PointOps.order", "FStar.Monotonic.HyperStack.mem", "...
[]
false
true
false
false
false
let qmul res x y =
push_frame (); let tmp = create_widefelem () in let h0 = ST.get () in bn_mul4 tmp x y; let h1 = ST.get () in Math.Lemmas.lemma_mult_lt_sqr (as_nat h0 x) (as_nat h0 y) S.order; qmont_reduction res tmp; SM.qmont_mul_lemma (as_nat h0 x) (as_nat h0 y); pop_frame ()
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.valid_nlist_cons'
val valid_nlist_cons' (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (n > 0 /\ valid p h sl pos)) (ensures (let pos1 = get_valid_pos p h sl pos in (valid (pa...
val valid_nlist_cons' (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (n > 0 /\ valid p h sl pos)) (ensures (let pos1 = get_valid_pos p h sl pos in (valid (pa...
let valid_nlist_cons' (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires ( n > 0 /\ valid p h sl pos )) (ensures ( let pos1 = get_valid_pos p h sl pos in (valid (parse_nlist n p) h sl pos <==> valid ...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 63, "end_line": 129, "start_col": 0, "start_line": 109 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
n: Prims.nat -> p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires n > 0 /\ LowParse.Low.Base.Spec.valid p h sl pos) (ensures (let pos1 = LowParse.Low.Base.Spec.get_val...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "FStar.Classical.move_requires", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "LowParse...
[]
false
false
true
false
false
let valid_nlist_cons' (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (n > 0 /\ valid p h sl pos)) (ensures (let pos1 = get_valid_pos p h sl pos in (valid (pa...
Classical.move_requires (valid_nlist_cons (n - 1) p h sl) pos; Classical.move_requires (valid_nlist_cons_recip n p h sl) pos
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.valid_nlist_valid_list
val valid_nlist_valid_list (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (k.parser_kind_low > 0 /\ k.parser_kind_subkind == Some ParserStrong /\ valid (pars...
val valid_nlist_valid_list (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (k.parser_kind_low > 0 /\ k.parser_kind_subkind == Some ParserStrong /\ valid (pars...
let rec valid_nlist_valid_list (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires ( k.parser_kind_low > 0 /\ k.parser_kind_subkind == Some ParserStrong /\ valid (parse_nlist n p) h sl pos )) (ensures ( ...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 293, "start_col": 0, "start_line": 263 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
n: Prims.nat -> p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires Mkparser_kind'?.parser_kind_low k > 0 /\ Mkparser_kind'?.parser_kind_subkind k == FSt...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.op_Equality", "Prims.int", "LowParse.Low.Base.Spec.valid_list_nil", "Prims.unit", "LowP...
[ "recursion" ]
false
false
true
false
false
let rec valid_nlist_valid_list (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (k.parser_kind_low > 0 /\ k.parser_kind_subkind == Some ParserStrong /\ valid (...
if n = 0 then (valid_nlist_nil_recip p h sl pos; valid_list_nil p h sl pos) else (valid_nlist_cons_recip n p h sl pos; let pos1 = get_valid_pos p h sl pos in let pos' = get_valid_pos (parse_nlist n p) h sl pos in valid_nlist_valid_list (n - 1) p h sl pos1; valid_list_cons p h sl pos pos')
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.valid_list_valid_nlist
val valid_list_valid_nlist (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (valid_list p h sl pos pos')) (ensures (let x = contents_list p h sl pos pos' in valid_conten...
val valid_list_valid_nlist (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (valid_list p h sl pos pos')) (ensures (let x = contents_list p h sl pos pos' in valid_conten...
let rec valid_list_valid_nlist (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) (pos' : U32.t) : Lemma (requires ( valid_list p h sl pos pos' )) (ensures ( let x = contents_list p h sl pos pos' in valid_content_pos (parse_nlist ...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 322, "start_col": 0, "start_line": 295 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> pos': FStar.UInt32.t -> FStar.Pervasives.Lemma (requires LowParse.Low.Base.Spec.valid_list p h sl pos pos') (ensures (let x = LowParse.Low.Base.Spec.c...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.op_Equality", "LowParse.Low.VCList.valid_nlist_nil", "Prims.unit", "LowParse.Low.Base.Spec.valid_list_ni...
[ "recursion" ]
false
false
true
false
false
let rec valid_list_valid_nlist (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (valid_list p h sl pos pos')) (ensures (let x = contents_list p h sl pos pos' in valid_co...
if pos = pos' then (valid_list_nil p h sl pos; valid_nlist_nil p h sl pos) else (valid_list_cons_recip p h sl pos pos'; let pos1 = get_valid_pos p h sl pos in valid_list_valid_nlist p h sl pos1 pos'; valid_nlist_cons (L.length (contents_list p h sl pos1 pos')) p h sl pos)
false
ArrayRealized.fst
ArrayRealized.index
val index: s:seq 'a -> i:nat{length s > i} -> Tot 'a
val index: s:seq 'a -> i:nat{length s > i} -> Tot 'a
let index (Seq c j k) i = __index__ c (i + j)
{ "file_name": "examples/data_structures/ArrayRealized.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 45, "end_line": 44, "start_col": 0, "start_line": 44 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "ArrayRealized.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: ArrayRealized.seq 'a -> i: Prims.nat{ArrayRealized.length s > i} -> 'a
Prims.Tot
[ "total" ]
[]
[ "ArrayRealized.seq", "Prims.nat", "Prims.b2t", "Prims.op_GreaterThan", "ArrayRealized.length", "ArrayRealized.contents", "Prims.op_GreaterThanOrEqual", "ArrayRealized.__index__", "Prims.op_Addition" ]
[]
false
false
false
false
false
let index (Seq c j k) i =
__index__ c (i + j)
false
Hacl.Impl.P256.Scalar.fst
Hacl.Impl.P256.Scalar.qadd
val qadd: res:felem -> x:felem -> y:felem -> Stack unit (requires fun h -> live h x /\ live h y /\ live h res /\ eq_or_disjoint x y /\ eq_or_disjoint x res /\ eq_or_disjoint y res /\ as_nat h x < S.order /\ as_nat h y < S.order) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res == S...
val qadd: res:felem -> x:felem -> y:felem -> Stack unit (requires fun h -> live h x /\ live h y /\ live h res /\ eq_or_disjoint x y /\ eq_or_disjoint x res /\ eq_or_disjoint y res /\ as_nat h x < S.order /\ as_nat h y < S.order) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_nat h1 res == S...
let qadd res x y = let h0 = ST.get () in push_frame (); let n = create_felem () in make_order n; bn_add_mod4 res n x y; let h1 = ST.get () in assert (as_nat h1 res == (as_nat h0 x + as_nat h0 y) % S.order); SM.qmont_add_lemma (as_nat h0 x) (as_nat h0 y); pop_frame ()
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Scalar.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 121, "start_col": 0, "start_line": 112 }
module Hacl.Impl.P256.Scalar open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum open Hacl.Impl.P256.Constants module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BD = Hacl.Spec.Bignum.Definitions ...
{ "checked_file": "/", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Impl.P256.Constant...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": false, "full_module": "Hacl.Impl.P256.Constants", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
res: Hacl.Impl.P256.Bignum.felem -> x: Hacl.Impl.P256.Bignum.felem -> y: Hacl.Impl.P256.Bignum.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.P256.Bignum.felem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Spec.P256.Montgomery.qmont_add_lemma", "Hacl.Impl.P256.Bignum.as_nat", "Prims._assert", "Prims.eq2", "Prims.int", "Prims.op_Modulus", "Prims.op_Addition", "Spec.P256.PointOps.order", "FStar.Monotonic.HyperStack...
[]
false
true
false
false
false
let qadd res x y =
let h0 = ST.get () in push_frame (); let n = create_felem () in make_order n; bn_add_mod4 res n x y; let h1 = ST.get () in assert (as_nat h1 res == (as_nat h0 x + as_nat h0 y) % S.order); SM.qmont_add_lemma (as_nat h0 x) (as_nat h0 y); pop_frame ()
false
ArrayRealized.fst
ArrayRealized.update
val update: s:seq 'a -> i:nat{length s > i} -> v:'a -> Tot (seq 'a)
val update: s:seq 'a -> i:nat{length s > i} -> v:'a -> Tot (seq 'a)
let update (Seq c j k) i v = Seq (__update__ c (i + j) v) j k
{ "file_name": "examples/data_structures/ArrayRealized.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 61, "end_line": 56, "start_col": 0, "start_line": 56 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "ArrayRealized.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: ArrayRealized.seq 'a -> i: Prims.nat{ArrayRealized.length s > i} -> v: 'a -> ArrayRealized.seq 'a
Prims.Tot
[ "total" ]
[]
[ "ArrayRealized.seq", "Prims.nat", "Prims.b2t", "Prims.op_GreaterThan", "ArrayRealized.length", "ArrayRealized.contents", "Prims.op_GreaterThanOrEqual", "ArrayRealized.Seq", "ArrayRealized.__update__", "Prims.op_Addition" ]
[]
false
false
false
false
false
let update (Seq c j k) i v =
Seq (__update__ c (i + j) v) j k
false
Vale.Lib.Seqs.fsti
Vale.Lib.Seqs.list_to_seq_post
val list_to_seq_post (#a: Type) (l: list a) (s: seq a) (n: nat) : Pure prop (requires n + List.length l == Seq.length s) (ensures fun _ -> True) (decreases l)
val list_to_seq_post (#a: Type) (l: list a) (s: seq a) (n: nat) : Pure prop (requires n + List.length l == Seq.length s) (ensures fun _ -> True) (decreases l)
let rec list_to_seq_post (#a:Type) (l:list a) (s:seq a) (n:nat) : Pure prop (requires n + List.length l == Seq.length s) (ensures fun _ -> True) (decreases l) = match l with | [] -> n == Seq.length s | h::t -> Seq.index s n == h /\ list_to_seq_post t s (n + 1)
{ "file_name": "vale/code/lib/collections/Vale.Lib.Seqs.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 63, "start_col": 0, "start_line": 56 }
module Vale.Lib.Seqs open FStar.Mul open Vale.Lib.Seqs_s open FStar.Seq val lemma_slice_first_exactly_in_append (#a:Type) (x y:seq a) : Lemma (slice (append x y) 0 (length x) == x) val lemma_all_but_last_append (#t:Type) (a:seq t) (b:seq t{length b > 0}) : Lemma (all_but_last (append a b) == append a (all_but_la...
{ "checked_file": "/", "dependencies": [ "Vale.Lib.Seqs_s.fst.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.fst.checked" ], "interface_file": false, "source_file": "Vale.Lib.Seqs.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Vale.Lib.Seqs_s", "short_module": null }, { "abbrev": false, "full_module": "FStar....
{ "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
l: Prims.list a -> s: FStar.Seq.Base.seq a -> n: Prims.nat -> Prims.Pure Prims.prop
Prims.Pure
[ "" ]
[]
[ "Prims.list", "FStar.Seq.Base.seq", "Prims.nat", "Prims.eq2", "FStar.Seq.Base.length", "Prims.l_and", "FStar.Seq.Base.index", "Vale.Lib.Seqs.list_to_seq_post", "Prims.op_Addition", "Prims.prop", "Prims.int", "FStar.List.Tot.Base.length", "Prims.l_True" ]
[ "recursion" ]
false
false
false
false
true
let rec list_to_seq_post (#a: Type) (l: list a) (s: seq a) (n: nat) : Pure prop (requires n + List.length l == Seq.length s) (ensures fun _ -> True) (decreases l) =
match l with | [] -> n == Seq.length s | h :: t -> Seq.index s n == h /\ list_to_seq_post t s (n + 1)
false
ArrayRealized.fst
ArrayRealized.create
val create: n:nat -> init:'a -> Tot (seq 'a)
val create: n:nat -> init:'a -> Tot (seq 'a)
let create n init = Seq (Const init) 0 n
{ "file_name": "examples/data_structures/ArrayRealized.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 32, "start_col": 0, "start_line": 32 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "ArrayRealized.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> init: 'a -> ArrayRealized.seq 'a
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "ArrayRealized.Seq", "ArrayRealized.Const", "ArrayRealized.seq" ]
[]
false
false
false
true
false
let create n init =
Seq (Const init) 0 n
false
ArrayRealized.fst
ArrayRealized.length
val length: s:seq 'a -> Tot nat
val length: s:seq 'a -> Tot nat
let length s = Seq?.end_i s - Seq?.start_i s
{ "file_name": "examples/data_structures/ArrayRealized.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 35, "start_col": 0, "start_line": 35 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "ArrayRealized.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: ArrayRealized.seq 'a -> Prims.nat
Prims.Tot
[ "total" ]
[]
[ "ArrayRealized.seq", "Prims.op_Subtraction", "ArrayRealized.__proj__Seq__item__end_i", "ArrayRealized.__proj__Seq__item__start_i", "Prims.nat" ]
[]
false
false
false
true
false
let length s =
Seq?.end_i s - Seq?.start_i s
false
ArrayRealized.fst
ArrayRealized.append
val append: seq 'a -> seq 'a -> Tot (seq 'a)
val append: seq 'a -> seq 'a -> Tot (seq 'a)
let append s1 s2 = Seq (Append s1 s2) 0 (length s1 + length s2)
{ "file_name": "examples/data_structures/ArrayRealized.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 63, "end_line": 65, "start_col": 0, "start_line": 65 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "ArrayRealized.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: ArrayRealized.seq 'a -> s2: ArrayRealized.seq 'a -> ArrayRealized.seq 'a
Prims.Tot
[ "total" ]
[]
[ "ArrayRealized.seq", "ArrayRealized.Seq", "ArrayRealized.Append", "Prims.op_Addition", "ArrayRealized.length" ]
[]
false
false
false
true
false
let append s1 s2 =
Seq (Append s1 s2) 0 (length s1 + length s2)
false
ArrayRealized.fst
ArrayRealized.__update__
val __update__: contents 'a -> int -> 'a -> Tot (contents 'a)
val __update__: contents 'a -> int -> 'a -> Tot (contents 'a)
let rec __update__ c i v = match c with | Const _ | Upd _ _ _ -> Upd i v c | Append s1 s2 -> if i < length s1 then Append (Seq (__update__ (Seq?.c s1) i v) (Seq?.start_i s1) (Seq?.end_i s1)) s2 else Append s1 (Seq (__update__ (Seq?.c s2) (i - length s1) v) (Seq?.start_i s2) (Seq?.end_i s2))
{ "file_name": "examples/data_structures/ArrayRealized.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 102, "end_line": 53, "start_col": 0, "start_line": 47 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "ArrayRealized.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: ArrayRealized.contents 'a -> i: Prims.int -> v: 'a -> ArrayRealized.contents 'a
Prims.Tot
[ "total" ]
[]
[ "ArrayRealized.contents", "Prims.int", "ArrayRealized.Upd", "ArrayRealized.seq", "Prims.op_LessThan", "ArrayRealized.length", "ArrayRealized.Append", "ArrayRealized.Seq", "ArrayRealized.__update__", "ArrayRealized.__proj__Seq__item__c", "ArrayRealized.__proj__Seq__item__start_i", "ArrayRealize...
[ "recursion" ]
false
false
false
true
false
let rec __update__ c i v =
match c with | Const _ | Upd _ _ _ -> Upd i v c | Append s1 s2 -> if i < length s1 then Append (Seq (__update__ (Seq?.c s1) i v) (Seq?.start_i s1) (Seq?.end_i s1)) s2 else Append s1 (Seq (__update__ (Seq?.c s2) (i - length s1) v) (Seq?.start_i s2) (Seq?.end_i s2))
false
ArrayRealized.fst
ArrayRealized.__index__
val __index__: contents 'a -> int -> Tot 'a
val __index__: contents 'a -> int -> Tot 'a
let rec __index__ c i = match c with | Const v -> v | Upd j v tl -> if i=j then v else __index__ tl i | Append s1 s2 -> if i < length s1 then __index__ (Seq?.c s1) i else __index__ (Seq?.c s2) (i - length s1)
{ "file_name": "examples/data_structures/ArrayRealized.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 108, "end_line": 41, "start_col": 0, "start_line": 38 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "ArrayRealized.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: ArrayRealized.contents 'a -> i: Prims.int -> 'a
Prims.Tot
[ "total" ]
[]
[ "ArrayRealized.contents", "Prims.int", "Prims.op_Equality", "Prims.bool", "ArrayRealized.__index__", "ArrayRealized.seq", "Prims.op_LessThan", "ArrayRealized.length", "ArrayRealized.__proj__Seq__item__c", "Prims.op_Subtraction" ]
[ "recursion" ]
false
false
false
true
false
let rec __index__ c i =
match c with | Const v -> v | Upd j v tl -> if i = j then v else __index__ tl i | Append s1 s2 -> if i < length s1 then __index__ (Seq?.c s1) i else __index__ (Seq?.c s2) (i - length s1)
false
Hacl.Streaming.Functor.fst
Hacl.Streaming.Functor.reset
val reset: #index:Type0 -> c:block index -> i:G.erased index -> ( let i = G.reveal i in t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> reset_st #index c i t t')
val reset: #index:Type0 -> c:block index -> i:G.erased index -> ( let i = G.reveal i in t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> reset_st #index c i t t')
let reset #index c i t t' state key = [@inline_let] let _ = c.state.invariant_loc_in_footprint #i in [@inline_let] let _ = c.key.invariant_loc_in_footprint #i in allow_inversion key_management; let open LowStar.BufferOps in (**) let h1 = ST.get () in let State block_state buf _ _ k' = !*state in let i = ...
{ "file_name": "code/streaming/Hacl.Streaming.Functor.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 625, "start_col": 0, "start_line": 557 }
module Hacl.Streaming.Functor /// Provided an instance of the type class, this creates a streaming API on top. /// This means that every function in this module takes two extra arguments /// compared to the previous streaming module specialized for hashes: the type /// of the index, and a type class for that index. Th...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Streaming.Types.fst.checked", "Hacl.Streaming.Spec.fst.checked...
[ { "abbrev": false, "full_module": "Hacl.Streaming.Spec", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Hacl.Streaming.Interface.block index -> i: FStar.Ghost.erased index -> (let i = FStar.Ghost.reveal i in t: Type0{t == Stateful?.s (Block?.state c) i} -> t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)} -> Hacl.Streaming.Functor.reset_st c (FStar.Gho...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Interface.block", "FStar.Ghost.erased", "Prims.eq2", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.Interface.__proj__Block__item__state", "FStar.Ghost.reveal", "Hacl.Streaming.Interface.optional_key", "Hacl.Streaming.Interface.__proj__Block__item__km", "Hacl.S...
[]
false
false
false
false
false
let reset #index c i t t' state key =
[@@ inline_let ]let _ = c.state.invariant_loc_in_footprint #i in [@@ inline_let ]let _ = c.key.invariant_loc_in_footprint #i in allow_inversion key_management; let open LowStar.BufferOps in let h1 = ST.get () in let State block_state buf _ _ k' = !*state in let i = c.index_of_state i block_state in LowStar.Ignore.ignor...
false
ArrayRealized.fst
ArrayRealized.split
val split: s:seq 'a -> i:nat{(0 <= i /\ i < length s)} -> Tot (seq 'a * seq 'a)
val split: s:seq 'a -> i:nat{(0 <= i /\ i < length s)} -> Tot (seq 'a * seq 'a)
let split s i = slice s 0 i, slice s i (length s)
{ "file_name": "examples/data_structures/ArrayRealized.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 62, "start_col": 0, "start_line": 62 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "ArrayRealized.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: ArrayRealized.seq 'a -> i: Prims.nat{0 <= i /\ i < ArrayRealized.length s} -> ArrayRealized.seq 'a * ArrayRealized.seq 'a
Prims.Tot
[ "total" ]
[]
[ "ArrayRealized.seq", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "ArrayRealized.length", "FStar.Pervasives.Native.Mktuple2", "ArrayRealized.slice", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
false
false
let split s i =
slice s 0 i, slice s i (length s)
false
ArrayRealized.fst
ArrayRealized.slice
val slice: s:seq 'a -> i:nat -> j:nat{(i <= j /\ j <= length s)} -> Tot (seq 'a)
val slice: s:seq 'a -> i:nat -> j:nat{(i <= j /\ j <= length s)} -> Tot (seq 'a)
let slice (Seq c start_i end_i) i j = Seq c (start_i + i) (start_i + j)
{ "file_name": "examples/data_structures/ArrayRealized.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 71, "end_line": 59, "start_col": 0, "start_line": 59 }
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "ArrayRealized.fst" }
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: ArrayRealized.seq 'a -> i: Prims.nat -> j: Prims.nat{i <= j /\ j <= ArrayRealized.length s} -> ArrayRealized.seq 'a
Prims.Tot
[ "total" ]
[]
[ "ArrayRealized.seq", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "ArrayRealized.length", "ArrayRealized.contents", "Prims.op_GreaterThanOrEqual", "ArrayRealized.Seq", "Prims.op_Addition" ]
[]
false
false
false
false
false
let slice (Seq c start_i end_i) i j =
Seq c (start_i + i) (start_i + j)
false
InsertionSort.fst
InsertionSort.insert_implicit
val insert_implicit : i:int -> l:list int{sorted l} -> Tot (m:list int{sorted m /\ permutation (i::l) m})
val insert_implicit : i:int -> l:list int{sorted l} -> Tot (m:list int{sorted m /\ permutation (i::l) m})
let rec insert_implicit i l = match l with | [] -> [i] | hd::tl -> if i <= hd then i::l else hd::(insert_implicit i tl)
{ "file_name": "examples/algorithms/InsertionSort.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 36, "end_line": 42, "start_col": 0, "start_line": 38 }
(* Copyright 2008-2014 Nikhil Swamy, Chantal Keller, Catalin Hritcu 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "IntSort.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "InsertionSort.fst" }
[ { "abbrev": false, "full_module": "IntSort", "short_module": null }, { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Pr...
{ "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
i: Prims.int -> l: Prims.list Prims.int {IntSort.sorted l} -> m: Prims.list Prims.int {IntSort.sorted m /\ IntSort.permutation (i :: l) m}
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Prims.list", "Prims.b2t", "IntSort.sorted", "Prims.Cons", "Prims.Nil", "Prims.op_LessThanOrEqual", "Prims.bool", "InsertionSort.insert_implicit", "Prims.l_and", "IntSort.permutation" ]
[ "recursion" ]
false
false
false
false
false
let rec insert_implicit i l =
match l with | [] -> [i] | hd :: tl -> if i <= hd then i :: l else hd :: (insert_implicit i tl)
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.valid_nlist_cons_recip
val valid_nlist_cons_recip (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (n > 0 /\ valid (parse_nlist n p) h sl pos)) (ensures (valid p h sl pos /\ (let pos...
val valid_nlist_cons_recip (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (n > 0 /\ valid (parse_nlist n p) h sl pos)) (ensures (valid p h sl pos /\ (let pos...
let valid_nlist_cons_recip (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires ( n > 0 /\ valid (parse_nlist n p) h sl pos )) (ensures ( valid p h sl pos /\ ( let pos1 = get_valid_pos p h sl pos in ...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 47, "end_line": 105, "start_col": 0, "start_line": 75 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
n: Prims.nat -> p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires n > 0 /\ LowParse.Low.Base.Spec.valid (LowParse.Spec.VCList.parse_nlist n p) h sl pos) (ensures...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.valid_facts", "LowParse.Spec.VCList.parse_nlist_kind", "Prims.op_Subtracti...
[]
true
false
true
false
false
let valid_nlist_cons_recip (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (n > 0 /\ valid (parse_nlist n p) h sl pos)) (ensures (valid p h sl pos /\ (let pos...
valid_facts (parse_nlist n p) h sl pos; parse_nlist_eq n p (bytes_of_slice_from h sl pos); valid_facts p h sl pos; let pos1 = get_valid_pos p h sl pos in valid_facts (parse_nlist (n - 1) p) h sl pos1
false
InsertionSort.fst
InsertionSort.insert
val insert : i:int -> l:list int{sorted l} -> Tot (m:list int{sorted m /\ permutation (i::l) m})
val insert : i:int -> l:list int{sorted l} -> Tot (m:list int{sorted m /\ permutation (i::l) m})
let rec insert i l = match l with | [] -> [i] | hd::tl -> if i <= hd then i::l else let i_tl = insert i tl in let (z::_) = i_tl in if mem z tl then sorted_smaller hd z tl; hd::i_tl
{ "file_name": "examples/algorithms/InsertionSort.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 33, "start_col": 0, "start_line": 26 }
(* Copyright 2008-2014 Nikhil Swamy, Chantal Keller, Catalin Hritcu 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "IntSort.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "InsertionSort.fst" }
[ { "abbrev": false, "full_module": "IntSort", "short_module": null }, { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Pr...
{ "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
i: Prims.int -> l: Prims.list Prims.int {IntSort.sorted l} -> m: Prims.list Prims.int {IntSort.sorted m /\ IntSort.permutation (i :: l) m}
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Prims.list", "Prims.b2t", "IntSort.sorted", "Prims.Cons", "Prims.Nil", "Prims.op_LessThanOrEqual", "Prims.bool", "Prims.unit", "FStar.List.Tot.Base.mem", "IntSort.sorted_smaller", "Prims.l_and", "IntSort.permutation", "InsertionSort.insert" ]
[ "recursion" ]
false
false
false
false
false
let rec insert i l =
match l with | [] -> [i] | hd :: tl -> if i <= hd then i :: l else let i_tl = insert i tl in let z :: _ = i_tl in if mem z tl then sorted_smaller hd z tl; hd :: i_tl
false
InsertionSort.fst
InsertionSort.sort
val sort : l:list int -> Tot (m:list int{sorted m /\ permutation l m})
val sort : l:list int -> Tot (m:list int{sorted m /\ permutation l m})
let rec sort l = match l with | [] -> [] | x::xs -> insert x (sort xs)
{ "file_name": "examples/algorithms/InsertionSort.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 48, "start_col": 0, "start_line": 46 }
(* Copyright 2008-2014 Nikhil Swamy, Chantal Keller, Catalin Hritcu 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "IntSort.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "InsertionSort.fst" }
[ { "abbrev": false, "full_module": "IntSort", "short_module": null }, { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Pr...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list Prims.int -> m: Prims.list Prims.int {IntSort.sorted m /\ IntSort.permutation l m}
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Prims.int", "Prims.Nil", "InsertionSort.insert", "InsertionSort.sort", "Prims.l_and", "Prims.b2t", "IntSort.sorted", "IntSort.permutation" ]
[ "recursion" ]
false
false
false
false
false
let rec sort l =
match l with | [] -> [] | x :: xs -> insert x (sort xs)
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.valid_vclist_elim
val valid_vclist_elim (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#lk: parser_kind) (lp: parser lk U32.t {lk.parser_kind_subkind == Some ParserStrong}) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel) ...
val valid_vclist_elim (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#lk: parser_kind) (lp: parser lk U32.t {lk.parser_kind_subkind == Some ParserStrong}) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel) ...
let valid_vclist_elim (min: nat) (max: nat { min <= max /\ max < 4294967296 } ) (#lk: parser_kind) (lp: parser lk U32.t { lk.parser_kind_subkind == Some ParserStrong }) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel) (pos: U32.t) : Lemma (requires...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 54, "end_line": 415, "start_col": 0, "start_line": 388 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
min: Prims.nat -> max: Prims.nat{min <= max /\ max < 4294967296} -> lp: LowParse.Spec.Base.parser lk FStar.UInt32.t { Mkparser_kind'?.parser_kind_subkind lk == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong } -> p: LowParse.Spec.Base.parser k t -> h: FStar.Mono...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.UInt32.t", "Prims.eq2", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_ki...
[]
true
false
true
false
false
let valid_vclist_elim (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#lk: parser_kind) (lp: parser lk U32.t {lk.parser_kind_subkind == Some ParserStrong}) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel) ...
valid_facts (parse_vclist min max lp p) h input pos; parse_vclist_eq min max lp p (bytes_of_slice_from h input pos); valid_facts lp h input pos; let len = contents lp h input pos in let pos1 = get_valid_pos lp h input pos in valid_facts (parse_nlist (U32.v len) p) h input pos1
false
Hacl.Streaming.Functor.fst
Hacl.Streaming.Functor.malloc
val malloc: #index: Type0 -> c:block index -> i:index -> t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> malloc_st c i t t'
val malloc: #index: Type0 -> c:block index -> i:index -> t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> malloc_st c i t t'
let malloc #index c i t t' key r = [@inline_let] let _ = c.state.invariant_loc_in_footprint #i in [@inline_let] let _ = c.key.invariant_loc_in_footprint #i in allow_inversion key_management; (**) let h0 = ST.get () in (**) B.loc_unused_in_not_unused_in_disjoint h0; let buf = B.malloc r (Lib.IntTypes.u8 0)...
{ "file_name": "code/streaming/Hacl.Streaming.Functor.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 367, "start_col": 0, "start_line": 268 }
module Hacl.Streaming.Functor /// Provided an instance of the type class, this creates a streaming API on top. /// This means that every function in this module takes two extra arguments /// compared to the previous streaming module specialized for hashes: the type /// of the index, and a type class for that index. Th...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Streaming.Types.fst.checked", "Hacl.Streaming.Spec.fst.checked...
[ { "abbrev": false, "full_module": "Hacl.Streaming.Spec", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Hacl.Streaming.Interface.block index -> i: index -> t: Type0{t == Stateful?.s (Block?.state c) i} -> t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)} -> Hacl.Streaming.Functor.malloc_st c i t t'
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Interface.block", "Prims.eq2", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.Interface.__proj__Block__item__state", "Hacl.Streaming.Interface.optional_key", "Hacl.Streaming.Interface.__proj__Block__item__km", "Hacl.Streaming.Interface.__proj__Block__item__key", ...
[]
false
false
false
false
false
let malloc #index c i t t' key r =
[@@ inline_let ]let _ = c.state.invariant_loc_in_footprint #i in [@@ inline_let ]let _ = c.key.invariant_loc_in_footprint #i in allow_inversion key_management; let h0 = ST.get () in B.loc_unused_in_not_unused_in_disjoint h0; let buf = B.malloc r (Lib.IntTypes.u8 0) (c.blocks_state_len i) in let h1 = ST.get () in assert...
false
FStar.DM4F.IntStoreFixedReader.fst
FStar.DM4F.IntStoreFixedReader.return_isr
val return_isr (a: Type) (x: a) : int_store_reader a
val return_isr (a: Type) (x: a) : int_store_reader a
let return_isr (a:Type) (x:a) : int_store_reader a = fun store -> x
{ "file_name": "examples/dm4free/FStar.DM4F.IntStoreFixedReader.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 67, "end_line": 21, "start_col": 0, "start_line": 21 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "FStar.DM4F.IntStoreFixedReader.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> x: a -> FStar.DM4F.IntStoreFixedReader.int_store_reader a
Prims.Tot
[ "total" ]
[]
[ "FStar.DM4F.Heap.IntStoreFixed.heap", "FStar.DM4F.IntStoreFixedReader.int_store_reader" ]
[]
false
false
false
true
false
let return_isr (a: Type) (x: a) : int_store_reader a =
fun store -> x
false
FStar.DM4F.IntStoreFixedReader.fst
FStar.DM4F.IntStoreFixedReader.bind_isr
val bind_isr (a b: Type) (x: int_store_reader a) (f: (a -> int_store_reader b)) : int_store_reader b
val bind_isr (a b: Type) (x: int_store_reader a) (f: (a -> int_store_reader b)) : int_store_reader b
let bind_isr (a b : Type) (x:int_store_reader a) (f: a -> int_store_reader b) : int_store_reader b = fun store -> let z = x store in f z store
{ "file_name": "examples/dm4free/FStar.DM4F.IntStoreFixedReader.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 13, "end_line": 26, "start_col": 0, "start_line": 22 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "FStar.DM4F.IntStoreFixedReader.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> x: FStar.DM4F.IntStoreFixedReader.int_store_reader a -> f: (_: a -> FStar.DM4F.IntStoreFixedReader.int_store_reader b) -> FStar.DM4F.IntStoreFixedReader.int_store_reader b
Prims.Tot
[ "total" ]
[]
[ "FStar.DM4F.IntStoreFixedReader.int_store_reader", "FStar.DM4F.Heap.IntStoreFixed.heap" ]
[]
false
false
false
true
false
let bind_isr (a b: Type) (x: int_store_reader a) (f: (a -> int_store_reader b)) : int_store_reader b =
fun store -> let z = x store in f z store
false
FStar.DM4F.IntStoreFixedReader.fst
FStar.DM4F.IntStoreFixedReader.get
val get: Prims.unit -> int_store_reader heap
val get: Prims.unit -> int_store_reader heap
let get () : int_store_reader heap = fun store -> store
{ "file_name": "examples/dm4free/FStar.DM4F.IntStoreFixedReader.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 28, "start_col": 0, "start_line": 28 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.Heap.IntStoreFixed.fsti.checked" ], "interface_file": false, "source_file": "FStar.DM4F.IntStoreFixedReader.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.Heap.IntStoreFixed", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.DM4F.IntStoreFixedReader.int_store_reader FStar.DM4F.Heap.IntStoreFixed.heap
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "FStar.DM4F.Heap.IntStoreFixed.heap", "FStar.DM4F.IntStoreFixedReader.int_store_reader" ]
[]
false
false
false
true
false
let get () : int_store_reader heap =
fun store -> store
false
Hacl.Streaming.Functor.fst
Hacl.Streaming.Functor.digest_process_begin_functional_correctness
val digest_process_begin_functional_correctness : #index:Type0 -> (c: block index) -> i:G.erased index -> ( let i = G.reveal i in t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> s:state c i t t' -> dst:B.buffer uint8 -> l: c.output_length_t { B.length dst == c.output_le...
val digest_process_begin_functional_correctness : #index:Type0 -> (c: block index) -> i:G.erased index -> ( let i = G.reveal i in t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> s:state c i t t' -> dst:B.buffer uint8 -> l: c.output_length_t { B.length dst == c.output_le...
let digest_process_begin_functional_correctness #index c i t t' p dst l h0 h1 tmp_block_state = let h3 = h0 in let h4 = h1 in let s = B.get h0 p 0 in let State block_state buf_ total_len seen k' = s in let r = rest c i total_len in let buf_ = B.gsub buf_ 0ul r in let prev_len = U64.(total_len `sub` FSta...
{ "file_name": "code/streaming/Hacl.Streaming.Functor.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 1649, "start_col": 0, "start_line": 1591 }
module Hacl.Streaming.Functor /// Provided an instance of the type class, this creates a streaming API on top. /// This means that every function in this module takes two extra arguments /// compared to the previous streaming module specialized for hashes: the type /// of the index, and a type class for that index. Th...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Streaming.Types.fst.checked", "Hacl.Streaming.Spec.fst.checked...
[ { "abbrev": false, "full_module": "Hacl.Streaming.Spec", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Hacl.Streaming.Interface.block index -> i: FStar.Ghost.erased index -> (let i = FStar.Ghost.reveal i in t: Type0{t == Stateful?.s (Block?.state c) i} -> t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)} -> s: Hacl.Streaming.Functor.state c i t t' -...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Interface.block", "FStar.Ghost.erased", "Prims.eq2", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.Interface.__proj__Block__item__state", "FStar.Ghost.reveal", "Hacl.Streaming.Interface.optional_key", "Hacl.Streaming.Interface.__proj__Block__item__km", "Hacl.S...
[]
false
false
false
false
false
let digest_process_begin_functional_correctness #index c i t t' p dst l h0 h1 tmp_block_state =
let h3 = h0 in let h4 = h1 in let s = B.get h0 p 0 in let State block_state buf_ total_len seen k' = s in let r = rest c i total_len in let buf_ = B.gsub buf_ 0ul r in let prev_len = let open U64 in total_len `sub` (FStar.Int.Cast.uint32_to_uint64 r) in let r_last = rest_finish c i r in let r_multi = let open U32 in r ...
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_code_KeyExpansionStdcall
val va_code_KeyExpansionStdcall : alg:algorithm -> Tot va_code
val va_code_KeyExpansionStdcall : alg:algorithm -> Tot va_code
let va_code_KeyExpansionStdcall alg = (va_Block (va_CCons (va_code_CreateHeaplets ()) (va_CCons (if (alg = AES_128) then va_Block (va_CCons (va_code_KeyExpansion128Stdcall ()) (va_CNil ())) else va_Block (va_CCons (va_code_KeyExpansion256Stdcall ()) (va_CNil ()))) (va_CCons (va_code_DestroyHeaplets ()) (v...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 27, "start_col": 0, "start_line": 23 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "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
alg: Vale.AES.AES_common_s.algorithm -> Vale.PPC64LE.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Decls.va_Block", "Vale.PPC64LE.Decls.va_CCons", "Vale.PPC64LE.InsMem.va_code_CreateHeaplets", "Prims.op_Equality", "Vale.AES.AES_common_s.AES_128", "Vale.AES.PPC64LE.AES128.va_code_KeyExpansion128Stdcall", "Vale.PPC64LE.Decls.va_CNil", "Prims.bool", ...
[]
false
false
false
true
false
let va_code_KeyExpansionStdcall alg =
(va_Block (va_CCons (va_code_CreateHeaplets ()) (va_CCons (if (alg = AES_128) then va_Block (va_CCons (va_code_KeyExpansion128Stdcall ()) (va_CNil ())) else va_Block (va_CCons (va_code_KeyExpansion256Stdcall ()) (va_CNil ()))) (va_CCons (va_code_DestroyHeaplets ()) (va_CN...
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.valid_vclist_intro
val valid_vclist_intro (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#lk: parser_kind) (lp: parser lk U32.t {lk.parser_kind_subkind == Some ParserStrong}) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel)...
val valid_vclist_intro (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#lk: parser_kind) (lp: parser lk U32.t {lk.parser_kind_subkind == Some ParserStrong}) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel)...
let valid_vclist_intro (min: nat) (max: nat { min <= max /\ max < 4294967296 } ) (#lk: parser_kind) (lp: parser lk U32.t { lk.parser_kind_subkind == Some ParserStrong }) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel) (pos: U32.t) : Lemma (require...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 54, "end_line": 448, "start_col": 0, "start_line": 418 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
min: Prims.nat -> max: Prims.nat{min <= max /\ max < 4294967296} -> lp: LowParse.Spec.Base.parser lk FStar.UInt32.t { Mkparser_kind'?.parser_kind_subkind lk == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong } -> p: LowParse.Spec.Base.parser k t -> h: FStar.Mono...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.UInt32.t", "Prims.eq2", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_ki...
[]
true
false
true
false
false
let valid_vclist_intro (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#lk: parser_kind) (lp: parser lk U32.t {lk.parser_kind_subkind == Some ParserStrong}) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel)...
valid_facts (parse_vclist min max lp p) h input pos; parse_vclist_eq min max lp p (bytes_of_slice_from h input pos); valid_facts lp h input pos; let len = contents lp h input pos in let pos1 = get_valid_pos lp h input pos in valid_facts (parse_nlist (U32.v len) p) h input pos1
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_codegen_success_AESEncryptBlock
val va_codegen_success_AESEncryptBlock : alg:algorithm -> Tot va_pbool
val va_codegen_success_AESEncryptBlock : alg:algorithm -> Tot va_pbool
let va_codegen_success_AESEncryptBlock alg = (va_pbool_and (if (alg = AES_128) then va_pbool_and (va_codegen_success_AES128EncryptBlock ()) (va_ttrue ()) else va_pbool_and (va_codegen_success_AES256EncryptBlock ()) (va_ttrue ())) (va_ttrue ()))
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 120, "start_col": 0, "start_line": 117 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "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
alg: Vale.AES.AES_common_s.algorithm -> Vale.PPC64LE.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Decls.va_pbool_and", "Prims.op_Equality", "Vale.AES.AES_common_s.AES_128", "Vale.AES.PPC64LE.AES128.va_codegen_success_AES128EncryptBlock", "Vale.PPC64LE.Decls.va_ttrue", "Prims.bool", "Vale.AES.PPC64LE.AES256.va_codegen_success_AES256EncryptBlock", "...
[]
false
false
false
true
false
let va_codegen_success_AESEncryptBlock alg =
(va_pbool_and (if (alg = AES_128) then va_pbool_and (va_codegen_success_AES128EncryptBlock ()) (va_ttrue ()) else va_pbool_and (va_codegen_success_AES256EncryptBlock ()) (va_ttrue ())) (va_ttrue ()))
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.validate_vclist
val validate_vclist (min: U32.t) (max: U32.t{U32.v min <= U32.v max}) (#lk: parser_kind) (#lp: parser lk U32.t) (lv: validator lp) (lr: leaf_reader lp) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) : Tot (validator (parse_vclist (U32.v min...
val validate_vclist (min: U32.t) (max: U32.t{U32.v min <= U32.v max}) (#lk: parser_kind) (#lp: parser lk U32.t) (lv: validator lp) (lr: leaf_reader lp) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) : Tot (validator (parse_vclist (U32.v min...
let validate_vclist (min: U32.t) (max: U32.t { U32.v min <= U32.v max } ) (#lk: parser_kind) (#lp: parser lk U32.t) (lv: validator lp) (lr: leaf_reader lp) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) : Tot (validator (parse_vclist (U32.v min) (U32.v max) lp p)) = fun #rrel #rel in...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 358, "start_col": 0, "start_line": 329 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
min: FStar.UInt32.t -> max: FStar.UInt32.t{FStar.UInt32.v min <= FStar.UInt32.v max} -> lv: LowParse.Low.Base.validator lp -> lr: LowParse.Low.Base.leaf_reader lp -> v: LowParse.Low.Base.validator p -> LowParse.Low.Base.validator (LowParse.Spec.VCList.parse_vclist (FStar.UInt32.v min) (...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Low.Base.leaf_reader", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", ...
[]
false
false
false
false
false
let validate_vclist (min: U32.t) (max: U32.t{U32.v min <= U32.v max}) (#lk: parser_kind) (#lp: parser lk U32.t) (lv: validator lp) (lr: leaf_reader lp) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) : Tot (validator (parse_vclist (U32.v min...
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (parse_vclist (U32.v min) (U32.v max) lp p) h input (uint64_to_uint32 pos); parse_vclist_eq (U32.v min) (U32.v max) lp p (bytes_of_slice_from h input (uint64_to_uint32 pos)); valid_facts lp h in...
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_codegen_success_KeyExpansionStdcall
val va_codegen_success_KeyExpansionStdcall : alg:algorithm -> Tot va_pbool
val va_codegen_success_KeyExpansionStdcall : alg:algorithm -> Tot va_pbool
let va_codegen_success_KeyExpansionStdcall alg = (va_pbool_and (va_codegen_success_CreateHeaplets ()) (va_pbool_and (if (alg = AES_128) then va_pbool_and (va_codegen_success_KeyExpansion128Stdcall ()) (va_ttrue ()) else va_pbool_and (va_codegen_success_KeyExpansion256Stdcall ()) (va_ttrue ())) (va_pbool_and ...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 60, "end_line": 34, "start_col": 0, "start_line": 30 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "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
alg: Vale.AES.AES_common_s.algorithm -> Vale.PPC64LE.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Decls.va_pbool_and", "Vale.PPC64LE.InsMem.va_codegen_success_CreateHeaplets", "Prims.op_Equality", "Vale.AES.AES_common_s.AES_128", "Vale.AES.PPC64LE.AES128.va_codegen_success_KeyExpansion128Stdcall", "Vale.PPC64LE.Decls.va_ttrue", "Prims.bool", "Vale...
[]
false
false
false
true
false
let va_codegen_success_KeyExpansionStdcall alg =
(va_pbool_and (va_codegen_success_CreateHeaplets ()) (va_pbool_and (if (alg = AES_128) then va_pbool_and (va_codegen_success_KeyExpansion128Stdcall ()) (va_ttrue ()) else va_pbool_and (va_codegen_success_KeyExpansion256Stdcall ()) (va_ttrue ())) (va_pbool_and (va_codegen_success_DestroyH...
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_qcode_KeyExpansionStdcall
val va_qcode_KeyExpansionStdcall (va_mods: va_mods_t) (alg: algorithm) (input_key_b output_key_expansion_b: buffer128) : (va_quickCode unit (va_code_KeyExpansionStdcall alg))
val va_qcode_KeyExpansionStdcall (va_mods: va_mods_t) (alg: algorithm) (input_key_b output_key_expansion_b: buffer128) : (va_quickCode unit (va_code_KeyExpansionStdcall alg))
let va_qcode_KeyExpansionStdcall (va_mods:va_mods_t) (alg:algorithm) (input_key_b:buffer128) (output_key_expansion_b:buffer128) : (va_quickCode unit (va_code_KeyExpansionStdcall alg)) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in let (in_key1:Vale.Def.Types_s.quad32) = Vale.Def.Typ...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 59, "start_col": 0, "start_line": 37 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.PPC64LE.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> input_key_b: Vale.PPC64LE.Memory.buffer128 -> output_key_expansion_b: Vale.PPC64LE.Memory.buffer128 -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.AES.PPC64LE.AES.va_code_KeyExpansionStdcall alg)
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.PPC64LE.Decls.va_code", "Vale.PPC64LE.InsMem.va_code_CreateHeaplets", "Vale.PPC64LE.QuickCodes.if_code", "Prims.op_Equality", ...
[]
false
false
false
false
false
let va_qcode_KeyExpansionStdcall (va_mods: va_mods_t) (alg: algorithm) (input_key_b output_key_expansion_b: buffer128) : (va_quickCode unit (va_code_KeyExpansionStdcall alg)) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in let in_key1:Vale.Def.Types_s.quad32 = Vale.Def.Types_s.reverse_bytes_quad32 (Vale.PPC64LE.Decls.buffer128_read input_key_b 0 (va_get_mem va_s)) in let in_key2:Vale.Def.T...
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_code_AESEncryptBlock
val va_code_AESEncryptBlock : alg:algorithm -> Tot va_code
val va_code_AESEncryptBlock : alg:algorithm -> Tot va_code
let va_code_AESEncryptBlock alg = (va_Block (va_CCons (if (alg = AES_128) then va_Block (va_CCons (va_code_AES128EncryptBlock ()) (va_CNil ())) else va_Block (va_CCons (va_code_AES256EncryptBlock ()) (va_CNil ()))) (va_CNil ())))
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 9, "end_line": 114, "start_col": 0, "start_line": 111 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "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
alg: Vale.AES.AES_common_s.algorithm -> Vale.PPC64LE.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Decls.va_Block", "Vale.PPC64LE.Decls.va_CCons", "Prims.op_Equality", "Vale.AES.AES_common_s.AES_128", "Vale.AES.PPC64LE.AES128.va_code_AES128EncryptBlock", "Vale.PPC64LE.Decls.va_CNil", "Prims.bool", "Vale.AES.PPC64LE.AES256.va_code_AES256EncryptBlock...
[]
false
false
false
true
false
let va_code_AESEncryptBlock alg =
(va_Block (va_CCons (if (alg = AES_128) then va_Block (va_CCons (va_code_AES128EncryptBlock ()) (va_CNil ())) else va_Block (va_CCons (va_code_AES256EncryptBlock ()) (va_CNil ()))) (va_CNil ())))
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_qcode_AESEncryptBlock
val va_qcode_AESEncryptBlock (va_mods: va_mods_t) (alg: algorithm) (input: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AESEncryptBlock alg))
val va_qcode_AESEncryptBlock (va_mods: va_mods_t) (alg: algorithm) (input: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AESEncryptBlock alg))
let va_qcode_AESEncryptBlock (va_mods:va_mods_t) (alg:algorithm) (input:quad32) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_buffer:buffer128) : (va_quickCode unit (va_code_AESEncryptBlock alg)) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QBind va_range1 "***** PRECONDI...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 134, "start_col": 0, "start_line": 123 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.PPC64LE.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> input: Vale.PPC64LE.Memory.quad32 -> key: FStar.Seq.Base.seq Vale.PPC64LE.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.PPC64LE.Memory.quad32 -> keys_buffer: Vale.PPC64LE.Memory.buffer128 -> Vale.PPC64L...
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.PPC64LE.Decls.va_code", "Vale.PPC64LE.Quick...
[]
false
false
false
false
false
let va_qcode_AESEncryptBlock (va_mods: va_mods_t) (alg: algorithm) (input: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AESEncryptBlock alg)) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QBind va_range1 "***** PRECONDITION NOT MET AT line 113 column 15 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/aes/ppc64le/Vale.AES.PPC64LE.AES.vaf *****" (va_qInlineIf va_mods ...
false
LList.fst
LList.new_llist
val new_llist (#a:Type) (init:a) : Steel (t a & list (cell a)) emp (fun pc -> llist (fst pc) (snd pc)) (requires fun _ -> True) (ensures fun _ pc _ -> datas (snd pc) == [init])
val new_llist (#a:Type) (init:a) : Steel (t a & list (cell a)) emp (fun pc -> llist (fst pc) (snd pc)) (requires fun _ -> True) (ensures fun _ pc _ -> datas (snd pc) == [init])
let new_llist #a init = let cell = mk_cell null_llist init in let p = alloc_pt cell in intro_llist_nil a; rewrite_slprop (llist null_llist []) (llist (next cell) []) (fun _ -> ()); intro_llist_cons p cell []; let pc = p, [cell] in pc
{ "file_name": "share/steel/examples/steel/LList.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 4, "end_line": 31, "start_col": 0, "start_line": 24 }
module LList open Steel.Memory open Steel.Effect.Atomic open Steel.Effect open Steel.FractionalPermission open Steel.Reference include LList.Invariant module L = FStar.List.Tot.Base #set-options "--ide_id_info_off" let rec datas (#a:Type) (l:list (cell a)) : list a = match l with | [] -> [] | hd::tl -> data hd ...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "LList.Invariant.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "LList.Invariant", "short_module": null }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
init: a -> Steel.Effect.Steel (LList.Invariant.t a * Prims.list (LList.Invariant.cell a))
Steel.Effect.Steel
[]
[]
[ "FStar.Pervasives.Native.tuple2", "LList.Invariant.t", "Prims.list", "LList.Invariant.cell", "FStar.Pervasives.Native.Mktuple2", "Prims.Cons", "Prims.Nil", "Prims.unit", "LList.Invariant.intro_llist_cons", "Steel.Effect.Atomic.rewrite_slprop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memo...
[]
false
true
false
false
false
let new_llist #a init =
let cell = mk_cell null_llist init in let p = alloc_pt cell in intro_llist_nil a; rewrite_slprop (llist null_llist []) (llist (next cell) []) (fun _ -> ()); intro_llist_cons p cell []; let pc = p, [cell] in pc
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_codegen_success_AESEncryptBlock_6way
val va_codegen_success_AESEncryptBlock_6way : alg:algorithm -> Tot va_pbool
val va_codegen_success_AESEncryptBlock_6way : alg:algorithm -> Tot va_pbool
let va_codegen_success_AESEncryptBlock_6way alg = (va_pbool_and (if (alg = AES_128) then va_pbool_and (va_codegen_success_AES128EncryptBlock_6way ()) (va_ttrue ()) else va_pbool_and (va_codegen_success_AES256EncryptBlock_6way ()) (va_ttrue ())) (va_ttrue ()))
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 175, "start_col": 0, "start_line": 172 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "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
alg: Vale.AES.AES_common_s.algorithm -> Vale.PPC64LE.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Decls.va_pbool_and", "Prims.op_Equality", "Vale.AES.AES_common_s.AES_128", "Vale.AES.PPC64LE.AES128.va_codegen_success_AES128EncryptBlock_6way", "Vale.PPC64LE.Decls.va_ttrue", "Prims.bool", "Vale.AES.PPC64LE.AES256.va_codegen_success_AES256EncryptBlock_...
[]
false
false
false
true
false
let va_codegen_success_AESEncryptBlock_6way alg =
(va_pbool_and (if (alg = AES_128) then va_pbool_and (va_codegen_success_AES128EncryptBlock_6way ()) (va_ttrue ()) else va_pbool_and (va_codegen_success_AES256EncryptBlock_6way ()) (va_ttrue ())) (va_ttrue ()))
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.valid_nlist_cons
val valid_nlist_cons (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (valid p h sl pos /\ valid (parse_nlist n p) h sl (get_valid_pos p h sl pos))) (ensures (valid p h ...
val valid_nlist_cons (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (valid p h sl pos /\ valid (parse_nlist n p) h sl (get_valid_pos p h sl pos))) (ensures (valid p h ...
let valid_nlist_cons (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires ( valid p h sl pos /\ valid (parse_nlist n p) h sl (get_valid_pos p h sl pos) )) (ensures ( valid p h sl pos /\ valid (parse_nl...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 57, "end_line": 73, "start_col": 0, "start_line": 43 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
n: Prims.nat -> p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires LowParse.Low.Base.Spec.valid p h sl pos /\ LowParse.Low.Base.Spec.valid (LowParse.Spec.VCList...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Spec.VCList.parse_nlist_eq", "Prims.op_Addition", "LowParse.Slice.bytes_of_slice_from", ...
[]
true
false
true
false
false
let valid_nlist_cons (n: nat) (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (valid p h sl pos /\ valid (parse_nlist n p) h sl (get_valid_pos p h sl pos))) (ensures (valid p h ...
let pos1 = get_valid_pos p h sl pos in valid_facts p h sl pos; valid_facts (parse_nlist n p) h sl pos1; valid_facts (parse_nlist (n + 1) p) h sl pos; parse_nlist_eq (n + 1) p (bytes_of_slice_from h sl pos)
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_code_AESEncryptBlock_6way
val va_code_AESEncryptBlock_6way : alg:algorithm -> Tot va_code
val va_code_AESEncryptBlock_6way : alg:algorithm -> Tot va_code
let va_code_AESEncryptBlock_6way alg = (va_Block (va_CCons (if (alg = AES_128) then va_Block (va_CCons (va_code_AES128EncryptBlock_6way ()) (va_CNil ())) else va_Block (va_CCons (va_code_AES256EncryptBlock_6way ()) (va_CNil ()))) (va_CNil ())))
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 169, "start_col": 0, "start_line": 166 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "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
alg: Vale.AES.AES_common_s.algorithm -> Vale.PPC64LE.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Decls.va_Block", "Vale.PPC64LE.Decls.va_CCons", "Prims.op_Equality", "Vale.AES.AES_common_s.AES_128", "Vale.AES.PPC64LE.AES128.va_code_AES128EncryptBlock_6way", "Vale.PPC64LE.Decls.va_CNil", "Prims.bool", "Vale.AES.PPC64LE.AES256.va_code_AES256Encrypt...
[]
false
false
false
true
false
let va_code_AESEncryptBlock_6way alg =
(va_Block (va_CCons (if (alg = AES_128) then va_Block (va_CCons (va_code_AES128EncryptBlock_6way ()) (va_CNil ())) else va_Block (va_CCons (va_code_AES256EncryptBlock_6way ()) (va_CNil ()))) (va_CNil ())))
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_qcode_AESEncryptBlock_6way
val va_qcode_AESEncryptBlock_6way (va_mods: va_mods_t) (alg: algorithm) (in1 in2 in3 in4 in5 in6: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AESEncryptBlock_6way alg))
val va_qcode_AESEncryptBlock_6way (va_mods: va_mods_t) (alg: algorithm) (in1 in2 in3 in4 in5 in6: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AESEncryptBlock_6way alg))
let va_qcode_AESEncryptBlock_6way (va_mods:va_mods_t) (alg:algorithm) (in1:quad32) (in2:quad32) (in3:quad32) (in4:quad32) (in5:quad32) (in6:quad32) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_buffer:buffer128) : (va_quickCode unit (va_code_AESEncryptBlock_6way alg)) = (qblock va_mods (fun (va_s:va_state) ->...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 189, "start_col": 0, "start_line": 178 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.PPC64LE.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> in1: Vale.PPC64LE.Memory.quad32 -> in2: Vale.PPC64LE.Memory.quad32 -> in3: Vale.PPC64LE.Memory.quad32 -> in4: Vale.PPC64LE.Memory.quad32 -> in5: Vale.PPC64LE.Memory.quad32 -> in6: Vale.PPC64LE.Memory.qu...
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.PPC64LE.Decls.va_code", "Vale.PPC64LE.Quick...
[]
false
false
false
false
false
let va_qcode_AESEncryptBlock_6way (va_mods: va_mods_t) (alg: algorithm) (in1 in2 in3 in4 in5 in6: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AESEncryptBlock_6way alg)) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QBind va_range1 "***** PRECONDITION NOT MET AT line 159 column 15 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/aes/ppc64le/Vale.AES.PPC64LE.AES.vaf *****" (va_qInlineIf va_mods ...
false
Hacl.Streaming.Functor.fst
Hacl.Streaming.Functor.copy
val copy: #index: Type0 -> c:block index -> i:G.erased index -> t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key (G.reveal i) c.km c.key } -> copy_st c i t t'
val copy: #index: Type0 -> c:block index -> i:G.erased index -> t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key (G.reveal i) c.km c.key } -> copy_st c i t t'
let copy #index c i t t' state r = [@inline_let] let _ = c.state.invariant_loc_in_footprint #i in [@inline_let] let _ = c.key.invariant_loc_in_footprint #i in allow_inversion key_management; // All source state is suffixed by 0. let State block_state0 buf0 total_len0 seen0 k0 = !*state in let i = c.index_o...
{ "file_name": "code/streaming/Hacl.Streaming.Functor.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 458, "start_col": 0, "start_line": 371 }
module Hacl.Streaming.Functor /// Provided an instance of the type class, this creates a streaming API on top. /// This means that every function in this module takes two extra arguments /// compared to the previous streaming module specialized for hashes: the type /// of the index, and a type class for that index. Th...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Streaming.Types.fst.checked", "Hacl.Streaming.Spec.fst.checked...
[ { "abbrev": false, "full_module": "Hacl.Streaming.Spec", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Hacl.Streaming.Interface.block index -> i: FStar.Ghost.erased index -> t: Type0{t == Stateful?.s (Block?.state c) (FStar.Ghost.reveal i)} -> t': Type0 { t' == Hacl.Streaming.Interface.optional_key (FStar.Ghost.reveal i) (Block?.km c) (Block?.key c) } -> Hacl.Streami...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Interface.block", "FStar.Ghost.erased", "Prims.eq2", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.Interface.__proj__Block__item__state", "FStar.Ghost.reveal", "Hacl.Streaming.Interface.optional_key", "Hacl.Streaming.Interface.__proj__Block__item__km", "Hacl.S...
[]
false
false
false
false
false
let copy #index c i t t' state r =
[@@ inline_let ]let _ = c.state.invariant_loc_in_footprint #i in [@@ inline_let ]let _ = c.key.invariant_loc_in_footprint #i in allow_inversion key_management; let State block_state0 buf0 total_len0 seen0 k0 = !*state in let i = c.index_of_state i block_state0 in let h0 = ST.get () in B.loc_unused_in_not_unused_in_disj...
false
Hacl.Streaming.Functor.fst
Hacl.Streaming.Functor.update_empty_or_full_functional_correctness
val update_empty_or_full_functional_correctness : #index:Type0 -> c:block index -> i:G.erased index -> ( let i = G.reveal i in t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> s:state c i t t' -> data: B.buffer Lib.IntTypes.uint8 -> len: UInt32.t -> h0: HS.mem -> h1:...
val update_empty_or_full_functional_correctness : #index:Type0 -> c:block index -> i:G.erased index -> ( let i = G.reveal i in t:Type0 { t == c.state.s i } -> t':Type0 { t' == optional_key i c.km c.key } -> s:state c i t t' -> data: B.buffer Lib.IntTypes.uint8 -> len: UInt32.t -> h0: HS.mem -> h1:...
let update_empty_or_full_functional_correctness #index c i t t' p data len h0 h1 = let s = B.get h0 p 0 in let State block_state buf_ total_len seen0 key = s in let init_s = c.init_s i (optional_reveal #index #i #c.km #c.key h0 key) in Math.Lemmas.modulo_lemma 0 (U32.v (c.block_len i)); let n_blocks = nblock...
{ "file_name": "code/streaming/Hacl.Streaming.Functor.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 1302, "start_col": 0, "start_line": 1274 }
module Hacl.Streaming.Functor /// Provided an instance of the type class, this creates a streaming API on top. /// This means that every function in this module takes two extra arguments /// compared to the previous streaming module specialized for hashes: the type /// of the index, and a type class for that index. Th...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Streaming.Types.fst.checked", "Hacl.Streaming.Spec.fst.checked...
[ { "abbrev": false, "full_module": "Hacl.Streaming.Spec", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Hacl.Streaming.Interface.block index -> i: FStar.Ghost.erased index -> (let i = FStar.Ghost.reveal i in t: Type0{t == Stateful?.s (Block?.state c) i} -> t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)} -> s: Hacl.Streaming.Functor.state c i t t' -...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Interface.block", "FStar.Ghost.erased", "Prims.eq2", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.Interface.__proj__Block__item__state", "FStar.Ghost.reveal", "Hacl.Streaming.Interface.optional_key", "Hacl.Streaming.Interface.__proj__Block__item__km", "Hacl.S...
[]
false
false
false
false
false
let update_empty_or_full_functional_correctness #index c i t t' p data len h0 h1 =
let s = B.get h0 p 0 in let State block_state buf_ total_len seen0 key = s in let init_s = c.init_s i (optional_reveal #index #i #c.km #c.key h0 key) in Math.Lemmas.modulo_lemma 0 (U32.v (c.block_len i)); let n_blocks = nblocks c i len in split_at_last_num_blocks_lem c i (U32.v len); assert (let open U32 in FStar.UInt....
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.jump_vclist
val jump_vclist (min: nat) (max: nat{min <= max}) (#lk: parser_kind) (#lp: parser lk U32.t) (lv: jumper lp) (lr: leaf_reader lp) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: jumper p) : Tot (jumper (parse_vclist min max lp p))
val jump_vclist (min: nat) (max: nat{min <= max}) (#lk: parser_kind) (#lp: parser lk U32.t) (lv: jumper lp) (lr: leaf_reader lp) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: jumper p) : Tot (jumper (parse_vclist min max lp p))
let jump_vclist (min: nat) (max: nat { min <= max } ) (#lk: parser_kind) (#lp: parser lk U32.t) (lv: jumper lp) (lr: leaf_reader lp) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: jumper p) : Tot (jumper (parse_vclist min max lp p)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 27, "end_line": 384, "start_col": 0, "start_line": 361 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
min: Prims.nat -> max: Prims.nat{min <= max} -> lv: LowParse.Low.Base.jumper lp -> lr: LowParse.Low.Base.leaf_reader lp -> v: LowParse.Low.Base.jumper p -> LowParse.Low.Base.jumper (LowParse.Spec.VCList.parse_vclist min max lp p)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.UInt32.t", "LowParse.Low.Base.jumper", "LowParse.Low.Base.leaf_reader", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.VCList.jump_nl...
[]
false
false
false
false
false
let jump_vclist (min: nat) (max: nat{min <= max}) (#lk: parser_kind) (#lp: parser lk U32.t) (lv: jumper lp) (lr: leaf_reader lp) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: jumper p) : Tot (jumper (parse_vclist min max lp p)) =
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (parse_vclist min max lp p) h input pos; parse_vclist_eq min max lp p (bytes_of_slice_from h input pos); valid_facts lp h input pos in let pos1 = lv input pos in let n = lr input pos in [@@ inline_let ]let _ = ...
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_wpProof_KeyExpansionStdcall
val va_wpProof_KeyExpansionStdcall : alg:algorithm -> input_key_b:buffer128 -> output_key_expansion_b:buffer128 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_KeyExpansionStdcall alg input_key_b output_key_expansion_b va_s0 va_...
val va_wpProof_KeyExpansionStdcall : alg:algorithm -> input_key_b:buffer128 -> output_key_expansion_b:buffer128 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_KeyExpansionStdcall alg input_key_b output_key_expansion_b va_s0 va_...
let va_wpProof_KeyExpansionStdcall alg input_key_b output_key_expansion_b va_s0 va_k = let (va_sM, va_f0) = va_lemma_KeyExpansionStdcall (va_code_KeyExpansionStdcall alg) va_s0 alg input_key_b output_key_expansion_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_vec 5 va_sM (va_update_vec ...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 105, "start_col": 0, "start_line": 94 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "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
alg: Vale.AES.AES_common_s.algorithm -> input_key_b: Vale.PPC64LE.Memory.buffer128 -> output_key_expansion_b: Vale.PPC64LE.Memory.buffer128 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.PPC64LE.Decls.va_state * Vale...
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Vale.PPC64LE.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.PPC64LE.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_M...
[]
false
false
false
false
false
let va_wpProof_KeyExpansionStdcall alg input_key_b output_key_expansion_b va_s0 va_k =
let va_sM, va_f0 = va_lemma_KeyExpansionStdcall (va_code_KeyExpansionStdcall alg) va_s0 alg input_key_b output_key_expansion_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_vec 5 va_sM (va_update_vec 4 va_sM (va_update_vec 3 ...
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_wpProof_AESEncryptBlock
val va_wpProof_AESEncryptBlock : alg:algorithm -> input:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_buffer:buffer128 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_AESEncryptBlock alg input key round_keys keys_bu...
val va_wpProof_AESEncryptBlock : alg:algorithm -> input:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_buffer:buffer128 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_AESEncryptBlock alg input key round_keys keys_bu...
let va_wpProof_AESEncryptBlock alg input key round_keys keys_buffer va_s0 va_k = let (va_sM, va_f0) = va_lemma_AESEncryptBlock (va_code_AESEncryptBlock alg) va_s0 alg input key round_keys keys_buffer in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_vec 2 va_sM (va_update_vec 0 va_sM (va_upda...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 160, "start_col": 0, "start_line": 152 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "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
alg: Vale.AES.AES_common_s.algorithm -> input: Vale.PPC64LE.Memory.quad32 -> key: FStar.Seq.Base.seq Vale.PPC64LE.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.PPC64LE.Memory.quad32 -> keys_buffer: Vale.PPC64LE.Memory.buffer128 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.P...
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Vale.PPC64LE.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.PPC64LE.QuickCode.va_lemma_norm_...
[]
false
false
false
false
false
let va_wpProof_AESEncryptBlock alg input key round_keys keys_buffer va_s0 va_k =
let va_sM, va_f0 = va_lemma_AESEncryptBlock (va_code_AESEncryptBlock alg) va_s0 alg input key round_keys keys_buffer in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_vec 2 va_sM (va_update_vec 0 va_sM (va_update_reg 10 va_sM (va_update_ok va_sM va_s0))))); va_lemma_norm_mod...
false
FStar.Class.Eq.fst
FStar.Class.Eq.decides_eq
val decides_eq (#a: Type) (f: (a -> a -> bool)) : prop
val decides_eq (#a: Type) (f: (a -> a -> bool)) : prop
let decides_eq (#a:Type) (f : a -> a -> bool) : prop = forall x y. f x y <==> x == y
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 31, "end_line": 22, "start_col": 0, "start_line": 21 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
f: (_: a -> _: a -> Prims.bool) -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Prims.l_Forall", "Prims.l_iff", "Prims.b2t", "Prims.eq2", "Prims.prop" ]
[]
false
false
false
true
true
let decides_eq (#a: Type) (f: (a -> a -> bool)) : prop =
forall x y. f x y <==> x == y
false
FStar.Class.Eq.fst
FStar.Class.Eq.deq_raw_deq
[@@ FStar.Tactics.Typeclasses.tcinstance] val deq_raw_deq (a: Type) (d: deq a) : Raw.deq a
[@@ FStar.Tactics.Typeclasses.tcinstance] val deq_raw_deq (a: Type) (d: deq a) : Raw.deq a
instance deq_raw_deq (a:Type) (d:deq a) : Raw.deq a = d.raw
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 59, "end_line": 30, "start_col": 0, "start_line": 30 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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 -> d: FStar.Class.Eq.deq a -> FStar.Class.Eq.Raw.deq a
Prims.Tot
[ "total" ]
[]
[ "FStar.Class.Eq.deq", "FStar.Class.Eq.__proj__Mkdeq__item__raw", "FStar.Class.Eq.Raw.deq" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let deq_raw_deq (a: Type) (d: deq a) : Raw.deq a =
d.raw
false
FStar.Class.Eq.fst
FStar.Class.Eq.eq
val eq (#a: Type) {| d: deq a |} (x y: a) : bool
val eq (#a: Type) {| d: deq a |} (x y: a) : bool
let eq (#a:Type) {| d : deq a |} (x y : a) : bool = d.raw.eq x y
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 14, "end_line": 33, "start_col": 0, "start_line": 32 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
{| d: FStar.Class.Eq.deq a |} -> x: a -> y: a -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.Class.Eq.deq", "FStar.Class.Eq.Raw.__proj__Mkdeq__item__eq", "FStar.Class.Eq.__proj__Mkdeq__item__raw", "Prims.bool" ]
[]
false
false
false
true
false
let eq (#a: Type) {| d: deq a |} (x y: a) : bool =
d.raw.eq x y
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_lemma_AESEncryptBlock
val va_lemma_AESEncryptBlock : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> input:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_buffer:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_AESEncryptBlock alg) va_s0 /\ va_get_ok va_s0 /\ (alg = AES_128 \/ alg...
val va_lemma_AESEncryptBlock : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> input:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_buffer:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_AESEncryptBlock alg) va_s0 /\ va_get_ok va_s0 /\ (alg = AES_128 \/ alg...
let va_lemma_AESEncryptBlock va_b0 va_s0 alg input key round_keys keys_buffer = let (va_mods:va_mods_t) = [va_Mod_vec 2; va_Mod_vec 0; va_Mod_reg 10; va_Mod_ok] in let va_qc = va_qcode_AESEncryptBlock va_mods alg input key round_keys keys_buffer in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_AESEncr...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 148, "start_col": 0, "start_line": 137 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.PPC64LE.Decls.va_code -> va_s0: Vale.PPC64LE.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> input: Vale.PPC64LE.Memory.quad32 -> key: FStar.Seq.Base.seq Vale.PPC64LE.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.PPC64LE.Memory.quad32 -> keys_buffer: Vale.PPC64LE...
Prims.Ghost
[]
[]
[ "Vale.PPC64LE.Decls.va_code", "Vale.PPC64LE.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Val...
[]
false
false
false
false
false
let va_lemma_AESEncryptBlock va_b0 va_s0 alg input key round_keys keys_buffer =
let va_mods:va_mods_t = [va_Mod_vec 2; va_Mod_vec 0; va_Mod_reg 10; va_Mod_ok] in let va_qc = va_qcode_AESEncryptBlock va_mods alg input key round_keys keys_buffer in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_AESEncryptBlock alg) va_qc va_s0 (fun va_s0 va_sM va_g -> let () = va_g in ...
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_wpProof_AESEncryptBlock_6way
val va_wpProof_AESEncryptBlock_6way : alg:algorithm -> in1:quad32 -> in2:quad32 -> in3:quad32 -> in4:quad32 -> in5:quad32 -> in6:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_buffer:buffer128 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_...
val va_wpProof_AESEncryptBlock_6way : alg:algorithm -> in1:quad32 -> in2:quad32 -> in3:quad32 -> in4:quad32 -> in5:quad32 -> in6:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_buffer:buffer128 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_...
let va_wpProof_AESEncryptBlock_6way alg in1 in2 in3 in4 in5 in6 key round_keys keys_buffer va_s0 va_k = let (va_sM, va_f0) = va_lemma_AESEncryptBlock_6way (va_code_AESEncryptBlock_6way alg) va_s0 alg in1 in2 in3 in4 in5 in6 key round_keys keys_buffer in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 232, "start_col": 0, "start_line": 221 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "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
alg: Vale.AES.AES_common_s.algorithm -> in1: Vale.PPC64LE.Memory.quad32 -> in2: Vale.PPC64LE.Memory.quad32 -> in3: Vale.PPC64LE.Memory.quad32 -> in4: Vale.PPC64LE.Memory.quad32 -> in5: Vale.PPC64LE.Memory.quad32 -> in6: Vale.PPC64LE.Memory.quad32 -> key: FStar.Seq.Base.seq Vale.PPC64LE....
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Vale.PPC64LE.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.PPC64LE.QuickCode.va_lemma_norm_...
[]
false
false
false
false
false
let va_wpProof_AESEncryptBlock_6way alg in1 in2 in3 in4 in5 in6 key round_keys keys_buffer va_s0 va_k =
let va_sM, va_f0 = va_lemma_AESEncryptBlock_6way (va_code_AESEncryptBlock_6way alg) va_s0 alg in1 in2 in3 in4 in5 in6 key round_keys keys_buffer in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_vec 6 va_sM (va_update_vec 5 va_sM (va_update_ve...
false
FStar.Class.Eq.fst
FStar.Class.Eq.unit_has_eq
[@@ FStar.Tactics.Typeclasses.tcinstance] val unit_has_eq:deq unit
[@@ FStar.Tactics.Typeclasses.tcinstance] val unit_has_eq:deq unit
instance unit_has_eq : deq unit = eq_instance_of_eqtype
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 41, "start_col": 0, "start_line": 41 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
FStar.Class.Eq.deq Prims.unit
Prims.Tot
[ "total" ]
[]
[ "FStar.Class.Eq.eq_instance_of_eqtype", "Prims.unit", "FStar.Class.Eq.Raw.unit_has_eq" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let unit_has_eq:deq unit =
eq_instance_of_eqtype
false
FStar.Class.Eq.fst
FStar.Class.Eq.bool_has_eq
[@@ FStar.Tactics.Typeclasses.tcinstance] val bool_has_eq:deq bool
[@@ FStar.Tactics.Typeclasses.tcinstance] val bool_has_eq:deq bool
instance bool_has_eq : deq bool = eq_instance_of_eqtype
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 55, "end_line": 42, "start_col": 0, "start_line": 42 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
FStar.Class.Eq.deq Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.Class.Eq.eq_instance_of_eqtype", "Prims.bool", "FStar.Class.Eq.Raw.bool_has_eq" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let bool_has_eq:deq bool =
eq_instance_of_eqtype
false
FStar.Class.Eq.fst
FStar.Class.Eq.int_has_eq
[@@ FStar.Tactics.Typeclasses.tcinstance] val int_has_eq:deq int
[@@ FStar.Tactics.Typeclasses.tcinstance] val int_has_eq:deq int
instance int_has_eq : deq int = eq_instance_of_eqtype
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 40, "start_col": 0, "start_line": 40 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
FStar.Class.Eq.deq Prims.int
Prims.Tot
[ "total" ]
[]
[ "FStar.Class.Eq.eq_instance_of_eqtype", "Prims.int", "FStar.Class.Eq.Raw.int_has_eq" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let int_has_eq:deq int =
eq_instance_of_eqtype
false
FStar.Class.Eq.fst
FStar.Class.Eq.string_has_eq
[@@ FStar.Tactics.Typeclasses.tcinstance] val string_has_eq:deq string
[@@ FStar.Tactics.Typeclasses.tcinstance] val string_has_eq:deq string
instance string_has_eq : deq string = eq_instance_of_eqtype
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 59, "end_line": 43, "start_col": 0, "start_line": 43 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
FStar.Class.Eq.deq Prims.string
Prims.Tot
[ "total" ]
[]
[ "FStar.Class.Eq.eq_instance_of_eqtype", "Prims.string", "FStar.Class.Eq.Raw.string_has_eq" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let string_has_eq:deq string =
eq_instance_of_eqtype
false
FStar.Class.Eq.fst
FStar.Class.Eq.eq_instance_of_eqtype
val eq_instance_of_eqtype (#a: eqtype) {| _: Raw.deq a |} : deq a
val eq_instance_of_eqtype (#a: eqtype) {| _: Raw.deq a |} : deq a
let eq_instance_of_eqtype (#a:eqtype) {| Raw.deq a |} : deq a = { raw = Raw.eq_instance_of_eqtype #a; eq_dec = (); }
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 38, "start_col": 0, "start_line": 35 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
{| _: FStar.Class.Eq.Raw.deq a |} -> FStar.Class.Eq.deq a
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.Class.Eq.Raw.deq", "FStar.Class.Eq.Mkdeq", "FStar.Class.Eq.Raw.eq_instance_of_eqtype", "FStar.Class.Eq.deq" ]
[]
false
false
false
false
false
let eq_instance_of_eqtype (#a: eqtype) {| _: Raw.deq a |} : deq a =
{ raw = Raw.eq_instance_of_eqtype #a; eq_dec = () }
false
FStar.Class.Eq.fst
FStar.Class.Eq.eqList_ok
val eqList_ok (#a: Type) (d: deq a) : Lemma (decides_eq #(list a) (Raw.eqList d.raw.eq))
val eqList_ok (#a: Type) (d: deq a) : Lemma (decides_eq #(list a) (Raw.eqList d.raw.eq))
let eqList_ok (#a:Type) (d : deq a) : Lemma (decides_eq #(list a) (Raw.eqList d.raw.eq)) = let rec aux (xs ys : list a) : Lemma (Raw.eqList d.raw.eq xs ys <==> xs == ys) = match xs, ys with | x::xs, y::ys -> aux xs ys | [], [] -> () | _ -> () in Classical.forall_intro_2 aux; ()
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 4, "end_line": 54, "start_col": 0, "start_line": 45 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
d: FStar.Class.Eq.deq a -> FStar.Pervasives.Lemma (ensures FStar.Class.Eq.decides_eq (FStar.Class.Eq.Raw.eqList (Mkdeq?.eq (Mkdeq?.raw d))))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Class.Eq.deq", "Prims.unit", "FStar.Classical.forall_intro_2", "Prims.list", "Prims.l_iff", "Prims.b2t", "FStar.Class.Eq.Raw.eqList", "FStar.Class.Eq.Raw.__proj__Mkdeq__item__eq", "FStar.Class.Eq.__proj__Mkdeq__item__raw", "Prims.eq2", "Prims.l_True", "Prims.squash", "Prims.Nil", "F...
[]
false
false
true
false
false
let eqList_ok (#a: Type) (d: deq a) : Lemma (decides_eq #(list a) (Raw.eqList d.raw.eq)) =
let rec aux (xs ys: list a) : Lemma (Raw.eqList d.raw.eq xs ys <==> xs == ys) = match xs, ys with | x :: xs, y :: ys -> aux xs ys | [], [] -> () | _ -> () in Classical.forall_intro_2 aux; ()
false
FStar.Class.Eq.fst
FStar.Class.Eq.eq_list
[@@ FStar.Tactics.Typeclasses.tcinstance] val eq_list (d: deq 'a) : deq (list 'a)
[@@ FStar.Tactics.Typeclasses.tcinstance] val eq_list (d: deq 'a) : deq (list 'a)
instance eq_list (d : deq 'a) : deq (list 'a) = { raw = Raw.eq_list d.raw; eq_dec = eqList_ok d; }
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 59, "start_col": 0, "start_line": 56 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
d: FStar.Class.Eq.deq 'a -> FStar.Class.Eq.deq (Prims.list 'a)
Prims.Tot
[ "total" ]
[]
[ "FStar.Class.Eq.deq", "FStar.Class.Eq.Mkdeq", "Prims.list", "FStar.Class.Eq.Raw.eq_list", "FStar.Class.Eq.__proj__Mkdeq__item__raw", "FStar.Class.Eq.eqList_ok" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let eq_list (d: deq 'a) : deq (list 'a) =
{ raw = Raw.eq_list d.raw; eq_dec = eqList_ok d }
false
FStar.Class.Eq.fst
FStar.Class.Eq.eq_option
[@@ FStar.Tactics.Typeclasses.tcinstance] val eq_option: deq 'a -> deq (option 'a)
[@@ FStar.Tactics.Typeclasses.tcinstance] val eq_option: deq 'a -> deq (option 'a)
instance eq_option (_ : deq 'a) : deq (option 'a) = { raw = solve; eq_dec = (); }
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 69, "start_col": 0, "start_line": 66 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
_: FStar.Class.Eq.deq 'a -> FStar.Class.Eq.deq (FStar.Pervasives.Native.option 'a)
Prims.Tot
[ "total" ]
[]
[ "FStar.Class.Eq.deq", "FStar.Class.Eq.Mkdeq", "FStar.Pervasives.Native.option", "FStar.Class.Eq.Raw.eq_option", "FStar.Class.Eq.deq_raw_deq", "FStar.Class.Eq.Raw.deq" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let eq_option (_: deq 'a) : deq (option 'a) =
{ raw = solve; eq_dec = () }
false
FStar.Class.Eq.fst
FStar.Class.Eq.eq_pair
[@@ FStar.Tactics.Typeclasses.tcinstance] val eq_pair: deq 'a -> deq 'b -> deq ('a * 'b)
[@@ FStar.Tactics.Typeclasses.tcinstance] val eq_pair: deq 'a -> deq 'b -> deq ('a * 'b)
instance eq_pair (_ : deq 'a) (_ : deq 'b) : deq ('a * 'b) = { raw = solve; eq_dec = (); }
{ "file_name": "ulib/FStar.Class.Eq.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 64, "start_col": 0, "start_line": 61 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked", "FStar.Class.Eq.Raw.fst.checked" ], "interface_file": false, "source_file": "F...
[ { "abbrev": true, "full_module": "FStar.Class.Eq.Raw", "short_module": "Raw" }, { "abbrev": false, "full_module": "FStar.Tactics.Typeclasses", "short_module": null }, { "abbrev": false, "full_module": "FStar.Class", "short_module": null }, { "abbrev": false, "...
{ "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
_: FStar.Class.Eq.deq 'a -> _: FStar.Class.Eq.deq 'b -> FStar.Class.Eq.deq ('a * 'b)
Prims.Tot
[ "total" ]
[]
[ "FStar.Class.Eq.deq", "FStar.Class.Eq.Mkdeq", "FStar.Pervasives.Native.tuple2", "FStar.Class.Eq.Raw.eq_pair", "FStar.Class.Eq.deq_raw_deq", "FStar.Class.Eq.Raw.deq" ]
[]
false
false
false
true
false
[@@ FStar.Tactics.Typeclasses.tcinstance] let eq_pair (_: deq 'a) (_: deq 'b) : deq ('a * 'b) =
{ raw = solve; eq_dec = () }
false
Hacl.Bignum.fsti
Hacl.Bignum.meta_len
val meta_len : t: Hacl.Bignum.Definitions.limb_t -> Type0
let meta_len (t:limb_t) = len:size_t{0 < v len /\ 2 * bits t * v len <= max_size_t}
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 83, "end_line": 373, "start_col": 0, "start_line": 373 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.bits", "Lib.IntTypes.max_size_t" ]
[]
false
false
false
true
true
let meta_len (t: limb_t) =
len: size_t{0 < v len /\ (2 * bits t) * v len <= max_size_t}
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_lemma_AESEncryptBlock_6way
val va_lemma_AESEncryptBlock_6way : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> in1:quad32 -> in2:quad32 -> in3:quad32 -> in4:quad32 -> in5:quad32 -> in6:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_buffer:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code...
val va_lemma_AESEncryptBlock_6way : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> in1:quad32 -> in2:quad32 -> in3:quad32 -> in4:quad32 -> in5:quad32 -> in6:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_buffer:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code...
let va_lemma_AESEncryptBlock_6way va_b0 va_s0 alg in1 in2 in3 in4 in5 in6 key round_keys keys_buffer = let (va_mods:va_mods_t) = [va_Mod_vec 6; va_Mod_vec 5; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10; va_Mod_ok] in let va_qc = va_qcode_AESEncryptBlock_6way va_mods alg...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 217, "start_col": 0, "start_line": 192 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.PPC64LE.Decls.va_code -> va_s0: Vale.PPC64LE.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> in1: Vale.PPC64LE.Memory.quad32 -> in2: Vale.PPC64LE.Memory.quad32 -> in3: Vale.PPC64LE.Memory.quad32 -> in4: Vale.PPC64LE.Memory.quad32 -> in5: Vale.PPC64LE.Memory.quad32 ...
Prims.Ghost
[]
[]
[ "Vale.PPC64LE.Decls.va_code", "Vale.PPC64LE.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Val...
[]
false
false
false
false
false
let va_lemma_AESEncryptBlock_6way va_b0 va_s0 alg in1 in2 in3 in4 in5 in6 key round_keys keys_buffer =
let va_mods:va_mods_t = [ va_Mod_vec 6; va_Mod_vec 5; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10; va_Mod_ok ] in let va_qc = va_qcode_AESEncryptBlock_6way va_mods alg in1 in2 in3 in4 in5 in6 key round_keys keys_buffer in let va_sM, va_fM...
false
Vale.AES.PPC64LE.AES.fst
Vale.AES.PPC64LE.AES.va_lemma_KeyExpansionStdcall
val va_lemma_KeyExpansionStdcall : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> input_key_b:buffer128 -> output_key_expansion_b:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_KeyExpansionStdcall alg) va_s0 /\ va_get_ok va_s0 /\ (let (in_key1:Vale.Def.Types_s.quad32) ...
val va_lemma_KeyExpansionStdcall : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> input_key_b:buffer128 -> output_key_expansion_b:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_KeyExpansionStdcall alg) va_s0 /\ va_get_ok va_s0 /\ (let (in_key1:Vale.Def.Types_s.quad32) ...
let va_lemma_KeyExpansionStdcall va_b0 va_s0 alg input_key_b output_key_expansion_b = let (va_mods:va_mods_t) = [va_Mod_vec 5; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10; va_Mod_mem_layout; va_Mod_mem_heaplet 1; va_Mod_ok; va_Mod_mem] in let va_qc = va_qcode_KeyExpansion...
{ "file_name": "obj/Vale.AES.PPC64LE.AES.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 90, "start_col": 0, "start_line": 64 }
module Vale.AES.PPC64LE.AES open Vale.Def.Types_s open FStar.Seq open Vale.Arch.HeapImpl open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCode...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES256", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.PPC64LE.AES128", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Opaque_s", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.PPC64LE.Decls.va_code -> va_s0: Vale.PPC64LE.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> input_key_b: Vale.PPC64LE.Memory.buffer128 -> output_key_expansion_b: Vale.PPC64LE.Memory.buffer128 -> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.PPC64LE.Decls.va_code", "Vale.PPC64LE.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.PPC64LE.Decls.va_fuel", "Vale.PPC64LE.QuickCode.va_lemma_norm_mods", "Prims.Cons"...
[]
false
false
false
false
false
let va_lemma_KeyExpansionStdcall va_b0 va_s0 alg input_key_b output_key_expansion_b =
let va_mods:va_mods_t = [ va_Mod_vec 5; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10; va_Mod_mem_layout; va_Mod_mem_heaplet 1; va_Mod_ok; va_Mod_mem ] in let va_qc = va_qcode_KeyExpansionStdcall va_mods alg input_key_b output_key_expansion_b in let va_sM, va_fM, va_g =...
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_add_mod_n_st
val bn_add_mod_n_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> Type0
let bn_add_mod_n_st (t:limb_t) (len:size_t{v len > 0}) = n:lbignum t len -> a:lbignum t len -> b:lbignum t len -> res:lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h b /\ live h res /\ disjoint n a /\ disjoint n b /\ disjoint n res /\ eq_or_disjoint a b /\ eq_or_d...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 147, "start_col": 0, "start_line": 136 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.Definitions.lbignum", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Ha...
[]
false
false
false
false
true
let bn_add_mod_n_st (t: limb_t) (len: size_t{v len > 0}) =
n: lbignum t len -> a: lbignum t len -> b: lbignum t len -> res: lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h b /\ live h res /\ disjoint n a /\ disjoint n b /\ disjoint n res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) ...
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.jump_nlist
val jump_nlist (n: U32.t) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: jumper p) : Tot (jumper (parse_nlist (U32.v n) p))
val jump_nlist (n: U32.t) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: jumper p) : Tot (jumper (parse_nlist (U32.v n) p))
let jump_nlist (n: U32.t) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: jumper p) : Tot (jumper (parse_nlist (U32.v n) p)) = fun #rrel #rel input pos -> let h0 = HST.get () in HST.push_frame (); let bpos1 = B.alloca pos 1ul in let br = B.alloca n 1ul in let h1 = HST.get () in C.Loops.do_while ...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 259, "start_col": 0, "start_line": 213 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
n: FStar.UInt32.t -> v: LowParse.Low.Base.jumper p -> LowParse.Low.Base.jumper (LowParse.Spec.VCList.parse_nlist (FStar.UInt32.v n) p)
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.jumper", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "LowParse.Low.VCList.valid_nlist_nil", "LowStar.Monotonic.Buffer.index...
[]
false
false
false
false
false
let jump_nlist (n: U32.t) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: jumper p) : Tot (jumper (parse_nlist (U32.v n) p)) =
fun #rrel #rel input pos -> let h0 = HST.get () in HST.push_frame (); let bpos1 = B.alloca pos 1ul in let br = B.alloca n 1ul in let h1 = HST.get () in C.Loops.do_while (fun h stop -> B.modifies ((B.loc_buffer bpos1) `B.loc_union` (B.loc_buffer br)) h1 h /\ (let pos1 = B.get h bpos1 0 in ...
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_sub_mod_n_st
val bn_sub_mod_n_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> Type0
let bn_sub_mod_n_st (t:limb_t) (len:size_t{v len > 0}) = n:lbignum t len -> a:lbignum t len -> b:lbignum t len -> res:lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h b /\ live h res /\ disjoint n a /\ disjoint n b /\ disjoint n res /\ eq_or_disjoint a b /\ eq_or_d...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 166, "start_col": 0, "start_line": 155 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.Definitions.lbignum", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Ha...
[]
false
false
false
false
true
let bn_sub_mod_n_st (t: limb_t) (len: size_t{v len > 0}) =
n: lbignum t len -> a: lbignum t len -> b: lbignum t len -> res: lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h b /\ live h res /\ disjoint n a /\ disjoint n b /\ disjoint n res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) ...
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_sub_eq_len_st
val bn_sub_eq_len_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
let bn_sub_eq_len_st (t:limb_t) (len:size_t) = a:lbignum t len -> b:lbignum t len -> res:lbignum t len -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) (ensures fun h0 c_out h1 -> modifies (loc res) h0...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 77, "start_col": 0, "start_line": 68 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Bignum.Definitions.limb", "Lib.Buffer.eq_or_disjoint", "Lib.Buffer.modifies", "...
[]
false
false
false
true
true
let bn_sub_eq_len_st (t: limb_t) (len: size_t) =
a: lbignum t len -> b: lbignum t len -> res: lbignum t len -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (...
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_add_st
val bn_add_st : t: Hacl.Bignum.Definitions.limb_t -> Type0
let bn_add_st (t:limb_t) = aLen:size_t -> a:lbignum t aLen -> bLen:size_t{v bLen <= v aLen} -> b:lbignum t bLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures fun h0 c_out h1 ->...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 96, "start_col": 0, "start_line": 85 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Spec.Bignum.Base.carry", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "L...
[]
false
false
false
true
true
let bn_add_st (t: limb_t) =
aLen: size_t -> a: lbignum t aLen -> bLen: size_t{v bLen <= v aLen} -> b: lbignum t bLen -> res: lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures ...
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_add_eq_len_st
val bn_add_eq_len_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
let bn_add_eq_len_st (t:limb_t) (len:size_t) = a:lbignum t len -> b:lbignum t len -> res:lbignum t len -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) (ensures fun h0 c_out h1 -> modifies (loc res) h0...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 60, "start_col": 0, "start_line": 51 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Bignum.Definitions.limb", "Lib.Buffer.eq_or_disjoint", "Lib.Buffer.modifies", "...
[]
false
false
false
true
true
let bn_add_eq_len_st (t: limb_t) (len: size_t) =
a: lbignum t len -> b: lbignum t len -> res: lbignum t len -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res) (ensures fun h0 c_out h1 -> modifies (loc res) h0 h1 /\ (...
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_sub_st
val bn_sub_st : t: Hacl.Bignum.Definitions.limb_t -> Type0
let bn_sub_st (t:limb_t) = aLen:size_t -> a:lbignum t aLen -> bLen:size_t{v bLen <= v aLen} -> b:lbignum t bLen -> res:lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures fun h0 c_out h1 ->...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 115, "start_col": 0, "start_line": 104 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Spec.Bignum.Base.carry", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "L...
[]
false
false
false
true
true
let bn_sub_st (t: limb_t) =
aLen: size_t -> a: lbignum t aLen -> bLen: size_t{v bLen <= v aLen} -> b: lbignum t bLen -> res: lbignum t aLen -> Stack (carry t) (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint a b /\ eq_or_disjoint a res /\ disjoint b res) (ensures ...
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_karatsuba_mul_st
val bn_karatsuba_mul_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t {0 < Lib.IntTypes.v len /\ 4 * Lib.IntTypes.v len <= Lib.IntTypes.max_size_t} -> a: Hacl.Bignum.Definitions.lbignum t len -> Type0
let bn_karatsuba_mul_st (t:limb_t) (len:size_t{0 < v len /\ 4 * v len <= max_size_t}) (a:lbignum t len) = b:lbignum t len -> res:lbignum t (len +! len) -> Stack unit (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint res a /\ disjoint res b /\ eq_or_disjoint a b) (ensures fun h0 _ h1...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 196, "start_col": 0, "start_line": 188 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t {0 < Lib.IntTypes.v len /\ 4 * Lib.IntTypes.v len <= Lib.IntTypes.max_size_t} -> a: Hacl.Bignum.Definitions.lbignum t len -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Hacl.Bignum.Definitions.lbignum", "Lib.IntTypes.op_...
[]
false
false
false
false
true
let bn_karatsuba_mul_st (t: limb_t) (len: size_t{0 < v len /\ 4 * v len <= max_size_t}) (a: lbignum t len) =
b: lbignum t len -> res: lbignum t (len +! len) -> Stack unit (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint res a /\ disjoint res b /\ eq_or_disjoint a b) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_seq h1 res == S.bn_mul (as_seq...
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_sqr_st
val bn_sqr_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t { 0 < Lib.IntTypes.v len /\ Lib.IntTypes.v len + Lib.IntTypes.v len <= Lib.IntTypes.max_size_t } -> a: Hacl.Bignum.Definitions.lbignum t len -> Type0
let bn_sqr_st (t:limb_t) (len:size_t{0 < v len /\ v len + v len <= max_size_t}) (a:lbignum t len) = res:lbignum t (len +! len) -> Stack unit (requires fun h -> live h a /\ live h res /\ disjoint res a) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_seq h1 res == S.bn_mul (as_seq h0 a) (as_seq h0 a)...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 251, "start_col": 0, "start_line": 246 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t { 0 < Lib.IntTypes.v len /\ Lib.IntTypes.v len + Lib.IntTypes.v len <= Lib.IntTypes.max_size_t } -> a: Hacl.Bignum.Definitions.lbignum t len -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.max_size_t", "Hacl.Bignum.Definitions.lbignum", "Lib.IntTypes.op_...
[]
false
false
false
false
true
let bn_sqr_st (t: limb_t) (len: size_t{0 < v len /\ v len + v len <= max_size_t}) (a: lbignum t len) =
res: lbignum t (len +! len) -> Stack unit (requires fun h -> live h a /\ live h res /\ disjoint res a) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_seq h1 res == S.bn_mul (as_seq h0 a) (as_seq h0 a))
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_mul_st
val bn_mul_st : t: Hacl.Bignum.Definitions.limb_t -> aLen: Lib.IntTypes.size_t -> bLen: Lib.IntTypes.size_t{Lib.IntTypes.v aLen + Lib.IntTypes.v bLen <= Lib.IntTypes.max_size_t} -> a: Hacl.Bignum.Definitions.lbignum t aLen -> Type0
let bn_mul_st (t:limb_t) (aLen:size_t) (bLen:size_t{v aLen + v bLen <= max_size_t}) (a:lbignum t aLen) = b:lbignum t bLen -> res:lbignum t (aLen +! bLen) -> Stack unit (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint res a /\ disjoint res b /\ eq_or_disjoint a b) (ensures fun h0 _ ...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 216, "start_col": 0, "start_line": 208 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> aLen: Lib.IntTypes.size_t -> bLen: Lib.IntTypes.size_t{Lib.IntTypes.v aLen + Lib.IntTypes.v bLen <= Lib.IntTypes.max_size_t} -> a: Hacl.Bignum.Definitions.lbignum t aLen -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.max_size_t", "Hacl.Bignum.Definitions.lbignum", "Lib.IntTypes.op_Plus_Bang", "Prims.unit", "FStar.Mon...
[]
false
false
false
false
true
let bn_mul_st (t: limb_t) (aLen: size_t) (bLen: size_t{v aLen + v bLen <= max_size_t}) (a: lbignum t aLen) =
b: lbignum t bLen -> res: lbignum t (aLen +! bLen) -> Stack unit (requires fun h -> live h a /\ live h b /\ live h res /\ disjoint res a /\ disjoint res b /\ eq_or_disjoint a b) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_seq h1 res == S.bn_mul (as_...
false
Pulse.Lib.Array.fst
Pulse.Lib.Array.compare
val compare (#t:eqtype) (l:SZ.t) (a1 a2:larray t (SZ.v l)) (#p1 #p2:perm) (#s1 #s2:Ghost.erased (Seq.seq t)) : stt bool (requires pts_to a1 #p1 s1 ** pts_to a2 #p2 s2) (ensures fun res -> pts_to a1 #p1 s1 ** pts_t...
val compare (#t:eqtype) (l:SZ.t) (a1 a2:larray t (SZ.v l)) (#p1 #p2:perm) (#s1 #s2:Ghost.erased (Seq.seq t)) : stt bool (requires pts_to a1 #p1 s1 ** pts_to a2 #p2 s2) (ensures fun res -> pts_to a1 #p1 s1 ** pts_t...
let compare = compare'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 22, "end_line": 63, "start_col": 0, "start_line": 63 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Main.fsti.checked", "Pulse.Lib.Reference.fsti.checked", "Pulse.Lib.Core.fsti.checked", "Pulse.Lib.BoundedIntegers.fst.checked", "Pulse.Lib.Array.Core.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.SizeT.fsti.chec...
[ { "abbrev": true, "full_module": "Pulse.Lib.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Lib.Array.Core", "short_module": "A" }, { "abbrev": false, "full_module": "Pulse.Lib.BoundedIntegers", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.SizeT.t -> a1: Pulse.Lib.Array.Core.larray t (FStar.SizeT.v l) -> a2: Pulse.Lib.Array.Core.larray t (FStar.SizeT.v l) -> Pulse.Lib.Core.stt Prims.bool (Pulse.Lib.Array.Core.pts_to a1 (FStar.Ghost.reveal s1) ** Pulse.Lib.Array.Core.pts_to a2 (FStar.Ghost.reveal s2)) (fun res -...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.Array.compare'" ]
[]
false
false
false
false
false
let compare =
compare'
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_karatsuba_sqr_st
val bn_karatsuba_sqr_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t {0 < Lib.IntTypes.v len /\ 4 * Lib.IntTypes.v len <= Lib.IntTypes.max_size_t} -> a: Hacl.Bignum.Definitions.lbignum t len -> Type0
let bn_karatsuba_sqr_st (t:limb_t) (len:size_t{0 < v len /\ 4 * v len <= max_size_t}) (a:lbignum t len) = res:lbignum t (len +! len) -> Stack unit (requires fun h -> live h a /\ live h res /\ disjoint res a) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_seq h1 res == S.bn_mul (as_seq h0 a) (as_seq...
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 234, "start_col": 0, "start_line": 229 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t {0 < Lib.IntTypes.v len /\ 4 * Lib.IntTypes.v len <= Lib.IntTypes.max_size_t} -> a: Hacl.Bignum.Definitions.lbignum t len -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Hacl.Bignum.Definitions.lbignum", "Lib.IntTypes.op_...
[]
false
false
false
false
true
let bn_karatsuba_sqr_st (t: limb_t) (len: size_t{0 < v len /\ 4 * v len <= max_size_t}) (a: lbignum t len) =
res: lbignum t (len +! len) -> Stack unit (requires fun h -> live h a /\ live h res /\ disjoint res a) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ as_seq h1 res == S.bn_mul (as_seq h0 a) (as_seq h0 a))
false
Spec.Agile.Cipher.fst
Spec.Agile.Cipher.expand
val expand (a: cipher_alg) (k: key a) : xkey a
val expand (a: cipher_alg) (k: key a) : xkey a
let expand (a: cipher_alg) (k: key a): xkey a = match a with | AES128 | AES256 -> Spec.AES.aes_key_expansion (aes_alg_of_alg a) k | CHACHA20 -> k
{ "file_name": "specs/Spec.Agile.Cipher.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 27, "start_col": 0, "start_line": 24 }
module Spec.Agile.Cipher open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence #reset-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 1" let force_flush_interleaving = () let aes_ctr_block_add_counter (block: lbytes 16) (incr:size_nat): Tot (lbytes 16) = let n = nat_from_bytes_be block in let...
{ "checked_file": "/", "dependencies": [ "Spec.Chacha20.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervas...
[ { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Agile.Cipher.cipher_alg -> k: Spec.Agile.Cipher.key a -> Spec.Agile.Cipher.xkey a
Prims.Tot
[ "total" ]
[]
[ "Spec.Agile.Cipher.cipher_alg", "Spec.Agile.Cipher.key", "Spec.AES.aes_key_expansion", "Spec.Agile.Cipher.aes_alg_of_alg", "Spec.Agile.Cipher.xkey" ]
[]
false
false
false
false
false
let expand (a: cipher_alg) (k: key a) : xkey a =
match a with | AES128 | AES256 -> Spec.AES.aes_key_expansion (aes_alg_of_alg a) k | CHACHA20 -> k
false
Pulse.Lib.Array.fst
Pulse.Lib.Array.memcpy
val memcpy (#t:eqtype) (l:SZ.t) (src dst:larray t (SZ.v l)) (#p:perm) (#src0 #dst0:Ghost.erased (Seq.seq t)) : stt unit (requires pts_to src #p src0 ** pts_to dst dst0) (ensures (fun _ -> pts_to src #p src0 ** pt...
val memcpy (#t:eqtype) (l:SZ.t) (src dst:larray t (SZ.v l)) (#p:perm) (#src0 #dst0:Ghost.erased (Seq.seq t)) : stt unit (requires pts_to src #p src0 ** pts_to dst dst0) (ensures (fun _ -> pts_to src #p src0 ** pt...
let memcpy = memcpy'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 97, "start_col": 0, "start_line": 97 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Main.fsti.checked", "Pulse.Lib.Reference.fsti.checked", "Pulse.Lib.Core.fsti.checked", "Pulse.Lib.BoundedIntegers.fst.checked", "Pulse.Lib.Array.Core.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.SizeT.fsti.chec...
[ { "abbrev": true, "full_module": "Pulse.Lib.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Lib.Array.Core", "short_module": "A" }, { "abbrev": false, "full_module": "Pulse.Lib.BoundedIntegers", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.SizeT.t -> src: Pulse.Lib.Array.Core.larray t (FStar.SizeT.v l) -> dst: Pulse.Lib.Array.Core.larray t (FStar.SizeT.v l) -> Pulse.Lib.Core.stt Prims.unit (Pulse.Lib.Array.Core.pts_to src (FStar.Ghost.reveal src0) ** Pulse.Lib.Array.Core.pts_to dst (FStar.Ghost.reveal dst0)) (f...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.Array.memcpy'" ]
[]
false
false
false
false
false
let memcpy =
memcpy'
false
Pulse.Lib.Array.fst
Pulse.Lib.Array.fill
val fill (#t:Type0) (l:SZ.t) (a:larray t (SZ.v l)) (v:t) (#s:Ghost.erased (Seq.seq t)) : stt unit (requires pts_to a s) (ensures fun _ -> exists* (s:Seq.seq t). pts_to a s ** pure (s `Seq.equal` Seq.create...
val fill (#t:Type0) (l:SZ.t) (a:larray t (SZ.v l)) (v:t) (#s:Ghost.erased (Seq.seq t)) : stt unit (requires pts_to a s) (ensures fun _ -> exists* (s:Seq.seq t). pts_to a s ** pure (s `Seq.equal` Seq.create...
let fill = fill'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.Array.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 123, "start_col": 0, "start_line": 123 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Main.fsti.checked", "Pulse.Lib.Reference.fsti.checked", "Pulse.Lib.Core.fsti.checked", "Pulse.Lib.BoundedIntegers.fst.checked", "Pulse.Lib.Array.Core.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.SizeT.fsti.chec...
[ { "abbrev": true, "full_module": "Pulse.Lib.Reference", "short_module": "R" }, { "abbrev": true, "full_module": "Pulse.Lib.Array.Core", "short_module": "A" }, { "abbrev": false, "full_module": "Pulse.Lib.BoundedIntegers", "short_module": null }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.SizeT.t -> a: Pulse.Lib.Array.Core.larray t (FStar.SizeT.v l) -> v: t -> Pulse.Lib.Core.stt Prims.unit (Pulse.Lib.Array.Core.pts_to a (FStar.Ghost.reveal s)) (fun _ -> exists* (s: FStar.Seq.Base.seq t). Pulse.Lib.Array.Core.pts_to a s ** Pulse.Lib.Core.pure (FSta...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.Array.fill'" ]
[]
false
false
false
false
false
let fill =
fill'
false
Spec.Agile.Cipher.fst
Spec.Agile.Cipher.xkey
val xkey : a: Spec.Agile.Cipher.cipher_alg -> Type0
let xkey (a: cipher_alg) = match a with | AES128 | AES256 -> Spec.AES.aes_xkey (aes_alg_of_alg a) | CHACHA20 -> Spec.Chacha20.key
{ "file_name": "specs/Spec.Agile.Cipher.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 20, "start_col": 0, "start_line": 17 }
module Spec.Agile.Cipher open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence #reset-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 1" let force_flush_interleaving = () let aes_ctr_block_add_counter (block: lbytes 16) (incr:size_nat): Tot (lbytes 16) = let n = nat_from_bytes_be block in let...
{ "checked_file": "/", "dependencies": [ "Spec.Chacha20.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervas...
[ { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Agile.Cipher.cipher_alg -> Type0
Prims.Tot
[ "total" ]
[]
[ "Spec.Agile.Cipher.cipher_alg", "Spec.AES.aes_xkey", "Spec.Agile.Cipher.aes_alg_of_alg", "Spec.Chacha20.key" ]
[]
false
false
false
true
true
let xkey (a: cipher_alg) =
match a with | AES128 | AES256 -> Spec.AES.aes_xkey (aes_alg_of_alg a) | CHACHA20 -> Spec.Chacha20.key
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_eq_mask_st
val bn_eq_mask_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
let bn_eq_mask_st (t:limb_t) (len:size_t) = a:lbignum t len -> b:lbignum t len -> Stack (limb t) (requires fun h -> live h a /\ live h b) (ensures fun h0 r h1 -> modifies0 h0 h1 /\ r == S.bn_eq_mask (as_seq h0 a) (as_seq h0 b))
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 419, "start_col": 0, "start_line": 413 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.modifies0", "Prims.eq2", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec...
[]
false
false
false
true
true
let bn_eq_mask_st (t: limb_t) (len: size_t) =
a: lbignum t len -> b: lbignum t len -> Stack (limb t) (requires fun h -> live h a /\ live h b) (ensures fun h0 r h1 -> modifies0 h0 h1 /\ r == S.bn_eq_mask (as_seq h0 a) (as_seq h0 b))
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_codegen_success_Cmovc64
val va_codegen_success_Cmovc64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_pbool
val va_codegen_success_Cmovc64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_pbool
let va_codegen_success_Cmovc64 dst src = (va_ttrue ())
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 51, "start_col": 0, "start_line": 50 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Cmovc64 dst src =
(va_ttrue ())
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_codegen_success_Mov64
val va_codegen_success_Mov64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_pbool
val va_codegen_success_Mov64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_pbool
let va_codegen_success_Mov64 dst src = (va_ttrue ())
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 21, "start_col": 0, "start_line": 20 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Mov64 dst src =
(va_ttrue ())
false
Hacl.HPKE.Curve64_CP128_SHA256.fsti
Hacl.HPKE.Curve64_CP128_SHA256.vale_p
val vale_p : Prims.logical
let vale_p = Vale.X64.CPU_Features_s.(adx_enabled /\ bmi2_enabled)
{ "file_name": "code/hpke/Hacl.HPKE.Curve64_CP128_SHA256.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 13, "start_col": 0, "start_line": 13 }
module Hacl.HPKE.Curve64_CP128_SHA256 open Hacl.Impl.HPKE module S = Spec.Agile.HPKE module DH = Spec.Agile.DH module AEAD = Spec.Agile.AEAD module Hash = Spec.Agile.Hash noextract unfold let cs:S.ciphersuite = (DH.DH_Curve25519, Hash.SHA2_256, S.Seal AEAD.CHACHA20_POLY1305, Hash.SHA2_256)
{ "checked_file": "/", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Spec.Agile.HPKE.fsti.checked", "Spec.Agile.Hash.fsti.checked", "Spec.Agile.DH.fst.checked", "Spec.Agile.AEAD.fsti.checked", "prims.fst.checked", "Hacl.Impl.HPKE.fsti.checked", "FStar.Pervasives.Native.fs...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Spec.Agile.AEAD", "short_module": "AEAD" }, { "abbrev": true, "full_module": "Spec.Agile.DH", "short_module": "DH" }, { "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
Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.l_and", "Prims.b2t", "Vale.X64.CPU_Features_s.adx_enabled", "Vale.X64.CPU_Features_s.bmi2_enabled" ]
[]
false
false
false
true
true
let vale_p =
let open Vale.X64.CPU_Features_s in adx_enabled /\ bmi2_enabled
false
Spec.Agile.Cipher.fst
Spec.Agile.Cipher.ctr_block
val ctr_block (a: cipher_alg) (k: key a) (iv: nonce a) (c: ctr): block a
val ctr_block (a: cipher_alg) (k: key a) (iv: nonce a) (c: ctr): block a
let ctr_block (a: cipher_alg) (k: key a) (iv: nonce a) (c: ctr): block a = let k = expand a k in match a with | AES128 | AES256 -> let open Spec.AES in let open Lib.LoopCombinators in let block = create 16 (u8 0) in let block = repeati #(lbytes 16) (length iv) (fun i b -> b.[i] <- Seq.inde...
{ "file_name": "specs/Spec.Agile.Cipher.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 45, "start_col": 0, "start_line": 30 }
module Spec.Agile.Cipher open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence #reset-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 1" let force_flush_interleaving = () let aes_ctr_block_add_counter (block: lbytes 16) (incr:size_nat): Tot (lbytes 16) = let n = nat_from_bytes_be block in let...
{ "checked_file": "/", "dependencies": [ "Spec.Chacha20.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervas...
[ { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Agile.Cipher.cipher_alg -> k: Spec.Agile.Cipher.key a -> iv: Spec.Agile.Cipher.nonce a -> c: Spec.Agile.Cipher.ctr -> Spec.Agile.Cipher.block a
Prims.Tot
[ "total" ]
[]
[ "Spec.Agile.Cipher.cipher_alg", "Spec.Agile.Cipher.key", "Spec.Agile.Cipher.nonce", "Spec.Agile.Cipher.ctr", "Spec.AES.aes_encrypt_block", "Spec.Agile.Cipher.aes_alg_of_alg", "Lib.Sequence.lseq", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Spec.Agile.Cipher.aes_ctr_block_add_co...
[]
false
false
false
false
false
let ctr_block (a: cipher_alg) (k: key a) (iv: nonce a) (c: ctr) : block a =
let k = expand a k in match a with | AES128 | AES256 -> let open Spec.AES in let open Lib.LoopCombinators in let block = create 16 (u8 0) in let block = repeati #(lbytes 16) (length iv) (fun i b -> b.[ i ] <- Seq.index iv i) block in let block = aes_ctr_block_add_counter block c in aes_encrypt_block (aes_al...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_code_Mov64
val va_code_Mov64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_code
val va_code_Mov64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_code
let va_code_Mov64 dst src = (mk_ins (make_instr_annotate (I.ins_Mov64) (S.AnnotateMov64 ()) dst src))
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 75, "end_line": 17, "start_col": 0, "start_line": 16 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLemmas.make_instr_annotate", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s...
[]
false
false
false
true
false
let va_code_Mov64 dst src =
(mk_ins (make_instr_annotate (I.ins_Mov64) (S.AnnotateMov64 ()) dst src))
false
Spec.Agile.Cipher.fst
Spec.Agile.Cipher.aes_ctr_block_add_counter
val aes_ctr_block_add_counter (block: lbytes 16) (incr: size_nat) : Tot (lbytes 16)
val aes_ctr_block_add_counter (block: lbytes 16) (incr: size_nat) : Tot (lbytes 16)
let aes_ctr_block_add_counter (block: lbytes 16) (incr:size_nat): Tot (lbytes 16) = let n = nat_from_bytes_be block in let n' = (n + incr) % pow2 128 in nat_to_bytes_be 16 n'
{ "file_name": "specs/Spec.Agile.Cipher.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 15, "start_col": 0, "start_line": 12 }
module Spec.Agile.Cipher open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence #reset-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 1" let force_flush_interleaving = ()
{ "checked_file": "/", "dependencies": [ "Spec.Chacha20.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervas...
[ { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
block: Lib.ByteSequence.lbytes 16 -> incr: Lib.IntTypes.size_nat -> Lib.ByteSequence.lbytes 16
Prims.Tot
[ "total" ]
[]
[ "Lib.ByteSequence.lbytes", "Lib.IntTypes.size_nat", "Lib.ByteSequence.nat_to_bytes_be", "Lib.IntTypes.SEC", "Prims.int", "Prims.op_Modulus", "Prims.op_Addition", "Prims.pow2", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Multiply", "Lib.Sequence.length", "Lib.IntTypes.int_t", ...
[]
false
false
false
false
false
let aes_ctr_block_add_counter (block: lbytes 16) (incr: size_nat) : Tot (lbytes 16) =
let n = nat_from_bytes_be block in let n' = (n + incr) % pow2 128 in nat_to_bytes_be 16 n'
false
Hacl.Bignum.fsti
Hacl.Bignum.bn_lt_mask_st
val bn_lt_mask_st : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
let bn_lt_mask_st (t:limb_t) (len:size_t) = a:lbignum t len -> b:lbignum t len -> Stack (limb t) (requires fun h -> live h a /\ live h b) (ensures fun h0 r h1 -> modifies0 h0 h1 /\ r == S.bn_lt_mask (as_seq h0 a) (as_seq h0 b))
{ "file_name": "code/bignum/Hacl.Bignum.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 444, "start_col": 0, "start_line": 438 }
module Hacl.Bignum open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Base open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum module ST = FStar.HyperStack.ST module Loops = Lib.LoopCombinators #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Base.fst.checked", "FStar.Tactics.Typeclasses...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "S" }, { "abbrev": false, "f...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.modifies0", "Prims.eq2", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Spec...
[]
false
false
false
true
true
let bn_lt_mask_st (t: limb_t) (len: size_t) =
a: lbignum t len -> b: lbignum t len -> Stack (limb t) (requires fun h -> live h a /\ live h b) (ensures fun h0 r h1 -> modifies0 h0 h1 /\ r == S.bn_lt_mask (as_seq h0 a) (as_seq h0 b))
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_code_Add64
val va_code_Add64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_code
val va_code_Add64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_code
let va_code_Add64 dst src = (mk_ins (make_instr (I.ins_Add64) dst src))
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 76, "start_col": 0, "start_line": 75 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLemmas.make_instr", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opFlagsCf", "Vale.X64.Instruction_s.inOut", "Vale.X6...
[]
false
false
false
true
false
let va_code_Add64 dst src =
(mk_ins (make_instr (I.ins_Add64) dst src))
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_code_Cmovc64
val va_code_Cmovc64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_code
val va_code_Cmovc64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_code
let va_code_Cmovc64 dst src = (mk_ins (make_instr (I.ins_Cmovc64) dst src))
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 47, "start_col": 0, "start_line": 46 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLemmas.make_instr", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_...
[]
false
false
false
true
false
let va_code_Cmovc64 dst src =
(mk_ins (make_instr (I.ins_Cmovc64) dst src))
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_codegen_success_Add64
val va_codegen_success_Add64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_pbool
val va_codegen_success_Add64 : dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Tot va_pbool
let va_codegen_success_Add64 dst src = (va_ttrue ())
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 80, "start_col": 0, "start_line": 79 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Add64 dst src =
(va_ttrue ())
false
LowParse.Low.VCList.fst
LowParse.Low.VCList.validate_nlist
val validate_nlist (n: U32.t) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) : Tot (validator (parse_nlist (U32.v n) p))
val validate_nlist (n: U32.t) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) : Tot (validator (parse_nlist (U32.v n) p))
let validate_nlist (n: U32.t) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) : Tot (validator (parse_nlist (U32.v n) p)) = fun #rrel #rel input pos -> let h0 = HST.get () in HST.push_frame (); let bpos1 : B.buffer U64.t = B.alloca pos 1ul in let br = B.alloca n 1ul in let h1 = HST.ge...
{ "file_name": "src/lowparse/LowParse.Low.VCList.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 210, "start_col": 0, "start_line": 154 }
module LowParse.Low.VCList include LowParse.Spec.VCList include LowParse.Low.List module L = FStar.List.Tot module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 let valid_nlist_nil (#k: parser_kind) ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VCList.fsti.checked", "LowParse.Low.List.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "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
n: FStar.UInt32.t -> v: LowParse.Low.Base.validator p -> LowParse.Low.Base.validator (LowParse.Spec.VCList.parse_nlist (FStar.UInt32.v n) p)
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "LowParse.Low.ErrorCode.is_success", "LowParse....
[]
false
false
false
false
false
let validate_nlist (n: U32.t) (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) : Tot (validator (parse_nlist (U32.v n) p)) =
fun #rrel #rel input pos -> let h0 = HST.get () in HST.push_frame (); let bpos1:B.buffer U64.t = B.alloca pos 1ul in let br = B.alloca n 1ul in let h1 = HST.get () in C.Loops.do_while (fun h stop -> B.modifies ((B.loc_buffer bpos1) `B.loc_union` (B.loc_buffer br)) h1 h /\ (let pos1 = B.get h...
false