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.Spec.Curve25519.Field64.fst
Hacl.Spec.Curve25519.Field64.subtract_p4
val subtract_p4: f:felem4 -> Pure felem4 (requires (let (f0, f1, f2, f3) = f in v f3 < pow2 63 /\ as_nat4 f < pow2 255)) (ensures fun out -> as_nat4 out == feval4 f /\ as_nat4 out < prime)
val subtract_p4: f:felem4 -> Pure felem4 (requires (let (f0, f1, f2, f3) = f in v f3 < pow2 63 /\ as_nat4 f < pow2 255)) (ensures fun out -> as_nat4 out == feval4 f /\ as_nat4 out < prime)
let subtract_p4 (f0, f1, f2, f3) = // assert_norm (0x8000000000000000 = pow2 63); // assert_norm (0x7fffffffffffffff = pow2 63 - 1); // assert_norm (0xffffffffffffffff = pow2 64 - 1); // assert_norm (0xffffffffffffffed = pow2 64 - 19); let m0 = gte_mask f0 (u64 0xffffffffffffffed) in let m1 = eq_mask f1 (u...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 139, "start_col": 0, "start_line": 120 }
module Hacl.Spec.Curve25519.Field64 open FStar.Mul open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 open Hacl.Spec.Curve25519.Field64.Definition module Lemmas = Hacl.Spec.Curve25519.Field64.Lemmas module CC = Hacl.Spec.Curve25519.Field64.Core module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519.Field64.C...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: Hacl.Spec.Curve25519.Field64.Definition.felem4 -> Prims.Pure Hacl.Spec.Curve25519.Field64.Definition.felem4
Prims.Pure
[]
[]
[ "Hacl.Spec.Curve25519.Field64.Definition.felem4", "Lib.IntTypes.uint64", "FStar.Pervasives.Native.Mktuple4", "Prims.unit", "Hacl.Spec.Curve25519.Field64.Lemmas.lemma_subtract_p", "Lib.IntTypes.logand_lemma", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.IntTypes.u64", "Lib.IntTypes.int_t", "Lib.I...
[]
false
false
false
false
false
let subtract_p4 (f0, f1, f2, f3) =
let m0 = gte_mask f0 (u64 0xffffffffffffffed) in let m1 = eq_mask f1 (u64 0xffffffffffffffff) in let m2 = eq_mask f2 (u64 0xffffffffffffffff) in let m3 = eq_mask f3 (u64 0x7fffffffffffffff) in let mask = m0 &. m1 &. m2 &. m3 in let f0' = f0 -. (mask &. u64 0xffffffffffffffed) in let f1' = f1 -. (mask &. u64 0xfffffffff...
false
Hacl.Spec.Bignum.Montgomery.fst
Hacl.Spec.Bignum.Montgomery.bn_mont_reduction_loop_div_r_lemma
val bn_mont_reduction_loop_div_r_lemma: #t:limb_t -> #nLen:size_pos{nLen + nLen <= max_size_t} -> n:lbignum t nLen{0 < bn_v n} -> mu:limb t -> c:lbignum t (nLen + nLen) -> Lemma (let (c2, res) = bn_mont_reduction_loop_div_r #t #nLen n mu c in let resM = M.mont_reduction_loop_div_r (bits t) nLen (bn...
val bn_mont_reduction_loop_div_r_lemma: #t:limb_t -> #nLen:size_pos{nLen + nLen <= max_size_t} -> n:lbignum t nLen{0 < bn_v n} -> mu:limb t -> c:lbignum t (nLen + nLen) -> Lemma (let (c2, res) = bn_mont_reduction_loop_div_r #t #nLen n mu c in let resM = M.mont_reduction_loop_div_r (bits t) nLen (bn...
let bn_mont_reduction_loop_div_r_lemma #t #nLen n mu res0 = let pbits = bits t in let r = pow2 (pbits * nLen) in let resLen = nLen + nLen in let (c0, res1) = Loops.repeat_gen nLen bn_mont_reduction_t (bn_mont_reduction_f n mu) (uint #t 0, res0) in let resM : nat = Loops.repeati nLen (M.mont_reduction_f pbits ...
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Montgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 373, "start_col": 0, "start_line": 352 }
module Hacl.Spec.Bignum.Montgomery open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions module Loops = Lib.LoopCombinators module BN = Hacl.Spec.Bignum module BI = Hacl.Spec.Bignum.ModInvLimb #reset-options "--z3rlimit 100 --fuel 0 --ifuel 0" let bn_check...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.ModInvLimb.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "Ha...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.ModInvLimb", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": fals...
{ "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
n: Hacl.Spec.Bignum.Definitions.lbignum t nLen {0 < Hacl.Spec.Bignum.Definitions.bn_v n} -> mu: Hacl.Spec.Bignum.Definitions.limb t -> c: Hacl.Spec.Bignum.Definitions.lbignum t (nLen + nLen) -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.Bignum.Montgomery.bn_mont_reduction_loop_div_r n m...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_pos", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.max_size_t", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.op_LessThan", "Hacl.Spec.Bignum.Definitions.bn_v", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Sp...
[]
false
false
true
false
false
let bn_mont_reduction_loop_div_r_lemma #t #nLen n mu res0 =
let pbits = bits t in let r = pow2 (pbits * nLen) in let resLen = nLen + nLen in let c0, res1 = Loops.repeat_gen nLen bn_mont_reduction_t (bn_mont_reduction_f n mu) (uint #t 0, res0) in let resM:nat = Loops.repeati nLen (M.mont_reduction_f pbits nLen (bn_v n) (v mu)) (bn_v res0) in bn_mont_reduction_loop_lemma n mu n...
false
Hacl.Spec.Bignum.Montgomery.fst
Hacl.Spec.Bignum.Montgomery.bn_mont_reduction_loop_lemma
val bn_mont_reduction_loop_lemma: #t:limb_t -> #nLen:size_nat{nLen + nLen <= max_size_t} -> n:lbignum t nLen{0 < bn_v n} -> mu:limb t -> j:size_nat{j <= nLen} -> res0:lbignum t (nLen + nLen) -> Lemma ( let (c2, res) = Loops.repeat_gen j bn_mont_reduction_t (bn_mont_reduction_f n mu) (uint #t 0, res0...
val bn_mont_reduction_loop_lemma: #t:limb_t -> #nLen:size_nat{nLen + nLen <= max_size_t} -> n:lbignum t nLen{0 < bn_v n} -> mu:limb t -> j:size_nat{j <= nLen} -> res0:lbignum t (nLen + nLen) -> Lemma ( let (c2, res) = Loops.repeat_gen j bn_mont_reduction_t (bn_mont_reduction_f n mu) (uint #t 0, res0...
let rec bn_mont_reduction_loop_lemma #t #nLen n mu j res0 = let pbits = bits t in let (c2, res) = Loops.repeat_gen j bn_mont_reduction_t (bn_mont_reduction_f n mu) (uint #t 0, res0) in let resM = Loops.repeati j (M.mont_reduction_f pbits nLen (bn_v n) (v mu)) (bn_v res0) in if j = 0 then begin Loops.eq_rep...
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Montgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 338, "start_col": 0, "start_line": 319 }
module Hacl.Spec.Bignum.Montgomery open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions module Loops = Lib.LoopCombinators module BN = Hacl.Spec.Bignum module BI = Hacl.Spec.Bignum.ModInvLimb #reset-options "--z3rlimit 100 --fuel 0 --ifuel 0" let bn_check...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.ModInvLimb.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "Ha...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.ModInvLimb", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": fals...
{ "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
n: Hacl.Spec.Bignum.Definitions.lbignum t nLen {0 < Hacl.Spec.Bignum.Definitions.bn_v n} -> mu: Hacl.Spec.Bignum.Definitions.limb t -> j: Lib.IntTypes.size_nat{j <= nLen} -> res0: Hacl.Spec.Bignum.Definitions.lbignum t (nLen + nLen) -> FStar.Pervasives.Lemma (ensures (let _ = Lib....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.max_size_t", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.op_LessThan", "Hacl.Spec.Bignum.Definitions.bn_v", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Sp...
[ "recursion" ]
false
false
true
false
false
let rec bn_mont_reduction_loop_lemma #t #nLen n mu j res0 =
let pbits = bits t in let c2, res = Loops.repeat_gen j bn_mont_reduction_t (bn_mont_reduction_f n mu) (uint #t 0, res0) in let resM = Loops.repeati j (M.mont_reduction_f pbits nLen (bn_v n) (v mu)) (bn_v res0) in if j = 0 then (Loops.eq_repeati0 j (M.mont_reduction_f pbits nLen (bn_v n) (v mu)) (bn_v res0); Loops...
false
Hacl.Spec.Bignum.Montgomery.fst
Hacl.Spec.Bignum.Montgomery.bn_mont_reduction_f_eval_lemma_aux
val bn_mont_reduction_f_eval_lemma_aux: pbits:pos -> er0:nat -> rj:nat -> nLen:nat -> n:nat -> qj:nat -> j:nat -> c0:nat -> c1:nat -> c2:nat -> Lemma (let p = pow2 (pbits * (nLen + j)) in er0 + n * qj * pow2 (pbits * j) - c1 * p + p * (c0 + c1 + rj - c2 * pow2 pbits) == er0 + n * qj * pow2 (pbits * j) + p *...
val bn_mont_reduction_f_eval_lemma_aux: pbits:pos -> er0:nat -> rj:nat -> nLen:nat -> n:nat -> qj:nat -> j:nat -> c0:nat -> c1:nat -> c2:nat -> Lemma (let p = pow2 (pbits * (nLen + j)) in er0 + n * qj * pow2 (pbits * j) - c1 * p + p * (c0 + c1 + rj - c2 * pow2 pbits) == er0 + n * qj * pow2 (pbits * j) + p *...
let bn_mont_reduction_f_eval_lemma_aux pbits er0 rj nLen n qj j c0 c1 c2 = let p = pow2 (pbits * (nLen + j)) in calc (==) { er0 + n * qj * pow2 (pbits * j) - c1 * p + p * (c0 + c1 + rj - c2 * pow2 pbits); (==) { Math.Lemmas.distributivity_add_right p c1 (c0 + rj - c2 * pow2 pbits) } er0 + n * qj * pow2 ...
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Montgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 188, "start_col": 0, "start_line": 174 }
module Hacl.Spec.Bignum.Montgomery open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions module Loops = Lib.LoopCombinators module BN = Hacl.Spec.Bignum module BI = Hacl.Spec.Bignum.ModInvLimb #reset-options "--z3rlimit 100 --fuel 0 --ifuel 0" let bn_check...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.ModInvLimb.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "Ha...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.ModInvLimb", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": fals...
{ "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
pbits: Prims.pos -> er0: Prims.nat -> rj: Prims.nat -> nLen: Prims.nat -> n: Prims.nat -> qj: Prims.nat -> j: Prims.nat -> c0: Prims.nat -> c1: Prims.nat -> c2: Prims.nat -> FStar.Pervasives.Lemma (ensures (let p = Prims.pow2 (pbits * (nLen + j)) in er0 + (n ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.pos", "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Addition", "Prims.op_Subtraction", "FStar.Mul.op_Star", "Prims.pow2", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "FStar.Calc.calc_init", "FStar.Calc....
[]
false
false
true
false
false
let bn_mont_reduction_f_eval_lemma_aux pbits er0 rj nLen n qj j c0 c1 c2 =
let p = pow2 (pbits * (nLen + j)) in calc ( == ) { er0 + (n * qj) * pow2 (pbits * j) - c1 * p + p * (c0 + c1 + rj - c2 * pow2 pbits); ( == ) { Math.Lemmas.distributivity_add_right p c1 (c0 + rj - c2 * pow2 pbits) } er0 + (n * qj) * pow2 (pbits * j) - c1 * p + p * c1 + p * (c0 + rj - c2 * pow2 pbits); ( == ) { (...
false
Hacl.Spec.Curve25519.Field64.fst
Hacl.Spec.Curve25519.Field64.lemma_carry_pass_store_second
val lemma_carry_pass_store_second: f:CC.felem -> Lemma (requires SD.bn_v f < prime + 38) (ensures (let out = carry_pass_store f in SD.bn_v out % prime == SD.bn_v f % prime /\ SD.bn_v out < pow2 255 /\ v out.[3] < pow2 63))
val lemma_carry_pass_store_second: f:CC.felem -> Lemma (requires SD.bn_v f < prime + 38) (ensures (let out = carry_pass_store f in SD.bn_v out % prime == SD.bn_v f % prime /\ SD.bn_v out < pow2 255 /\ v out.[3] < pow2 63))
let lemma_carry_pass_store_second f = let out = carry_pass_store f in let top_bit = f.[3] >>. 63ul in lemma_carry_pass_store0 f; assert (SD.bn_v out == SD.bn_v f - prime * v top_bit); Lemmas.lemma_carry_pass_store_f3 f; if v top_bit = 0 then SD.bn_eval_inj 4 f out else begin assert (SD.bn_v out < ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 109, "start_col": 0, "start_line": 92 }
module Hacl.Spec.Curve25519.Field64 open FStar.Mul open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 open Hacl.Spec.Curve25519.Field64.Definition module Lemmas = Hacl.Spec.Curve25519.Field64.Lemmas module CC = Hacl.Spec.Curve25519.Field64.Core module SD = Hacl.Spec.Bignum.Definitions module SB = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Curve25519.Field64.C...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: Hacl.Spec.Curve25519.Field64.Core.felem -> FStar.Pervasives.Lemma (requires Hacl.Spec.Bignum.Definitions.bn_v f < Spec.Curve25519.prime + 38) (ensures (let out = Hacl.Spec.Curve25519.Field64.carry_pass_store f in Hacl.Spec.Bignum.Definitions.bn_v out % Spec.Curve25519.prime == ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field64.Core.felem", "Prims.op_Equality", "Prims.int", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Hacl.Spec.Bignum.Definitions.bn_eval_inj", "Prims.bool", "Prims.unit", "Prims._assert", "Prims.b2t", "Lib.Sequence.op_String_Access", "Hacl.Spec.Bignum.Defi...
[]
false
false
true
false
false
let lemma_carry_pass_store_second f =
let out = carry_pass_store f in let top_bit = f.[ 3 ] >>. 63ul in lemma_carry_pass_store0 f; assert (SD.bn_v out == SD.bn_v f - prime * v top_bit); Lemmas.lemma_carry_pass_store_f3 f; if v top_bit = 0 then SD.bn_eval_inj 4 f out else (assert (SD.bn_v out < 38); assert_norm (38 < pow2 7); SD.bn_eval_split_i ou...
false
LowStar.BufferView.Up.fsti
LowStar.BufferView.Up.inverses
val inverses : f: (_: _ -> Prims.GTot _) -> g: (_: _ -> Prims.GTot _) -> Prims.logical
let inverses = Down.inverses
{ "file_name": "ulib/LowStar.BufferView.Up.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 40, "start_col": 0, "start_line": 40 }
(* 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", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst....
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "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: (_: _ -> Prims.GTot _) -> g: (_: _ -> Prims.GTot _) -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "LowStar.BufferView.Down.inverses", "Prims.logical" ]
[]
false
false
false
false
true
let inverses =
Down.inverses
false
LowStar.BufferView.Up.fsti
LowStar.BufferView.Up.live
val live : h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b -> Type0
let live #b h (vb:buffer b) = Down.live h (as_down_buffer vb)
{ "file_name": "ulib/LowStar.BufferView.Up.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 61, "end_line": 88, "start_col": 0, "start_line": 88 }
(* 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", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst....
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "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
h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.buffer", "LowStar.BufferView.Down.live", "LowStar.BufferView.Up.buffer_src", "LowStar.BufferView.Up.as_down_buffer" ]
[]
false
false
false
true
true
let live #b h (vb: buffer b) =
Down.live h (as_down_buffer vb)
false
LowStar.BufferView.Up.fsti
LowStar.BufferView.Up.modifies
val modifies : vb: LowStar.BufferView.Up.buffer b -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> Type0
let modifies (#b: _) (vb:buffer b) (h h':HS.mem) = Down.modifies (as_down_buffer vb) h h'
{ "file_name": "ulib/LowStar.BufferView.Up.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 142, "start_col": 0, "start_line": 139 }
(* 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", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst....
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "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
vb: LowStar.BufferView.Up.buffer b -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowStar.BufferView.Up.buffer", "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Down.modifies", "LowStar.BufferView.Up.buffer_src", "LowStar.BufferView.Up.as_down_buffer" ]
[]
false
false
false
true
true
let modifies (#b: _) (vb: buffer b) (h h': HS.mem) =
Down.modifies (as_down_buffer vb) h h'
false
Hacl.Spec.Bignum.Montgomery.fst
Hacl.Spec.Bignum.Montgomery.bn_mont_reduction_loop_step_lemma
val bn_mont_reduction_loop_step_lemma: #t:limb_t -> #nLen:size_nat{nLen + nLen <= max_size_t} -> n:lbignum t nLen{0 < bn_v n} -> mu:limb t -> j:size_nat{j < nLen} -> c1:carry t -> res1:lbignum t (nLen + nLen) -> resM1:nat -> Lemma (requires v c1 * pow2 (bits t * (nLen + j)) + bn_v res1 == resM1)...
val bn_mont_reduction_loop_step_lemma: #t:limb_t -> #nLen:size_nat{nLen + nLen <= max_size_t} -> n:lbignum t nLen{0 < bn_v n} -> mu:limb t -> j:size_nat{j < nLen} -> c1:carry t -> res1:lbignum t (nLen + nLen) -> resM1:nat -> Lemma (requires v c1 * pow2 (bits t * (nLen + j)) + bn_v res1 == resM1)...
let bn_mont_reduction_loop_step_lemma #t #nLen n mu j c1 res1 resM1 = let pbits = bits t in let (c2, res) = bn_mont_reduction_f n mu j (c1, res1) in let resM = M.mont_reduction_f pbits nLen (bn_v n) (v mu) j resM1 in bn_mont_reduction_f_lemma n mu j (c1, res1); let qj = mu *. res1.[j] in assert (bn_v res + ...
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Montgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 304, "start_col": 0, "start_line": 278 }
module Hacl.Spec.Bignum.Montgomery open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions module Loops = Lib.LoopCombinators module BN = Hacl.Spec.Bignum module BI = Hacl.Spec.Bignum.ModInvLimb #reset-options "--z3rlimit 100 --fuel 0 --ifuel 0" let bn_check...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.ModInvLimb.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "Ha...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.ModInvLimb", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": fals...
{ "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
n: Hacl.Spec.Bignum.Definitions.lbignum t nLen {0 < Hacl.Spec.Bignum.Definitions.bn_v n} -> mu: Hacl.Spec.Bignum.Definitions.limb t -> j: Lib.IntTypes.size_nat{j < nLen} -> c1: Hacl.Spec.Bignum.Base.carry t -> res1: Hacl.Spec.Bignum.Definitions.lbignum t (nLen + nLen) -> resM1: Prims.nat -> F...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.max_size_t", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.op_LessThan", "Hacl.Spec.Bignum.Definitions.bn_v", "Hacl.Spec.Bignum.Definitions.limb", "Hacl.Sp...
[]
false
false
true
false
false
let bn_mont_reduction_loop_step_lemma #t #nLen n mu j c1 res1 resM1 =
let pbits = bits t in let c2, res = bn_mont_reduction_f n mu j (c1, res1) in let resM = M.mont_reduction_f pbits nLen (bn_v n) (v mu) j resM1 in bn_mont_reduction_f_lemma n mu j (c1, res1); let qj = mu *. res1.[ j ] in assert (bn_v res + v c2 * pow2 (pbits * (nLen + j + 1)) == bn_v res1 + (bn_v n * v qj) * pow2 (pb...
false
Pulse.Checker.fst
Pulse.Checker.check
val check : check_t
val check : check_t
let rec check (g0:env) (pre0:term) (pre0_typing: tot_typing g0 pre0 tm_vprop) (post_hint:post_hint_opt g0) (res_ppname:ppname) (t:st_term) : T.Tac (checker_result_t g0 pre0 post_hint) = if Pulse.Checker.AssertWithBinders.handle_head_immediately t then Pulse.Checker.AssertWithBinders.check g0 pre0 pre0_typ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 288, "start_col": 0, "start_line": 139 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.FV.fsti.checked", "Pulse.Typing.Env.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "Pul...
[ { "abbrev": true, "full_module": "Pulse.Checker.WithInv", "short_module": "WithInv" }, { "abbrev": true, "full_module": "Pulse.Checker.Rewrite", "short_module": "Rewrite" }, { "abbrev": true, "full_module": "Pulse.Checker.Return", "short_module": "Return" }, { "ab...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Checker.Base.check_t
Prims.Tot
[ "total" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Typing.tot_typing", "Pulse.Syntax.Base.tm_vprop", "Pulse.Typing.post_hint_opt", "Pulse.Syntax.Base.ppname", "Pulse.Syntax.Base.st_term", "Pulse.Checker.AssertWithBinders.handle_head_immediately", "Pulse.Checker.AssertWithBinders.check", "Pul...
[ "recursion" ]
false
false
false
true
false
let rec check (g0: env) (pre0: term) (pre0_typing: tot_typing g0 pre0 tm_vprop) (post_hint: post_hint_opt g0) (res_ppname: ppname) (t: st_term) : T.Tac (checker_result_t g0 pre0 post_hint) =
if Pulse.Checker.AssertWithBinders.handle_head_immediately t then Pulse.Checker.AssertWithBinders.check g0 pre0 pre0_typing post_hint res_ppname t check else (let (| g , pre , pre_typing , k_elim_pure |) = Pulse.Checker.Prover.elim_exists_and_pure pre0_typing in if RU.debug_at_level (fstar_env g) "pulse...
false
Hacl.Impl.SHA2.Generic.fst
Hacl.Impl.SHA2.Generic.hash
val hash: #a:sha2_alg -> #m:m_spec{is_supported a m} -> hash_vec_t a m
val hash: #a:sha2_alg -> #m:m_spec{is_supported a m} -> hash_vec_t a m
let hash #a #m init update_nblocks update_last finish h len b = lemma_len_lt_max_a_fits_size_t a len; let init_h0 = ST.get() in push_frame(); let h0 = ST.get() in NTup.eq_intro (as_seq_multi h0 b) (as_seq_multi init_h0 b); let st = alloc a m in init st; let h1 = ST.get() in assert (modifies (loc st) h...
{ "file_name": "code/sha2-mb/Hacl.Impl.SHA2.Generic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 55, "end_line": 439, "start_col": 0, "start_line": 403 }
module Hacl.Impl.SHA2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.All open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.IntVector open Lib.MultiBuffer open Spec.Hash.Definitions //open Hacl.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Core module ST = FStar.HyperStack...
{ "checked_file": "/", "dependencies": [ "Spec.SHA2.Constants.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntVector.Transpose.fs...
[ { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "HD" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.IntVector.Transpose", "short_module": "VecTranspose" }, { "abbrev": t...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.hash_vec_t a m
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.sha2_alg", "Hacl.Spec.SHA2.Vec.m_spec", "Hacl.Spec.SHA2.Vec.is_supported", "Hacl.Impl.SHA2.Generic.init_vec_t", "Hacl.Impl.SHA2.Generic.update_nblocks_vec_t'", "Hacl.Impl.SHA2.Generic.update_last_vec_t'", "Hacl.Impl.SHA2.Generic.finish_vec_t", "Lib.MultiBuffer.multibuf", "Hacl...
[]
false
false
false
false
false
let hash #a #m init update_nblocks update_last finish h len b =
lemma_len_lt_max_a_fits_size_t a len; let init_h0 = ST.get () in push_frame (); let h0 = ST.get () in NTup.eq_intro (as_seq_multi h0 b) (as_seq_multi init_h0 b); let st = alloc a m in init st; let h1 = ST.get () in assert (modifies (loc st) h0 h1); assert (as_seq h1 st == SpecVec.init a m); NTup.eq_intro (as_seq_multi ...
false
EverCrypt.HMAC.fsti
EverCrypt.HMAC.supported_alg
val supported_alg : Type0
let supported_alg = a:hash_alg{ is_supported_alg a }
{ "file_name": "providers/evercrypt/EverCrypt.HMAC.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 45, "start_col": 0, "start_line": 45 }
(** Agile HMAC *) module EverCrypt.HMAC module B = LowStar.Buffer open Spec.Agile.HMAC open Spec.Hash.Definitions open FStar.HyperStack.ST open Lib.IntTypes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 20" /// Auxiliary lemma let key_and_data_fits (a: hash_alg): Lemma (ensures ((block_length a + pow2 32)...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", ...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.b2t", "EverCrypt.HMAC.is_supported_alg" ]
[]
false
false
false
true
true
let supported_alg =
a: hash_alg{is_supported_alg a}
false
EverCrypt.HMAC.fsti
EverCrypt.HMAC.is_supported_alg
val is_supported_alg : _: Spec.Hash.Definitions.hash_alg -> Prims.bool
let is_supported_alg = function | SHA1 | SHA2_256 | SHA2_384 | SHA2_512 | Blake2S | Blake2B -> true | _ -> false
{ "file_name": "providers/evercrypt/EverCrypt.HMAC.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 12, "end_line": 43, "start_col": 0, "start_line": 41 }
(** Agile HMAC *) module EverCrypt.HMAC module B = LowStar.Buffer open Spec.Agile.HMAC open Spec.Hash.Definitions open FStar.HyperStack.ST open Lib.IntTypes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 20" /// Auxiliary lemma let key_and_data_fits (a: hash_alg): Lemma (ensures ((block_length a + pow2 32)...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", ...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "fu...
{ "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
_: Spec.Hash.Definitions.hash_alg -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.bool" ]
[]
false
false
false
true
false
let is_supported_alg =
function | SHA1 | SHA2_256 | SHA2_384 | SHA2_512 | Blake2S | Blake2B -> true | _ -> false
false
FStar.Error.fst
FStar.Error.perror
val perror (file: string) (line: int) (text: string) : Tot string
val perror (file: string) (line: int) (text: string) : Tot string
let perror (file:string) (line:int) (text:string) : Tot string = text
{ "file_name": "ulib/legacy/FStar.Error.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 8, "end_line": 39, "start_col": 0, "start_line": 34 }
(* 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.IO.fst.checked" ], "interface_file": false, "source_file": "FStar.Error.fst" }
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
file: Prims.string -> line: Prims.int -> text: Prims.string -> Prims.string
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Prims.int" ]
[]
false
false
false
true
false
let perror (file: string) (line: int) (text: string) : Tot string =
text
false
FStar.Error.fst
FStar.Error.correct
val correct (#a #r: Type) (x: r) : Tot (optResult a r)
val correct (#a #r: Type) (x: r) : Tot (optResult a r)
let correct (#a:Type) (#r:Type) (x:r) : Tot (optResult a r) = Correct x
{ "file_name": "ulib/legacy/FStar.Error.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 13, "end_line": 46, "start_col": 0, "start_line": 41 }
(* 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.IO.fst.checked" ], "interface_file": false, "source_file": "FStar.Error.fst" }
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: r -> FStar.Error.optResult a r
Prims.Tot
[ "total" ]
[]
[ "FStar.Error.Correct", "FStar.Error.optResult" ]
[]
false
false
false
true
false
let correct (#a #r: Type) (x: r) : Tot (optResult a r) =
Correct x
false
FStar.Error.fst
FStar.Error.unexpected
val unexpected (#a: Type) (s: string) : Div a (requires True) (ensures (fun _ -> True))
val unexpected (#a: Type) (s: string) : Div a (requires True) (ensures (fun _ -> True))
let rec unexpected (#a:Type) (s:string) : Div a (requires True) (ensures (fun _ -> True)) = let _ = FStar.IO.debug_print_string ("Platform.Error.unexpected: " ^ s) in unexpected s
{ "file_name": "ulib/legacy/FStar.Error.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 59, "start_col": 0, "start_line": 52 }
(* 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.IO.fst.checked" ], "interface_file": false, "source_file": "FStar.Error.fst" }
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Prims.string -> FStar.Pervasives.Div a
FStar.Pervasives.Div
[]
[]
[ "Prims.string", "FStar.Error.unexpected", "Prims.bool", "FStar.IO.debug_print_string", "Prims.op_Hat", "Prims.l_True" ]
[ "recursion" ]
false
true
false
false
false
let rec unexpected (#a: Type) (s: string) : Div a (requires True) (ensures (fun _ -> True)) =
let _ = FStar.IO.debug_print_string ("Platform.Error.unexpected: " ^ s) in unexpected s
false
EverCrypt.HMAC.fsti
EverCrypt.HMAC.key_and_data_fits
val key_and_data_fits (a: hash_alg) : Lemma (ensures ((block_length a + pow2 32) `less_than_max_input_length` a))
val key_and_data_fits (a: hash_alg) : Lemma (ensures ((block_length a + pow2 32) `less_than_max_input_length` a))
let key_and_data_fits (a: hash_alg): Lemma (ensures ((block_length a + pow2 32) `less_than_max_input_length` a)) = let open FStar.Mul in assert_norm (8 * 16 + pow2 32 < pow2 61); assert_norm (pow2 61 < pow2 125)
{ "file_name": "providers/evercrypt/EverCrypt.HMAC.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 21, "start_col": 0, "start_line": 16 }
(** Agile HMAC *) module EverCrypt.HMAC module B = LowStar.Buffer open Spec.Agile.HMAC open Spec.Hash.Definitions open FStar.HyperStack.ST open Lib.IntTypes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 20" /// Auxiliary lemma
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", ...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.hash_alg -> FStar.Pervasives.Lemma (ensures Spec.Hash.Definitions.less_than_max_input_length (Spec.Hash.Definitions.block_length a + Prims.pow2 32) a)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "Prims.unit", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.l_True", "Prims.squash", "Spec.Hash.Definitions.less_than_max_input_length", "Spec.Hash.Definitions.block_length", ...
[]
true
false
true
false
false
let key_and_data_fits (a: hash_alg) : Lemma (ensures ((block_length a + pow2 32) `less_than_max_input_length` a)) =
let open FStar.Mul in assert_norm (8 * 16 + pow2 32 < pow2 61); assert_norm (pow2 61 < pow2 125)
false
FStar.Error.fst
FStar.Error.unreachable
val unreachable (#a: Type) (s: string) : Div a (requires False) (ensures (fun _ -> False))
val unreachable (#a: Type) (s: string) : Div a (requires False) (ensures (fun _ -> False))
let rec unreachable (#a:Type) (s:string) : Div a (requires False) (ensures (fun _ -> False)) = let _ = FStar.IO.debug_print_string ("Platform.Error.unreachable: " ^ s) in unreachable s
{ "file_name": "ulib/legacy/FStar.Error.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 68, "start_col": 0, "start_line": 61 }
(* 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.IO.fst.checked" ], "interface_file": false, "source_file": "FStar.Error.fst" }
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Prims.string -> FStar.Pervasives.Div a
FStar.Pervasives.Div
[]
[]
[ "Prims.string", "FStar.Error.unreachable", "Prims.bool", "FStar.IO.debug_print_string", "Prims.op_Hat", "Prims.l_False" ]
[ "recursion" ]
false
true
false
false
false
let rec unreachable (#a: Type) (s: string) : Div a (requires False) (ensures (fun _ -> False)) =
let _ = FStar.IO.debug_print_string ("Platform.Error.unreachable: " ^ s) in unreachable s
false
EverCrypt.HMAC.fsti
EverCrypt.HMAC.compute_st
val compute_st : a: Spec.Hash.Definitions.fixed_len_alg -> Type0
let compute_st (a: fixed_len_alg) = tag: B.buffer uint8 {B.length tag == hash_length a} -> key: B.buffer uint8{ keysized a (B.length key) /\ B.disjoint key tag } -> keylen: UInt32.t{ UInt32.v keylen = B.length key } -> // Can we have max_input_length a instead of pow2 32? data: B.buffer uint8{ B.length data +...
{ "file_name": "providers/evercrypt/EverCrypt.HMAC.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 39, "start_col": 0, "start_line": 27 }
(** Agile HMAC *) module EverCrypt.HMAC module B = LowStar.Buffer open Spec.Agile.HMAC open Spec.Hash.Definitions open FStar.HyperStack.ST open Lib.IntTypes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 20" /// Auxiliary lemma let key_and_data_fits (a: hash_alg): Lemma (ensures ((block_length a + pow2 32)...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", ...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.fixed_len_alg -> Type0
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.fixed_len_alg", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Prims.eq2", "Prims.nat", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "Spec.Hash.Definitions.hash_length", "Prims.l_and", "Spec.Agile.HMAC.keysized", "LowStar.Monotonic.Buffer.disjoint...
[]
false
false
false
true
true
let compute_st (a: fixed_len_alg) =
tag: B.buffer uint8 {B.length tag == hash_length a} -> key: B.buffer uint8 {keysized a (B.length key) /\ B.disjoint key tag} -> keylen: UInt32.t{UInt32.v keylen = B.length key} -> data: B.buffer uint8 {B.length data + block_length a < pow2 32} -> datalen: UInt32.t{UInt32.v datalen = B.length data} ...
false
FStar.Error.fst
FStar.Error.if_ideal
val if_ideal (f: (unit -> Tot 'a)) (x: 'a) : Tot 'a
val if_ideal (f: (unit -> Tot 'a)) (x: 'a) : Tot 'a
let if_ideal (f:unit -> Tot 'a) (x:'a) : Tot 'a = x
{ "file_name": "ulib/legacy/FStar.Error.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 75, "start_col": 0, "start_line": 71 }
(* 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.IO.fst.checked" ], "interface_file": false, "source_file": "FStar.Error.fst" }
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: (_: Prims.unit -> 'a) -> x: 'a -> 'a
Prims.Tot
[ "total" ]
[]
[ "Prims.unit" ]
[]
false
false
false
true
false
let if_ideal (f: (unit -> Tot 'a)) (x: 'a) : Tot 'a =
x
false
FStar.Error.fst
FStar.Error.invertOptResult
val invertOptResult (a b: Type) : Lemma (requires True) (ensures (forall (x: optResult a b). Error? x \/ Correct? x)) [SMTPat (optResult a b)]
val invertOptResult (a b: Type) : Lemma (requires True) (ensures (forall (x: optResult a b). Error? x \/ Correct? x)) [SMTPat (optResult a b)]
let invertOptResult (a:Type) (b:Type) : Lemma (requires True) (ensures (forall (x:optResult a b). Error? x \/ Correct? x)) [SMTPat (optResult a b)] = allow_inversion (optResult a b)
{ "file_name": "ulib/legacy/FStar.Error.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 35, "end_line": 31, "start_col": 0, "start_line": 26 }
(* 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.IO.fst.checked" ], "interface_file": false, "source_file": "FStar.Error.fst" }
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> FStar.Pervasives.Lemma (ensures forall (x: FStar.Error.optResult a b). Error? x \/ Correct? x) [SMTPat (FStar.Error.optResult a b)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Pervasives.allow_inversion", "FStar.Error.optResult", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.l_Forall", "Prims.l_or", "Prims.b2t", "FStar.Error.uu___is_Error", "FStar.Error.uu___is_Correct", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.N...
[]
true
false
true
false
false
let invertOptResult (a b: Type) : Lemma (requires True) (ensures (forall (x: optResult a b). Error? x \/ Correct? x)) [SMTPat (optResult a b)] =
allow_inversion (optResult a b)
false
Hacl.Spec.K256.PrecompTable.fsti
Hacl.Spec.K256.PrecompTable.create5
val create5 (x0 x1 x2 x3 x4: uint64) : list uint64
val create5 (x0 x1 x2 x3 x4: uint64) : list uint64
let create5 (x0 x1 x2 x3 x4:uint64) : list uint64 = [x0; x1; x2; x3; x4]
{ "file_name": "code/k256/Hacl.Spec.K256.PrecompTable.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 16, "start_col": 0, "start_line": 16 }
module Hacl.Spec.K256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.K256.Field52.Definitions open Hacl.Impl.K256.Point module S = Spec.K256 module FL = FStar.List.Tot #set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Impl.K256.Point.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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
x0: Lib.IntTypes.uint64 -> x1: Lib.IntTypes.uint64 -> x2: Lib.IntTypes.uint64 -> x3: Lib.IntTypes.uint64 -> x4: Lib.IntTypes.uint64 -> Prims.list Lib.IntTypes.uint64
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint64", "Prims.Cons", "Prims.Nil", "Prims.list" ]
[]
false
false
false
true
false
let create5 (x0 x1 x2 x3 x4: uint64) : list uint64 =
[x0; x1; x2; x3; x4]
false
Hacl.Spec.K256.PrecompTable.fsti
Hacl.Spec.K256.PrecompTable.felem_list
val felem_list : Type0
let felem_list = x:list uint64{FL.length x == 5}
{ "file_name": "code/k256/Hacl.Spec.K256.PrecompTable.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 19, "start_col": 0, "start_line": 19 }
module Hacl.Spec.K256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.K256.Field52.Definitions open Hacl.Impl.K256.Point module S = Spec.K256 module FL = FStar.List.Tot #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" unfold let create5 (x0 x1 x2 x3 x4:uint64) : list uint64 = [x0; x1;...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Impl.K256.Point.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Lib.IntTypes.uint64", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length" ]
[]
false
false
false
true
true
let felem_list =
x: list uint64 {FL.length x == 5}
false
Hacl.Spec.Bignum.Montgomery.fst
Hacl.Spec.Bignum.Montgomery.bn_mont_reduction_f_eval_lemma
val bn_mont_reduction_f_eval_lemma: #t:limb_t -> #nLen:size_nat{nLen + nLen <= max_size_t} -> n:lbignum t nLen -> mu:limb t -> j:size_nat{j < nLen} -> cres0:tuple2 (carry t) (lbignum t (nLen + nLen)) -> Lemma ( let (c0, res0) = cres0 in let (c2, res) = bn_mont_reduction_f n mu j (c0, res0) in ...
val bn_mont_reduction_f_eval_lemma: #t:limb_t -> #nLen:size_nat{nLen + nLen <= max_size_t} -> n:lbignum t nLen -> mu:limb t -> j:size_nat{j < nLen} -> cres0:tuple2 (carry t) (lbignum t (nLen + nLen)) -> Lemma ( let (c0, res0) = cres0 in let (c2, res) = bn_mont_reduction_f n mu j (c0, res0) in ...
let bn_mont_reduction_f_eval_lemma #t #nLen n mu j (c0, res0) = let pbits = bits t in let p = pow2 (pbits * (nLen + j)) in let resLen = nLen + nLen in let qj = mu *. res0.[j] in let c1, res1 = BN.bn_mul1_lshift_add n qj j res0 in BN.bn_mul1_lshift_add_lemma n qj j res0; assert (v c1 * p + eval_ resLen res...
{ "file_name": "code/bignum/Hacl.Spec.Bignum.Montgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 236, "start_col": 0, "start_line": 206 }
module Hacl.Spec.Bignum.Montgomery open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions module Loops = Lib.LoopCombinators module BN = Hacl.Spec.Bignum module BI = Hacl.Spec.Bignum.ModInvLimb #reset-options "--z3rlimit 100 --fuel 0 --ifuel 0" let bn_check...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.ModInvLimb.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "Ha...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.ModInvLimb", "short_module": "BI" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": fals...
{ "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
n: Hacl.Spec.Bignum.Definitions.lbignum t nLen -> mu: Hacl.Spec.Bignum.Definitions.limb t -> j: Lib.IntTypes.size_nat{j < nLen} -> cres0: (Hacl.Spec.Bignum.Base.carry t * Hacl.Spec.Bignum.Definitions.lbignum t (nLen + nLen)) -> FStar.Pervasives.Lemma (ensures (let _ = cres0 in (let ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.max_size_t", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Definitions.limb", "Prims.op_LessThan", "FStar.Pervasives.Native.tuple2", "Hacl.Spec....
[]
false
false
true
false
false
let bn_mont_reduction_f_eval_lemma #t #nLen n mu j (c0, res0) =
let pbits = bits t in let p = pow2 (pbits * (nLen + j)) in let resLen = nLen + nLen in let qj = mu *. res0.[ j ] in let c1, res1 = BN.bn_mul1_lshift_add n qj j res0 in BN.bn_mul1_lshift_add_lemma n qj j res0; assert (v c1 * p + eval_ resLen res1 (nLen + j) == eval_ resLen res0 (nLen + j) + (bn_v n * v qj) * pow2 (p...
false
Hacl.Spec.K256.PrecompTable.fsti
Hacl.Spec.K256.PrecompTable.point_list
val point_list : Type0
let point_list = x:list uint64{FL.length x == 15}
{ "file_name": "code/k256/Hacl.Spec.K256.PrecompTable.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 21, "start_col": 0, "start_line": 21 }
module Hacl.Spec.K256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.K256.Field52.Definitions open Hacl.Impl.K256.Point module S = Spec.K256 module FL = FStar.List.Tot #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" unfold let create5 (x0 x1 x2 x3 x4:uint64) : list uint64 = [x0; x1;...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Impl.K256.Point.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Lib.IntTypes.uint64", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length" ]
[]
false
false
false
true
true
let point_list =
x: list uint64 {FL.length x == 15}
false
Hacl.Spec.K256.PrecompTable.fsti
Hacl.Spec.K256.PrecompTable.proj_point_to_list
val proj_point_to_list (p: S.proj_point) : point_list
val proj_point_to_list (p: S.proj_point) : point_list
let proj_point_to_list (p:S.proj_point) : point_list = [@inline_let] let (px, py, pz) = p in FL.(felem_to_list px @ felem_to_list py @ felem_to_list pz)
{ "file_name": "code/k256/Hacl.Spec.K256.PrecompTable.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 37, "start_col": 0, "start_line": 35 }
module Hacl.Spec.K256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.K256.Field52.Definitions open Hacl.Impl.K256.Point module S = Spec.K256 module FL = FStar.List.Tot #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" unfold let create5 (x0 x1 x2 x3 x4:uint64) : list uint64 = [x0; x1;...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Impl.K256.Point.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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
p: Spec.K256.PointOps.proj_point -> Hacl.Spec.K256.PrecompTable.point_list
Prims.Tot
[ "total" ]
[]
[ "Spec.K256.PointOps.proj_point", "Spec.K256.PointOps.felem", "FStar.List.Tot.Base.op_At", "Lib.IntTypes.uint64", "Hacl.Spec.K256.PrecompTable.felem_to_list", "Hacl.Spec.K256.PrecompTable.point_list" ]
[]
false
false
false
true
false
let proj_point_to_list (p: S.proj_point) : point_list =
[@@ inline_let ]let px, py, pz = p in let open FL in felem_to_list px @ felem_to_list py @ felem_to_list pz
false
Spec.Hash.Test.fst
Spec.Hash.Test.test_vectors
val test_vectors:list vec
val test_vectors:list vec
let test_vectors: list vec = [ Vec SHA2_224 test1_plaintext test1_expected224; Vec SHA2_224 test2_plaintext test2_expected224; Vec SHA2_224 test3_plaintext test3_expected224; Vec SHA2_224 test4_plaintext test4_expected224; Vec SHA2_256 test1_plaintext test1_expected256; Vec SHA2_256 test2_plaintext test2_...
{ "file_name": "specs/tests/Spec.Hash.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 1336, "start_col": 0, "start_line": 184 }
module Spec.Hash.Test open FStar.Seq module PS = Lib.PrintSequence #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Test 1 let test1_plaintext = [0x61uy; 0x62uy; 0x63uy] let test1_expected224 = [ 0x23uy; 0x09uy; 0x7duy; 0x22uy; 0x34uy; 0x05uy; 0xd8uy; 0x22uy; 0x86uy; 0x42uy; 0xa4uy; 0x77uy; 0xbduy; 0xa2uy...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.RawIntTypes.fsti.checked", "Lib.PrintSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile.Hash", "short_module": null }, { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.list Spec.Hash.Test.vec
Prims.Tot
[ "total" ]
[]
[ "Prims.Cons", "Spec.Hash.Test.vec", "Spec.Hash.Test.Vec", "Spec.Hash.Definitions.SHA2_224", "Spec.Hash.Test.test1_plaintext", "Spec.Hash.Test.test1_expected224", "Spec.Hash.Test.test2_plaintext", "Spec.Hash.Test.test2_expected224", "Spec.Hash.Test.test3_plaintext", "Spec.Hash.Test.test3_expected22...
[]
false
false
false
true
false
let test_vectors:list vec =
[ Vec SHA2_224 test1_plaintext test1_expected224; Vec SHA2_224 test2_plaintext test2_expected224; Vec SHA2_224 test3_plaintext test3_expected224; Vec SHA2_224 test4_plaintext test4_expected224; Vec SHA2_256 test1_plaintext test1_expected256; Vec SHA2_256 test2_plaintext test2_expected256; Vec SHA2_256 test3_pla...
false
Hacl.Spec.K256.PrecompTable.fsti
Hacl.Spec.K256.PrecompTable.point_inv_list
val point_inv_list : p: Hacl.Spec.K256.PrecompTable.point_list -> Prims.logical
let point_inv_list (p:point_list) = let x = Seq.seq_of_list p <: lseq uint64 15 in point_inv_lseq x
{ "file_name": "code/k256/Hacl.Spec.K256.PrecompTable.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 42, "start_col": 0, "start_line": 40 }
module Hacl.Spec.K256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.K256.Field52.Definitions open Hacl.Impl.K256.Point module S = Spec.K256 module FL = FStar.List.Tot #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" unfold let create5 (x0 x1 x2 x3 x4:uint64) : list uint64 = [x0; x1;...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Impl.K256.Point.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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
p: Hacl.Spec.K256.PrecompTable.point_list -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Impl.K256.Point.point_inv_lseq", "Lib.Sequence.lseq", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Seq.Base.seq_of_list", "Lib.IntTypes.uint64", "Prims.logical" ]
[]
false
false
false
true
true
let point_inv_list (p: point_list) =
let x = Seq.seq_of_list p <: lseq uint64 15 in point_inv_lseq x
false
Hacl.Spec.K256.PrecompTable.fsti
Hacl.Spec.K256.PrecompTable.felem_to_list
val felem_to_list (x: S.felem) : felem_list
val felem_to_list (x: S.felem) : felem_list
let felem_to_list (x:S.felem) : felem_list = [@inline_let] let x0 = x % pow52 in [@inline_let] let x1 = x / pow52 % pow52 in [@inline_let] let x2 = x / pow104 % pow52 in [@inline_let] let x3 = x / pow156 % pow52 in [@inline_let] let x4 = x / pow208 in [@inline_let] let r = create5 (u64 x0) (u64 x1) (u64 x2)...
{ "file_name": "code/k256/Hacl.Spec.K256.PrecompTable.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 32, "start_col": 0, "start_line": 24 }
module Hacl.Spec.K256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.K256.Field52.Definitions open Hacl.Impl.K256.Point module S = Spec.K256 module FL = FStar.List.Tot #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" unfold let create5 (x0 x1 x2 x3 x4:uint64) : list uint64 = [x0; x1;...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Impl.K256.Point.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Spec.K256.PointOps.felem -> Hacl.Spec.K256.PrecompTable.felem_list
Prims.Tot
[ "total" ]
[]
[ "Spec.K256.PointOps.felem", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.List.Tot.Base.length", "Lib.IntTypes.uint64", "Prims.list", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Hacl.Spec.K256.PrecompTable.create5", "...
[]
false
false
false
true
false
let felem_to_list (x: S.felem) : felem_list =
[@@ inline_let ]let x0 = x % pow52 in [@@ inline_let ]let x1 = x / pow52 % pow52 in [@@ inline_let ]let x2 = x / pow104 % pow52 in [@@ inline_let ]let x3 = x / pow156 % pow52 in [@@ inline_let ]let x4 = x / pow208 in [@@ inline_let ]let r = create5 (u64 x0) (u64 x1) (u64 x2) (u64 x3) (u64 x4) in assert_norm (FL.length ...
false
Hacl.Spec.K256.PrecompTable.fsti
Hacl.Spec.K256.PrecompTable.point_eval_list
val point_eval_list (p: point_list) : GTot S.proj_point
val point_eval_list (p: point_list) : GTot S.proj_point
let point_eval_list (p:point_list) : GTot S.proj_point = let x = Seq.seq_of_list p <: lseq uint64 15 in point_eval_lseq x
{ "file_name": "code/k256/Hacl.Spec.K256.PrecompTable.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 19, "end_line": 47, "start_col": 0, "start_line": 45 }
module Hacl.Spec.K256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.K256.Field52.Definitions open Hacl.Impl.K256.Point module S = Spec.K256 module FL = FStar.List.Tot #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" unfold let create5 (x0 x1 x2 x3 x4:uint64) : list uint64 = [x0; x1;...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Impl.K256.Point.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": ...
{ "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
p: Hacl.Spec.K256.PrecompTable.point_list -> Prims.GTot Spec.K256.PointOps.proj_point
Prims.GTot
[ "sometrivial" ]
[]
[ "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Impl.K256.Point.point_eval_lseq", "Lib.Sequence.lseq", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Seq.Base.seq_of_list", "Lib.IntTypes.uint64", "Spec.K256.PointOps.proj_point" ]
[]
false
false
false
false
false
let point_eval_list (p: point_list) : GTot S.proj_point =
let x = Seq.seq_of_list p <: lseq uint64 15 in point_eval_lseq x
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Init_ctr
val va_codegen_success_Init_ctr : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Init_ctr : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Init_ctr () = (va_pbool_and (va_codegen_success_Pxor (va_op_xmm_xmm 4) (va_op_xmm_xmm 4)) (va_pbool_and (va_codegen_success_PinsrdImm (va_op_xmm_xmm 4) 1 0 (va_op_reg_opr64_reg64 rR12)) (va_ttrue ())))
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 9, "end_line": 43, "start_col": 0, "start_line": 40 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_Pxor", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.InsVector.va_codegen_success_PinsrdImm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR12", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Init_ctr () =
(va_pbool_and (va_codegen_success_Pxor (va_op_xmm_xmm 4) (va_op_xmm_xmm 4)) (va_pbool_and (va_codegen_success_PinsrdImm (va_op_xmm_xmm 4) 1 0 (va_op_reg_opr64_reg64 rR12)) (va_ttrue ())))
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Init_ctr
val va_code_Init_ctr : va_dummy:unit -> Tot va_code
val va_code_Init_ctr : va_dummy:unit -> Tot va_code
let va_code_Init_ctr () = (va_Block (va_CCons (va_code_Pxor (va_op_xmm_xmm 4) (va_op_xmm_xmm 4)) (va_CCons (va_code_PinsrdImm (va_op_xmm_xmm 4) 1 0 (va_op_reg_opr64_reg64 rR12)) (va_CNil ()))))
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 90, "end_line": 36, "start_col": 0, "start_line": 34 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_Pxor", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.InsVector.va_code_PinsrdImm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR12", "Vale.X64.Decls.va_CNil", "Vale.X64.Decls.va_code" ]
[]
false
false
false
true
false
let va_code_Init_ctr () =
(va_Block (va_CCons (va_code_Pxor (va_op_xmm_xmm 4) (va_op_xmm_xmm 4)) (va_CCons (va_code_PinsrdImm (va_op_xmm_xmm 4) 1 0 (va_op_reg_opr64_reg64 rR12)) (va_CNil ()))))
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wp_Init_ctr
val va_wp_Init_ctr (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Init_ctr (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Init_ctr (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ sse_enabled /\ (forall (va_x_xmm4:quad32) (va_x_efl:Vale.X64.Flags.t) (va_x_r12:nat64) . let va_sM = va_upd_reg64 rR12 va_x_r12 (va_upd_flags va_x_efl (va_upd_xmm 4 va_x_xmm4 va_s0)) in va_get_ok va_sM /\ va_g...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 83, "start_col": 0, "start_line": 79 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.sse_enabled", "Prims.l_Forall", "Vale.X64.Decls.quad32", "Vale.X64.Flags.t", "Vale.X64.Memory.nat64", "Prims.l_imp", "Prims.eq2", "Vale.Def.Words_s.four", "Vale.Def.Typ...
[]
false
false
false
true
true
let va_wp_Init_ctr (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ sse_enabled /\ (forall (va_x_xmm4: quad32) (va_x_efl: Vale.X64.Flags.t) (va_x_r12: nat64). let va_sM = va_upd_reg64 rR12 va_x_r12 (va_upd_flags va_x_efl (va_upd_xmm 4 va_x_xmm4 va_s0)) in va_get_ok va_sM /\ va_get_xmm 4 va_sM == Vale.Def.Words_s.Mkfour #Vale.Def.Typ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Gctr_register
val va_code_Gctr_register : alg:algorithm -> Tot va_code
val va_code_Gctr_register : alg:algorithm -> Tot va_code
let va_code_Gctr_register alg = (va_Block (va_CCons (va_code_Mov128 (va_op_xmm_xmm 0) (va_op_xmm_xmm 7)) (va_CCons (va_code_InitPshufbMask (va_op_xmm_xmm 2) (va_op_reg_opr64_reg64 rR12)) (va_CCons (va_code_Pshufb (va_op_xmm_xmm 0) (va_op_xmm_xmm 2)) (va_CCons (va_code_AESEncryptBlock alg) (va_CCons (va_co...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 83, "end_line": 146, "start_col": 0, "start_line": 142 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_Mov128", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.InsVector.va_code_InitPshufbMask", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR12", "Vale.X64.InsVector.va_code_Ps...
[]
false
false
false
true
false
let va_code_Gctr_register alg =
(va_Block (va_CCons (va_code_Mov128 (va_op_xmm_xmm 0) (va_op_xmm_xmm 7)) (va_CCons (va_code_InitPshufbMask (va_op_xmm_xmm 2) (va_op_reg_opr64_reg64 rR12)) (va_CCons (va_code_Pshufb (va_op_xmm_xmm 0) (va_op_xmm_xmm 2)) (va_CCons (va_code_AESEncryptBlock alg) (va_CC...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Inc32
val va_code_Inc32 : dst:va_operand_xmm -> one:va_operand_xmm -> Tot va_code
val va_code_Inc32 : dst:va_operand_xmm -> one:va_operand_xmm -> Tot va_code
let va_code_Inc32 dst one = (va_Block (va_CCons (va_code_Paddd dst one) (va_CNil ())))
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 60, "end_line": 110, "start_col": 0, "start_line": 109 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> one: Vale.X64.Decls.va_operand_xmm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_Paddd", "Vale.X64.Decls.va_CNil", "Vale.X64.Decls.va_code" ]
[]
false
false
false
true
false
let va_code_Inc32 dst one =
(va_Block (va_CCons (va_code_Paddd dst one) (va_CNil ())))
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Inc32
val va_codegen_success_Inc32 : dst:va_operand_xmm -> one:va_operand_xmm -> Tot va_pbool
val va_codegen_success_Inc32 : dst:va_operand_xmm -> one:va_operand_xmm -> Tot va_pbool
let va_codegen_success_Inc32 dst one = (va_pbool_and (va_codegen_success_Paddd dst one) (va_ttrue ()))
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 114, "start_col": 0, "start_line": 113 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> one: Vale.X64.Decls.va_operand_xmm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_Paddd", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Inc32 dst one =
(va_pbool_and (va_codegen_success_Paddd dst one) (va_ttrue ()))
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Gctr_core_body0
val va_codegen_success_Gctr_core_body0 : alg:algorithm -> Tot va_pbool
val va_codegen_success_Gctr_core_body0 : alg:algorithm -> Tot va_pbool
let va_codegen_success_Gctr_core_body0 alg = (va_pbool_and (va_codegen_success_Mov128 (va_op_xmm_xmm 0) (va_op_xmm_xmm 7)) (va_pbool_and (va_codegen_success_Pshufb (va_op_xmm_xmm 0) (va_op_xmm_xmm 8)) (va_pbool_and (va_codegen_success_AESEncryptBlock alg) (va_pbool_and (va_codegen_success_Load128_buffer (...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 251, "start_col": 0, "start_line": 240 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_Mov128", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.InsVector.va_codegen_success_Pshufb", "Vale.AES.X64.AES.va_codegen_success_AESEncryptBlock", "Vale.X64.InsVector.va_codegen_success_Load128_buffer",...
[]
false
false
false
true
false
let va_codegen_success_Gctr_core_body0 alg =
(va_pbool_and (va_codegen_success_Mov128 (va_op_xmm_xmm 0) (va_op_xmm_xmm 7)) (va_pbool_and (va_codegen_success_Pshufb (va_op_xmm_xmm 0) (va_op_xmm_xmm 8)) (va_pbool_and (va_codegen_success_AESEncryptBlock alg) (va_pbool_and (va_codegen_success_Load128_buffer (va_op_heaplet_mem_heaplet 0) ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Gctr_register
val va_codegen_success_Gctr_register : alg:algorithm -> Tot va_pbool
val va_codegen_success_Gctr_register : alg:algorithm -> Tot va_pbool
let va_codegen_success_Gctr_register alg = (va_pbool_and (va_codegen_success_Mov128 (va_op_xmm_xmm 0) (va_op_xmm_xmm 7)) (va_pbool_and (va_codegen_success_InitPshufbMask (va_op_xmm_xmm 2) (va_op_reg_opr64_reg64 rR12)) (va_pbool_and (va_codegen_success_Pshufb (va_op_xmm_xmm 0) (va_op_xmm_xmm 2)) (va_pbool_and ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 154, "start_col": 0, "start_line": 149 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_Mov128", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.InsVector.va_codegen_success_InitPshufbMask", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR12", "Vale.X64.InsVector.va_codegen_su...
[]
false
false
false
true
false
let va_codegen_success_Gctr_register alg =
(va_pbool_and (va_codegen_success_Mov128 (va_op_xmm_xmm 0) (va_op_xmm_xmm 7)) (va_pbool_and (va_codegen_success_InitPshufbMask (va_op_xmm_xmm 2) (va_op_reg_opr64_reg64 rR12)) (va_pbool_and (va_codegen_success_Pshufb (va_op_xmm_xmm 0) (va_op_xmm_xmm 2)) (va_pbool_and (va_codegen_success_AESEncryp...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Gctr_core_body0
val va_code_Gctr_core_body0 : alg:algorithm -> Tot va_code
val va_code_Gctr_core_body0 : alg:algorithm -> Tot va_code
let va_code_Gctr_core_body0 alg = (va_Block (va_CCons (va_code_Mov128 (va_op_xmm_xmm 0) (va_op_xmm_xmm 7)) (va_CCons (va_code_Pshufb (va_op_xmm_xmm 0) (va_op_xmm_xmm 8)) (va_CCons (va_code_AESEncryptBlock alg) (va_CCons (va_code_Load128_buffer (va_op_heaplet_mem_heaplet 0) (va_op_xmm_xmm 2) (va_op_reg_opr...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 236, "start_col": 0, "start_line": 227 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_Mov128", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.InsVector.va_code_Pshufb", "Vale.AES.X64.AES.va_code_AESEncryptBlock", "Vale.X64.InsVector.va_code_Load128_buffer", "Vale.X64.Decls....
[]
false
false
false
true
false
let va_code_Gctr_core_body0 alg =
(va_Block (va_CCons (va_code_Mov128 (va_op_xmm_xmm 0) (va_op_xmm_xmm 7)) (va_CCons (va_code_Pshufb (va_op_xmm_xmm 0) (va_op_xmm_xmm 8)) (va_CCons (va_code_AESEncryptBlock alg) (va_CCons (va_code_Load128_buffer (va_op_heaplet_mem_heaplet 0) (va_op_xmm_xmm 2) ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Gctr_core_while0
val va_codegen_success_Gctr_core_while0 : alg:algorithm -> Tot va_pbool
val va_codegen_success_Gctr_core_while0 : alg:algorithm -> Tot va_pbool
let va_codegen_success_Gctr_core_while0 alg = (va_pbool_and (va_codegen_success_Gctr_core_body0 alg) (va_ttrue ()))
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 71, "end_line": 544, "start_col": 0, "start_line": 543 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.AES.X64.GCTR.va_codegen_success_Gctr_core_body0", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Gctr_core_while0 alg =
(va_pbool_and (va_codegen_success_Gctr_core_body0 alg) (va_ttrue ()))
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Gctr_core
val va_code_Gctr_core : alg:algorithm -> Tot va_code
val va_code_Gctr_core : alg:algorithm -> Tot va_code
let va_code_Gctr_core alg = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRax)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR10) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Init_ctr ()) (va...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 836, "start_col": 0, "start_line": 832 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Ma...
[]
false
false
false
true
false
let va_code_Gctr_core alg =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRax)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR10) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Init_ctr ()) ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Gctr_core
val va_codegen_success_Gctr_core : alg:algorithm -> Tot va_pbool
val va_codegen_success_Gctr_core : alg:algorithm -> Tot va_pbool
let va_codegen_success_Gctr_core alg = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRax)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR10) (va_op_opr64_reg64 ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 64, "end_line": 845, "start_col": 0, "start_line": 840 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRax",...
[]
false
false
false
true
false
let va_codegen_success_Gctr_core alg =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRax)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR10) (va_op_opr64_reg64 rRbx)) (v...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_qcode_Gctr_core
val va_qcode_Gctr_core (va_mods: va_mods_t) (alg: algorithm) (in_b out_b: buffer128) (block_offset: nat) (old_iv: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core alg))
val va_qcode_Gctr_core (va_mods: va_mods_t) (alg: algorithm) (in_b out_b: buffer128) (block_offset: nat) (old_iv: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core alg))
let va_qcode_Gctr_core (va_mods:va_mods_t) (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (block_offset:nat) (old_iv:quad32) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) : (va_quickCode unit (va_code_Gctr_core alg)) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 862, "start_col": 0, "start_line": 848 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> block_offset: Prims.nat -> old_iv: Vale.X64.Decls.quad32 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.X64.Decls.quad32", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mo...
[]
false
false
false
false
false
let va_qcode_Gctr_core (va_mods: va_mods_t) (alg: algorithm) (in_b out_b: buffer128) (block_offset: nat) (old_iv: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core alg)) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 183 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/aes/x64/Vale.AES.X64.GCTR.vaf *****" (va_quick_Mov64 (va_op_dst_opr6...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Gctr_core_opt
val va_codegen_success_Gctr_core_opt : alg:algorithm -> Tot va_pbool
val va_codegen_success_Gctr_core_opt : alg:algorithm -> Tot va_pbool
let va_codegen_success_Gctr_core_opt alg = (va_pbool_and (va_codegen_success_InitPshufbMask (va_op_xmm_xmm 8) (va_op_reg_opr64_reg64 rR12)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_op_opr64_reg64 rRcx)) (va_pbool_and (va_codegen_success_Shr64 (va_op_dst_opr64_reg64 rRdx) (va_co...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 1040, "start_col": 0, "start_line": 1030 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_InitPshufbMask", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR12", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg...
[]
false
false
false
true
false
let va_codegen_success_Gctr_core_opt alg =
(va_pbool_and (va_codegen_success_InitPshufbMask (va_op_xmm_xmm 8) (va_op_reg_opr64_reg64 rR12)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_op_opr64_reg64 rRcx)) (va_pbool_and (va_codegen_success_Shr64 (va_op_dst_opr64_reg64 rRdx) (va_const_shift_amt64 2)) ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_qcode_Init_ctr
val va_qcode_Init_ctr (va_mods: va_mods_t) : (va_quickCode unit (va_code_Init_ctr ()))
val va_qcode_Init_ctr (va_mods: va_mods_t) : (va_quickCode unit (va_code_Init_ctr ()))
let va_qcode_Init_ctr (va_mods:va_mods_t) : (va_quickCode unit (va_code_Init_ctr ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 71 column 9 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/aes/x64/Vale.AE...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 54, "start_col": 0, "start_line": 46 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.AES.X64.GCTR.va_code_Init_ctr ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsVector.va_code_Pxor", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.InsVector.va_code_PinsrdImm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR12", "Prims...
[]
false
false
false
false
false
let va_qcode_Init_ctr (va_mods: va_mods_t) : (va_quickCode unit (va_code_Init_ctr ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 71 column 9 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/aes/x64/Vale.AES.X64.GCTR.vaf *****" (va_quick_Pxor (va_op_xmm_xmm 4) ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Gctr_bytes_extra_work
val va_code_Gctr_bytes_extra_work : alg:algorithm -> Tot va_code
val va_code_Gctr_bytes_extra_work : alg:algorithm -> Tot va_code
let va_code_Gctr_bytes_extra_work alg = (va_Block (va_CCons (va_code_Load128_buffer (va_op_heaplet_mem_heaplet 0) (va_op_xmm_xmm 2) (va_op_reg_opr64_reg64 rR9) 0 Secret) (va_CCons (va_code_Mov128 (va_op_xmm_xmm 1) (va_op_xmm_xmm 2)) (va_CCons (va_code_Gctr_register alg) (va_CCons (va_code_Store128_buffer ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 12, "end_line": 1251, "start_col": 0, "start_line": 1246 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_Load128_buffer", "Vale.X64.Decls.va_op_heaplet_mem_heaplet", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.Arch.HeapTypes_s.S...
[]
false
false
false
true
false
let va_code_Gctr_bytes_extra_work alg =
(va_Block (va_CCons (va_code_Load128_buffer (va_op_heaplet_mem_heaplet 0) (va_op_xmm_xmm 2) (va_op_reg_opr64_reg64 rR9) 0 Secret) (va_CCons (va_code_Mov128 (va_op_xmm_xmm 1) (va_op_xmm_xmm 2)) (va_CCons (va_code_Gctr_register alg) (va_C...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Gctr_bytes_extra_work
val va_codegen_success_Gctr_bytes_extra_work : alg:algorithm -> Tot va_pbool
val va_codegen_success_Gctr_bytes_extra_work : alg:algorithm -> Tot va_pbool
let va_codegen_success_Gctr_bytes_extra_work alg = (va_pbool_and (va_codegen_success_Load128_buffer (va_op_heaplet_mem_heaplet 0) (va_op_xmm_xmm 2) (va_op_reg_opr64_reg64 rR9) 0 Secret) (va_pbool_and (va_codegen_success_Mov128 (va_op_xmm_xmm 1) (va_op_xmm_xmm 2)) (va_pbool_and (va_codegen_success_Gctr_registe...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 1259, "start_col": 0, "start_line": 1254 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsVector.va_codegen_success_Load128_buffer", "Vale.X64.Decls.va_op_heaplet_mem_heaplet", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.Arch.HeapTypes_s.Secret", "Val...
[]
false
false
false
true
false
let va_codegen_success_Gctr_bytes_extra_work alg =
(va_pbool_and (va_codegen_success_Load128_buffer (va_op_heaplet_mem_heaplet 0) (va_op_xmm_xmm 2) (va_op_reg_opr64_reg64 rR9) 0 Secret) (va_pbool_and (va_codegen_success_Mov128 (va_op_xmm_xmm 1) (va_op_xmm_xmm 2)) (va_pbool_and (va_codegen_success_Gctr_register alg) ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_lemma_Init_ctr
val va_lemma_Init_ctr : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Init_ctr ()) va_s0 /\ va_get_ok va_s0 /\ sse_enabled)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ va_get_xmm 4 va_sM == Vale.Def.W...
val va_lemma_Init_ctr : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Init_ctr ()) va_s0 /\ va_get_ok va_s0 /\ sse_enabled)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ va_get_xmm 4 va_sM == Vale.Def.W...
let va_lemma_Init_ctr va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 4; va_Mod_ok] in let va_qc = va_qcode_Init_ctr va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Init_ctr ()) va_qc va_s0 (fun va_s0 va_sM va_g -> let () = va_g in label va_range1 ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 76, "start_col": 0, "start_line": 65 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.r...
[]
false
false
false
false
false
let va_lemma_Init_ctr va_b0 va_s0 =
let va_mods:va_mods_t = [va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 4; va_Mod_ok] in let va_qc = va_qcode_Init_ctr va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Init_ctr ()) va_qc va_s0 (fun va_s0 va_sM va_g -> let () = va_g in label va_range1 "***** POSTCON...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Gctr_bytes_no_extra
val va_codegen_success_Gctr_bytes_no_extra : alg:algorithm -> Tot va_pbool
val va_codegen_success_Gctr_bytes_no_extra : alg:algorithm -> Tot va_pbool
let va_codegen_success_Gctr_bytes_no_extra alg = (va_ttrue ())
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 1350, "start_col": 0, "start_line": 1349 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Gctr_bytes_no_extra alg =
(va_ttrue ())
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_quick_Init_ctr
val va_quick_Init_ctr: Prims.unit -> (va_quickCode unit (va_code_Init_ctr ()))
val va_quick_Init_ctr: Prims.unit -> (va_quickCode unit (va_code_Init_ctr ()))
let va_quick_Init_ctr () : (va_quickCode unit (va_code_Init_ctr ())) = (va_QProc (va_code_Init_ctr ()) ([va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 4]) va_wp_Init_ctr va_wpProof_Init_ctr)
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 104, "start_col": 0, "start_line": 102 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.AES.X64.GCTR.va_code_Init_ctr ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.AES.X64.GCTR.va_code_Init_ctr", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR12", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_xmm", "Prims.Nil", "Vale.AES.X64.GCTR.va_wp_Ini...
[]
false
false
false
false
false
let va_quick_Init_ctr () : (va_quickCode unit (va_code_Init_ctr ())) =
(va_QProc (va_code_Init_ctr ()) ([va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 4]) va_wp_Init_ctr va_wpProof_Init_ctr)
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Inc32
val va_wpProof_Inc32 : dst:va_operand_xmm -> one:va_operand_xmm -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Inc32 dst one va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Inc32 dst one) ([va_Mod_flags; ...
val va_wpProof_Inc32 : dst:va_operand_xmm -> one:va_operand_xmm -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Inc32 dst one va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Inc32 dst one) ([va_Mod_flags; ...
let va_wpProof_Inc32 dst one va_s0 va_k = let (va_sM, va_f0) = va_lemma_Inc32 (va_code_Inc32 dst one) va_s0 dst one in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_ok va_sM (va_update_operand_xmm dst va_sM va_s0)))); va_lemma_norm_mods ([va_Mod_flags; va_mod_xmm dst...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 136, "start_col": 0, "start_line": 129 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> one: Vale.X64.Decls.va_operand_xmm -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_xmm", "Prims.Ni...
[]
false
false
false
false
false
let va_wpProof_Inc32 dst one va_s0 va_k =
let va_sM, va_f0 = va_lemma_Inc32 (va_code_Inc32 dst one) va_s0 dst one in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_ok va_sM (va_update_operand_xmm dst va_sM va_s0)))); va_lemma_norm_mods ([va_Mod_flags; va_mod_xmm dst]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Gctr_bytes_no_extra
val va_code_Gctr_bytes_no_extra : alg:algorithm -> Tot va_code
val va_code_Gctr_bytes_no_extra : alg:algorithm -> Tot va_code
let va_code_Gctr_bytes_no_extra alg = (va_Block (va_CNil ()))
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 1346, "start_col": 0, "start_line": 1345 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CNil", "Vale.X64.Decls.va_code" ]
[]
false
false
false
true
false
let va_code_Gctr_bytes_no_extra alg =
(va_Block (va_CNil ()))
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Init_ctr
val va_wpProof_Init_ctr : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Init_ctr va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Init_ctr ()) ([va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 4]) va_s0 va_k ((...
val va_wpProof_Init_ctr : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Init_ctr va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Init_ctr ()) ([va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 4]) va_s0 va_k ((...
let va_wpProof_Init_ctr va_s0 va_k = let (va_sM, va_f0) = va_lemma_Init_ctr (va_code_Init_ctr ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rR12 va_sM (va_update_flags va_sM (va_update_xmm 4 va_sM (va_update_ok va_sM va_s0))))); va_lemma_norm_mods ([va_Mod_reg64 rR12; va...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 99, "start_col": 0, "start_line": 92 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR12", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.Qui...
[]
false
false
false
false
false
let va_wpProof_Init_ctr va_s0 va_k =
let va_sM, va_f0 = va_lemma_Init_ctr (va_code_Init_ctr ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rR12 va_sM (va_update_flags va_sM (va_update_xmm 4 va_sM (va_update_ok va_sM va_s0))))); va_lemma_norm_mods ([va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 4]...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Gctr_bytes
val va_codegen_success_Gctr_bytes : alg:algorithm -> Tot va_pbool
val va_codegen_success_Gctr_bytes : alg:algorithm -> Tot va_pbool
let va_codegen_success_Gctr_bytes alg = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRbp) (va_op_opr64_reg64 rRcx)) (va_pbool_and (va_codegen_success_IMul64 (va_op_dst_opr64_reg64 rRbp) (va_const_opr64 16)) (va_pbool_and (va_codegen_success_Gctr_core_opt alg) (va_pbool_and (va_codegen_s...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 1451, "start_col": 0, "start_line": 1443 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRbp", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRcx", "Vale.X64.InsBasic.va_codegen_success_IMul64", "Vale.X64.D...
[]
false
false
false
true
false
let va_codegen_success_Gctr_bytes alg =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRbp) (va_op_opr64_reg64 rRcx)) (va_pbool_and (va_codegen_success_IMul64 (va_op_dst_opr64_reg64 rRbp) (va_const_opr64 16)) (va_pbool_and (va_codegen_success_Gctr_core_opt alg) (va_pbool_and (va_codegen_success_Gctr_bytes_no_extra alg...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_qcode_Gctr_core_body0
val va_qcode_Gctr_core_body0 (va_mods: va_mods_t) (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq q...
val va_qcode_Gctr_core_body0 (va_mods: va_mods_t) (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq q...
let va_qcode_Gctr_core_body0 (va_mods:va_mods_t) (va_old:va_state) (alg:algorithm) (va_in_block_offset:nat) (va_in_in_b:buffer128) (va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128) (va_in_round_keys:(seq quad32)) : (va_quickCode unit (va_code_Gctr_core_body0 alg)) = ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 85, "end_line": 288, "start_col": 0, "start_line": 254 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_block_offset: Prims.nat -> va_in_in_b: Vale.X64.Memory.buffer128 -> va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> va_in_keys_b: Vale.X64.Memory.buffer128 -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Prims.nat", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", ...
[]
false
false
false
false
false
let va_qcode_Gctr_core_body0 (va_mods: va_mods_t) (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq q...
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in let block_offset:nat = va_in_block_offset in let in_b:buffer128 = va_in_in_b in let key:(seq nat32) = va_in_key in let keys_b:buffer128 = va_in_keys_b in let old_iv:quad32 = va_in_old_iv in ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Gctr_register
val va_wpProof_Gctr_register : alg:algorithm -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_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_Gctr_register alg key round_keys keys_b va_s0 va_k)) (ensures (fun (va_...
val va_wpProof_Gctr_register : alg:algorithm -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_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_Gctr_register alg key round_keys keys_b va_s0 va_k)) (ensures (fun (va_...
let va_wpProof_Gctr_register alg key round_keys keys_b va_s0 va_k = let (va_sM, va_f0) = va_lemma_Gctr_register (va_code_Gctr_register alg) va_s0 alg key round_keys keys_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rR12 va_sM (va_update_flags va_sM (va_update_xmm 2 va_sM (va_...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 219, "start_col": 0, "start_line": 210 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost (...
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", ...
[]
false
false
false
false
false
let va_wpProof_Gctr_register alg key round_keys keys_b va_s0 va_k =
let va_sM, va_f0 = va_lemma_Gctr_register (va_code_Gctr_register alg) va_s0 alg key round_keys keys_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rR12 va_sM (va_update_flags va_sM (va_update_xmm 2 va_sM (va_update...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_qcode_Gctr_register
val va_qcode_Gctr_register (va_mods: va_mods_t) (alg: algorithm) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_register alg))
val va_qcode_Gctr_register (va_mods: va_mods_t) (alg: algorithm) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_register alg))
let va_qcode_Gctr_register (va_mods:va_mods_t) (alg:algorithm) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) : (va_quickCode unit (va_code_Gctr_register alg)) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_qAssert va_range1 "***** PRECONDITION NOT MET AT line 118...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 185, "start_col": 0, "start_line": 157 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.AES.X64.GCTR.va_code_Gctr...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsVector.va_code_Mov128", "Vale...
[]
false
false
false
false
false
let va_qcode_Gctr_register (va_mods: va_mods_t) (alg: algorithm) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_register alg)) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_qAssert va_range1 "***** PRECONDITION NOT MET AT line 118 column 5 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/aes/x64/Vale.AES.X64.GCTR.vaf *****" (Vale.AES.GCTR_s.inc32 (va_ge...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_quick_Gctr_core_while0
val va_quick_Gctr_core_while0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) : (va_quickCod...
val va_quick_Gctr_core_while0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) : (va_quickCod...
let va_quick_Gctr_core_while0 (va_old:va_state) (alg:algorithm) (va_in_block_offset:nat) (va_in_in_b:buffer128) (va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128) (va_in_round_keys:(seq quad32)) : (va_quickCode unit (va_code_Gctr_core_while0 alg)) = (va_QProc (va_code...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 100, "end_line": 825, "start_col": 0, "start_line": 817 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_block_offset: Prims.nat -> va_in_in_b: Vale.X64.Memory.buffer128 -> va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> va_in_keys_b: Vale.X64.Memory.buffer128 -> va_in_old_iv: Vale.X64.Decls.quad32 -> v...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Prims.nat", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.AES.X64.GCTR.va_code_Gctr_core_while0", "Prims.Cons", "Vale.X64.Qui...
[]
false
false
false
false
false
let va_quick_Gctr_core_while0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) : (va_quickCod...
(va_QProc (va_code_Gctr_core_while0 alg) ([ va_Mod_xmm 7; va_Mod_xmm 2; va_Mod_xmm 0; va_Mod_reg64 rRdx; va_Mod_reg64 rR9; va_Mod_reg64 rR10; va_Mod_ok; va_Mod_mem; va_Mod_mem_heaplet 1; va_Mod_flags ]) (va_wp_Gctr_core_while0 va_old alg va_in_block_offset va_in_in_...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wp_Gctr_core_body0
val va_wp_Gctr_core_body0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) (va_s0: va_state...
val va_wp_Gctr_core_body0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) (va_s0: va_state...
let va_wp_Gctr_core_body0 (va_old:va_state) (alg:algorithm) (va_in_block_offset:nat) (va_in_in_b:buffer128) (va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128) (va_in_round_keys:(seq quad32)) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 492, "start_col": 0, "start_line": 433 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_block_offset: Prims.nat -> va_in_in_b: Vale.X64.Memory.buffer128 -> va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> va_in_keys_b: Vale.X64.Memory.buffer128 -> va_in_old_iv: Vale.X64.Decls.quad32 -> v...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Prims.nat", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.op_LessThanOrEqual", "Vale.X64.Decls.va...
[]
false
false
false
true
true
let va_wp_Gctr_core_body0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) (va_s0: va_state...
(va_get_ok va_s0 /\ (0 <= va_get_reg64 rRdx va_s0 /\ va_get_reg64 rRdx va_s0 <= va_get_reg64 rRcx va_s0) /\ va_get_reg64 rR9 va_s0 == va_get_reg64 rRax va_s0 + 16 `op_Multiply` (va_get_reg64 rRdx va_s0) /\ va_get_reg64 rR10 va_s0 == va_get_reg64 rRbx va_s0 + 16 `op_Multiply` (va_get_reg64 rRdx va_s0) /\ va_get_...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_lemma_Inc32
val va_lemma_Inc32 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_xmm -> one:va_operand_xmm -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Inc32 dst one) va_s0 /\ va_is_dst_xmm dst va_s0 /\ va_is_src_xmm one va_s0 /\ va_get_ok va_s0 /\ sse_enabled /\ va_eval_xmm va_s0 one == V...
val va_lemma_Inc32 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_xmm -> one:va_operand_xmm -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Inc32 dst one) va_s0 /\ va_is_dst_xmm dst va_s0 /\ va_is_src_xmm one va_s0 /\ va_get_ok va_s0 /\ sse_enabled /\ va_eval_xmm va_s0 one == V...
let va_lemma_Inc32 va_b0 va_s0 dst one = va_reveal_opaque (`%va_code_Inc32) (va_code_Inc32 dst one); let (va_old_s:va_state) = va_s0 in let (va_b1:va_codes) = va_get_block va_b0 in let (va_s2, va_fc2) = va_lemma_Paddd (va_hd va_b1) va_s0 dst one in let va_b2 = va_tl va_b1 in let (va_sM, va_f2) = va_lemma_em...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 125, "start_col": 0, "start_line": 117 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Decls.va_operand_xmm -> one: Vale.X64.Decls.va_operand_xmm -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_lemma_merge_total", "FStar.Pervasives.Native.tuple2", "Vale.X64.State.vale_state", "Vale.X64.Decls.va_lemma_empty_total", "Prims.li...
[]
false
false
false
false
false
let va_lemma_Inc32 va_b0 va_s0 dst one =
va_reveal_opaque (`%va_code_Inc32) (va_code_Inc32 dst one); let va_old_s:va_state = va_s0 in let va_b1:va_codes = va_get_block va_b0 in let va_s2, va_fc2 = va_lemma_Paddd (va_hd va_b1) va_s0 dst one in let va_b2 = va_tl va_b1 in let va_sM, va_f2 = va_lemma_empty_total va_s2 va_b2 in let va_fM = va_lemma_merge_total va_...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Gctr_core_body0
val va_wpProof_Gctr_core_body0 : va_old:va_state -> alg:algorithm -> va_in_block_offset:nat -> va_in_in_b:buffer128 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (...
val va_wpProof_Gctr_core_body0 : va_old:va_state -> alg:algorithm -> va_in_block_offset:nat -> va_in_in_b:buffer128 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (...
let va_wpProof_Gctr_core_body0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_round_keys va_s0 va_k = let (va_sM, va_f0) = va_lemma_Gctr_core_body0 (va_code_Gctr_core_body0 alg) va_s0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv va_...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 519, "start_col": 0, "start_line": 506 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_block_offset: Prims.nat -> va_in_in_b: Vale.X64.Memory.buffer128 -> va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> va_in_keys_b: Vale.X64.Memory.buffer128 -> va_in_old_iv: Vale.X64.Decls.quad32 -> v...
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Prims.nat", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "...
[]
false
false
false
false
false
let va_wpProof_Gctr_core_body0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_round_keys va_s0 va_k =
let va_sM, va_f0 = va_lemma_Gctr_core_body0 (va_code_Gctr_core_body0 alg) va_s0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_round_keys in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_xmm 7 va_sM (va_update_xmm 2 ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_quick_Gctr_core_body0
val va_quick_Gctr_core_body0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) : (va_quickCode...
val va_quick_Gctr_core_body0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) : (va_quickCode...
let va_quick_Gctr_core_body0 (va_old:va_state) (alg:algorithm) (va_in_block_offset:nat) (va_in_in_b:buffer128) (va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128) (va_in_round_keys:(seq quad32)) : (va_quickCode unit (va_code_Gctr_core_body0 alg)) = (va_QProc (va_code_G...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 100, "end_line": 530, "start_col": 0, "start_line": 522 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_block_offset: Prims.nat -> va_in_in_b: Vale.X64.Memory.buffer128 -> va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> va_in_keys_b: Vale.X64.Memory.buffer128 -> va_in_old_iv: Vale.X64.Decls.quad32 -> v...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Prims.nat", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.AES.X64.GCTR.va_code_Gctr_core_body0", "Prims.Cons", "Vale.X64.Quic...
[]
false
false
false
false
false
let va_quick_Gctr_core_body0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) : (va_quickCode...
(va_QProc (va_code_Gctr_core_body0 alg) ([ va_Mod_xmm 7; va_Mod_xmm 2; va_Mod_xmm 0; va_Mod_reg64 rRdx; va_Mod_reg64 rR9; va_Mod_reg64 rR10; va_Mod_ok; va_Mod_mem; va_Mod_mem_heaplet 1; va_Mod_flags ]) (va_wp_Gctr_core_body0 va_old alg va_in_block_offset va_in_in_b ...
false
EverParse3d.InputStream.Extern.fst
EverParse3d.InputStream.Extern.t
val t : Type0
let t = Aux.input_buffer
{ "file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 24, "end_line": 15, "start_col": 0, "start_line": 15 }
module EverParse3d.InputStream.Extern module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module U8 = FStar.UInt8 module U64 = FStar.UInt64 module LPE = EverParse3d.ErrorCode module Aux = EverParse3d.InputStream.Extern.Type inline_for_extraction
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perv...
[ { "abbrev": true, "full_module": "EverParse3d.InputStream.Extern.Type", "short_module": "Aux" }, { "abbrev": true, "full_module": "EverParse3d.ErrorCode", "short_module": "LPE" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Extern.Type.input_buffer" ]
[]
false
false
false
true
true
let t =
Aux.input_buffer
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Gctr_core_while0
val va_code_Gctr_core_while0 : alg:algorithm -> Tot va_code
val va_code_Gctr_core_while0 : alg:algorithm -> Tot va_code
let va_code_Gctr_core_while0 alg = (va_Block (va_CCons (va_While (va_cmp_ne (va_op_cmp_reg64 rRdx) (va_op_cmp_reg64 rRcx)) (va_Block (va_CCons (va_code_Gctr_core_body0 alg) (va_CNil ())))) (va_CNil ())))
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 539, "start_col": 0, "start_line": 537 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.Decls.va_While", "Vale.X64.Decls.va_cmp_ne", "Vale.X64.Decls.va_op_cmp_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Machine_s.rRcx", "Vale.AES.X64.GCTR.va_code_Gctr_core_body0", "Vale.X64.Decls.va_CN...
[]
false
false
false
true
false
let va_code_Gctr_core_while0 alg =
(va_Block (va_CCons (va_While (va_cmp_ne (va_op_cmp_reg64 rRdx) (va_op_cmp_reg64 rRcx)) (va_Block (va_CCons (va_code_Gctr_core_body0 alg) (va_CNil ())))) (va_CNil ())))
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_qcode_Gctr_core_while0
val va_qcode_Gctr_core_while0 (va_mods: va_mods_t) (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq ...
val va_qcode_Gctr_core_while0 (va_mods: va_mods_t) (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq ...
let va_qcode_Gctr_core_while0 (va_mods:va_mods_t) (va_old:va_state) (alg:algorithm) (va_in_block_offset:nat) (va_in_in_b:buffer128) (va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128) (va_in_round_keys:(seq quad32)) : (va_quickCode unit (va_code_Gctr_core_while0 alg)) = ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 586, "start_col": 0, "start_line": 547 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_block_offset: Prims.nat -> va_in_in_b: Vale.X64.Memory.buffer128 -> va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> va_in_keys_b: Vale.X64.Memory.buffer128 -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Prims.nat", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", ...
[]
false
false
false
false
false
let va_qcode_Gctr_core_while0 (va_mods: va_mods_t) (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq ...
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in let block_offset:nat = va_in_block_offset in let in_b:buffer128 = va_in_in_b in let key:(seq nat32) = va_in_key in let keys_b:buffer128 = va_in_keys_b in let old_iv:quad32 = va_in_old_iv in ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wp_Gctr_core_while0
val va_wp_Gctr_core_while0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) (va_s0: va_stat...
val va_wp_Gctr_core_while0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) (va_s0: va_stat...
let va_wp_Gctr_core_while0 (va_old:va_state) (alg:algorithm) (va_in_block_offset:nat) (va_in_in_b:buffer128) (va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128) (va_in_round_keys:(seq quad32)) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 787, "start_col": 0, "start_line": 729 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_block_offset: Prims.nat -> va_in_in_b: Vale.X64.Memory.buffer128 -> va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> va_in_keys_b: Vale.X64.Memory.buffer128 -> va_in_old_iv: Vale.X64.Decls.quad32 -> v...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Prims.nat", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.op_LessThanOrEqual", "Vale.X64.Decls.va...
[]
false
false
false
true
true
let va_wp_Gctr_core_while0 (va_old: va_state) (alg: algorithm) (va_in_block_offset: nat) (va_in_in_b: buffer128) (va_in_key: (seq nat32)) (va_in_keys_b: buffer128) (va_in_old_iv: quad32) (va_in_out_b: buffer128) (va_in_round_keys: (seq quad32)) (va_s0: va_stat...
(va_get_ok va_s0 /\ (0 <= va_get_reg64 rRdx va_s0 /\ va_get_reg64 rRdx va_s0 <= va_get_reg64 rRcx va_s0) /\ va_get_reg64 rR9 va_s0 == va_get_reg64 rRax va_s0 + 16 `op_Multiply` (va_get_reg64 rRdx va_s0) /\ va_get_reg64 rR10 va_s0 == va_get_reg64 rRbx va_s0 + 16 `op_Multiply` (va_get_reg64 rRdx va_s0) /\ va_get_...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Gctr_core_while0
val va_wpProof_Gctr_core_while0 : va_old:va_state -> alg:algorithm -> va_in_block_offset:nat -> va_in_in_b:buffer128 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost ...
val va_wpProof_Gctr_core_while0 : va_old:va_state -> alg:algorithm -> va_in_block_offset:nat -> va_in_in_b:buffer128 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost ...
let va_wpProof_Gctr_core_while0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_round_keys va_s0 va_k = let (va_sM, va_f0) = va_lemma_Gctr_core_while0 (va_code_Gctr_core_while0 alg) va_s0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 814, "start_col": 0, "start_line": 801 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_block_offset: Prims.nat -> va_in_in_b: Vale.X64.Memory.buffer128 -> va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> va_in_keys_b: Vale.X64.Memory.buffer128 -> va_in_old_iv: Vale.X64.Decls.quad32 -> v...
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Prims.nat", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "...
[]
false
false
false
false
false
let va_wpProof_Gctr_core_while0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_round_keys va_s0 va_k =
let va_sM, va_f0 = va_lemma_Gctr_core_while0 (va_code_Gctr_core_while0 alg) va_s0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_round_keys in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_xmm 7 va_sM (va_update_xmm 2 ...
false
EverParse3d.InputStream.Extern.fst
EverParse3d.InputStream.Extern.len_all
val len_all (x: t) : GTot LPE.pos_t
val len_all (x: t) : GTot LPE.pos_t
let len_all (x: t) : GTot LPE.pos_t = if x.Aux.has_length then x.Aux.length else Aux.len_all x.Aux.base
{ "file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 29, "end_line": 22, "start_col": 0, "start_line": 17 }
module EverParse3d.InputStream.Extern module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module U8 = FStar.UInt8 module U64 = FStar.UInt64 module LPE = EverParse3d.ErrorCode module Aux = EverParse3d.InputStream.Extern.Type inline_for_extraction noextract...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perv...
[ { "abbrev": true, "full_module": "EverParse3d.InputStream.Extern.Type", "short_module": "Aux" }, { "abbrev": true, "full_module": "EverParse3d.ErrorCode", "short_module": "LPE" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.InputStream.Extern.t -> Prims.GTot EverParse3d.ErrorCode.pos_t
Prims.GTot
[ "sometrivial" ]
[]
[ "EverParse3d.InputStream.Extern.t", "EverParse3d.InputStream.Extern.Type.__proj__Mkinput_buffer__item__has_length", "EverParse3d.InputStream.Extern.Type.__proj__Mkinput_buffer__item__length", "Prims.bool", "EverParse3d.InputStream.Extern.Base.len_all", "EverParse3d.InputStream.Extern.Type.__proj__Mkinput_...
[]
false
false
false
false
false
let len_all (x: t) : GTot LPE.pos_t =
if x.Aux.has_length then x.Aux.length else Aux.len_all x.Aux.base
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Gctr_bytes_stdcall
val va_code_Gctr_bytes_stdcall : win:bool -> alg:algorithm -> Tot va_code
val va_code_Gctr_bytes_stdcall : win:bool -> alg:algorithm -> Tot va_code
let va_code_Gctr_bytes_stdcall win alg = (va_Block (va_CCons (va_code_CreateHeaplets ()) (va_CCons (va_code_Push_Secret (va_op_reg_opr64_reg64 rR15)) (va_CCons (va_code_Push_Secret (va_op_reg_opr64_reg64 rR14)) (va_CCons (va_code_Push_Secret (va_op_reg_opr64_reg64 rR13)) (va_CCons (va_code_Push_Secret (va...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 1759, "start_col": 0, "start_line": 1709 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
win: Prims.bool -> alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsMem.va_code_CreateHeaplets", "Vale.X64.InsStack.va_code_Push_Secret", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR15", "Vale.X64.Machine_s.rR14", "Vale.X64.Machine_...
[]
false
false
false
true
false
let va_code_Gctr_bytes_stdcall win alg =
(va_Block (va_CCons (va_code_CreateHeaplets ()) (va_CCons (va_code_Push_Secret (va_op_reg_opr64_reg64 rR15)) (va_CCons (va_code_Push_Secret (va_op_reg_opr64_reg64 rR14)) (va_CCons (va_code_Push_Secret (va_op_reg_opr64_reg64 rR13)) (va_CCons (va_code_Push_Secret (v...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_codegen_success_Gctr_bytes_stdcall
val va_codegen_success_Gctr_bytes_stdcall : win:bool -> alg:algorithm -> Tot va_pbool
val va_codegen_success_Gctr_bytes_stdcall : win:bool -> alg:algorithm -> Tot va_pbool
let va_codegen_success_Gctr_bytes_stdcall win alg = (va_pbool_and (va_codegen_success_CreateHeaplets ()) (va_pbool_and (va_codegen_success_Push_Secret (va_op_reg_opr64_reg64 rR15)) (va_pbool_and (va_codegen_success_Push_Secret (va_op_reg_opr64_reg64 rR14)) (va_pbool_and (va_codegen_success_Push_Secret (va...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 1822, "start_col": 0, "start_line": 1762 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
win: Prims.bool -> alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsMem.va_codegen_success_CreateHeaplets", "Vale.X64.InsStack.va_codegen_success_Push_Secret", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR15", "Vale.X64.Machine_s.rR14", "Vale.X64.Machine_s.r...
[]
false
false
false
true
false
let va_codegen_success_Gctr_bytes_stdcall win alg =
(va_pbool_and (va_codegen_success_CreateHeaplets ()) (va_pbool_and (va_codegen_success_Push_Secret (va_op_reg_opr64_reg64 rR15)) (va_pbool_and (va_codegen_success_Push_Secret (va_op_reg_opr64_reg64 rR14)) (va_pbool_and (va_codegen_success_Push_Secret (va_op_reg_opr64_reg64 rR13)) ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_quick_Gctr_core
val va_quick_Gctr_core (alg: algorithm) (in_b out_b: buffer128) (block_offset: nat) (old_iv: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core alg))
val va_quick_Gctr_core (alg: algorithm) (in_b out_b: buffer128) (block_offset: nat) (old_iv: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core alg))
let va_quick_Gctr_core (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (block_offset:nat) (old_iv:quad32) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) : (va_quickCode unit (va_code_Gctr_core alg)) = (va_QProc (va_code_Gctr_core alg) ([va_Mod_flags; va_Mod_mem_heaplet 1; va_Mod_xmm 7; va_Mod_x...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 12, "end_line": 1008, "start_col": 0, "start_line": 1001 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> block_offset: Prims.nat -> old_iv: Vale.X64.Decls.quad32 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Val...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.X64.Decls.quad32", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.AES.X64.GCTR.va_code_Gctr_core", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode...
[]
false
false
false
false
false
let va_quick_Gctr_core (alg: algorithm) (in_b out_b: buffer128) (block_offset: nat) (old_iv: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core alg)) =
(va_QProc (va_code_Gctr_core alg) ([ va_Mod_flags; va_Mod_mem_heaplet 1; va_Mod_xmm 7; va_Mod_xmm 4; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg64 rR12; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_mem ]) (va_wp_Gctr_core alg in_b out_b block_offset old_i...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Gctr_core_opt
val va_code_Gctr_core_opt : alg:algorithm -> Tot va_code
val va_code_Gctr_core_opt : alg:algorithm -> Tot va_code
let va_code_Gctr_core_opt alg = (va_Block (va_CCons (va_code_InitPshufbMask (va_op_xmm_xmm 8) (va_op_reg_opr64_reg64 rR12)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_op_opr64_reg64 rRcx)) (va_CCons (va_code_Shr64 (va_op_dst_opr64_reg64 rRdx) (va_const_shift_amt64 2)) (va_CCons (va_code_And64 ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 1026, "start_col": 0, "start_line": 1016 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsVector.va_code_InitPshufbMask", "Vale.X64.Decls.va_op_xmm_xmm", "Vale.X64.Decls.va_op_reg_opr64_reg64", "Vale.X64.Machine_s.rR12", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_...
[]
false
false
false
true
false
let va_code_Gctr_core_opt alg =
(va_Block (va_CCons (va_code_InitPshufbMask (va_op_xmm_xmm 8) (va_op_reg_opr64_reg64 rR12)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_op_opr64_reg64 rRcx)) (va_CCons (va_code_Shr64 (va_op_dst_opr64_reg64 rRdx) (va_const_shift_amt64 2)) (va_CCons (va_code_And64 (va_op_...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wp_Gctr_core_opt
val va_wp_Gctr_core_opt (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Gctr_core_opt (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Gctr_core_opt (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (Vale.X64.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 rRax va_s0) in...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 1194, "start_col": 0, "start_line": 1155 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> va_s0: Vale.X64.Decls.va_state -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.Decls.validSrcAddrs128", "Vale.X64.Decls.va_get_mem...
[]
false
false
false
true
true
let va_wp_Gctr_core_opt (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (Vale.X64.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 rRax va_s0) in_b (va_get_reg64 rRcx va_s0) (va_get_mem_layout va_s0) Secret /\ Vale.X64.Decls.validDstAddrs128 (va_get_mem_heaplet 1 va_s0) (va_get_reg64 rRbx va_s0) out_b ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_lemma_Gctr_register
val va_lemma_Gctr_register : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Gctr_register alg) va_s0 /\ va_get_ok va_s0 /\ (aesni_enabled /\ sse_enabled /\ (alg = AES_12...
val va_lemma_Gctr_register : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Gctr_register alg) va_s0 /\ va_get_ok va_s0 /\ (aesni_enabled /\ sse_enabled /\ (alg = AES_12...
let va_lemma_Gctr_register va_b0 va_s0 alg key round_keys keys_b = let (va_mods:va_mods_t) = [va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_ok] in let va_qc = va_qcode_Gctr_register va_mods alg key round_keys keys_b in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_co...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 206, "start_col": 0, "start_line": 188 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> Prims.Ghost (Vale.X64.Decls.va_state * Vale....
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "...
[]
false
false
false
false
false
let va_lemma_Gctr_register va_b0 va_s0 alg key round_keys keys_b =
let va_mods:va_mods_t = [va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_ok] in let va_qc = va_qcode_Gctr_register va_mods alg key round_keys keys_b in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Gctr_register alg) va_qc va_s0 (fun va_s0 va_sM va_g -> ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Gctr_core
val va_wpProof_Gctr_core : alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> block_offset:nat -> old_iv:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_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_G...
val va_wpProof_Gctr_core : alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> block_offset:nat -> old_iv:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_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_G...
let va_wpProof_Gctr_core alg in_b out_b block_offset old_iv key round_keys keys_b va_s0 va_k = let (va_sM, va_f0) = va_lemma_Gctr_core (va_code_Gctr_core alg) va_s0 alg in_b out_b block_offset old_iv key round_keys keys_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_updat...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 998, "start_col": 0, "start_line": 986 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> block_offset: Prims.nat -> old_iv: Vale.X64.Decls.quad32 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Val...
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.X64.Decls.quad32", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "...
[]
false
false
false
false
false
let va_wpProof_Gctr_core alg in_b out_b block_offset old_iv key round_keys keys_b va_s0 va_k =
let va_sM, va_f0 = va_lemma_Gctr_core (va_code_Gctr_core alg) va_s0 alg in_b out_b block_offset old_iv key round_keys keys_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_mem_heaplet 1 va_sM (va_update_xmm 7 ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_quick_Gctr_core_opt
val va_quick_Gctr_core_opt (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core_opt alg))
val va_quick_Gctr_core_opt (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core_opt alg))
let va_quick_Gctr_core_opt (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) : (va_quickCode unit (va_code_Gctr_core_opt alg)) = (va_QProc (va_code_Gctr_core_opt alg) ([va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 10; va_M...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 1240, "start_col": 0, "start_line": 1232 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> Vale.X64.QuickCode.va_quickCode Prims.un...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.AES.X64.GCTR.va_code_Gctr_core_opt", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_xmm...
[]
false
false
false
false
false
let va_quick_Gctr_core_opt (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core_opt alg)) =
(va_QProc (va_code_Gctr_core_opt alg) ([ va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 10; va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_flags; va_Mod_mem_heaplet 1; ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_qcode_Gctr_bytes_extra_work
val va_qcode_Gctr_bytes_extra_work (va_mods: va_mods_t) (alg: algorithm) (icb_BE: quad32) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (orig_in_ptr orig_out_ptr: nat64) (num_bytes: nat) : (va_quickCode unit (va_code_G...
val va_qcode_Gctr_bytes_extra_work (va_mods: va_mods_t) (alg: algorithm) (icb_BE: quad32) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (orig_in_ptr orig_out_ptr: nat64) (num_bytes: nat) : (va_quickCode unit (va_code_G...
let va_qcode_Gctr_bytes_extra_work (va_mods:va_mods_t) (alg:algorithm) (icb_BE:quad32) (in_b:buffer128) (out_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (orig_in_ptr:nat64) (orig_out_ptr:nat64) (num_bytes:nat) : (va_quickCode unit (va_code_Gctr_bytes_extra_work alg)) = (qblock va...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 1290, "start_col": 0, "start_line": 1262 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> icb_BE: Vale.X64.Decls.quad32 -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Memory.nat64", "Prims.nat", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "V...
[]
false
false
false
false
false
let va_qcode_Gctr_bytes_extra_work (va_mods: va_mods_t) (alg: algorithm) (icb_BE: quad32) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (orig_in_ptr orig_out_ptr: nat64) (num_bytes: nat) : (va_quickCode unit (va_code_G...
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in let num_blocks:(va_int_at_least 0) = num_bytes `op_Division` 16 in va_QBind va_range1 "***** PRECONDITION NOT MET AT line 370 column 19 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/ae...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wp_Gctr_core
val va_wp_Gctr_core (alg: algorithm) (in_b out_b: buffer128) (block_offset: nat) (old_iv: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Gctr_core (alg: algorithm) (in_b out_b: buffer128) (block_offset: nat) (old_iv: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Gctr_core (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (block_offset:nat) (old_iv:quad32) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (Vale.X64.Decls.validSrcAddrsOffset128 (va_get_mem_heaplet 0 va...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 972, "start_col": 0, "start_line": 936 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> block_offset: Prims.nat -> old_iv: Vale.X64.Decls.quad32 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Val...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.X64.Decls.quad32", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.Decls.validSrcAddrsOffset128", "Vale...
[]
false
false
false
true
true
let va_wp_Gctr_core (alg: algorithm) (in_b out_b: buffer128) (block_offset: nat) (old_iv: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (Vale.X64.Decls.validSrcAddrsOffset128 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 rRax va_s0) in_b block_offset (va_get_reg64 rRcx va_s0) (va_get_mem_layout va_s0) Secret /\ Vale.X64.Decls.validDstAddrsOffset128 (va_get_mem_heaplet 1 va_s0) (va_get_reg...
false
EverParse3d.InputStream.Extern.fst
EverParse3d.InputStream.Extern.is_prefix_of
val is_prefix_of (x y: t) : Tot prop
val is_prefix_of (x y: t) : Tot prop
let is_prefix_of (x: t) (y: t) : Tot prop = x.Aux.base == y.Aux.base /\ x.Aux.position == y.Aux.position /\ (y.Aux.has_length == true ==> (x.Aux.has_length == true /\ U64.v x.Aux.length <= U64.v y.Aux.length))
{ "file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 485, "start_col": 0, "start_line": 477 }
module EverParse3d.InputStream.Extern module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module U8 = FStar.UInt8 module U64 = FStar.UInt64 module LPE = EverParse3d.ErrorCode module Aux = EverParse3d.InputStream.Extern.Type inline_for_extraction noextract...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perv...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LP" }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "EverParse3d.InputStream.Extern.Type", "short_module": "Aux" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.InputStream.Extern.t -> y: EverParse3d.InputStream.Extern.t -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Extern.t", "Prims.l_and", "Prims.eq2", "EverParse3d.InputStream.Extern.Base.t", "EverParse3d.InputStream.Extern.Type.__proj__Mkinput_buffer__item__base", "LowStar.Buffer.pointer", "FStar.Ghost.erased", "EverParse3d.ErrorCode.pos_t", "EverParse3d.InputStream.Extern.Type.__pro...
[]
false
false
false
true
true
let is_prefix_of (x y: t) : Tot prop =
x.Aux.base == y.Aux.base /\ x.Aux.position == y.Aux.position /\ (y.Aux.has_length == true ==> (x.Aux.has_length == true /\ U64.v x.Aux.length <= U64.v y.Aux.length) )
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_qcode_Gctr_bytes_no_extra
val va_qcode_Gctr_bytes_no_extra (va_mods: va_mods_t) (alg: algorithm) (icb_BE: quad32) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (orig_in_ptr orig_out_ptr: nat64) (num_bytes: nat) : (va_quickCode unit (va_code_Gct...
val va_qcode_Gctr_bytes_no_extra (va_mods: va_mods_t) (alg: algorithm) (icb_BE: quad32) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (orig_in_ptr orig_out_ptr: nat64) (num_bytes: nat) : (va_quickCode unit (va_code_Gct...
let va_qcode_Gctr_bytes_no_extra (va_mods:va_mods_t) (alg:algorithm) (icb_BE:quad32) (in_b:buffer128) (out_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (orig_in_ptr:nat64) (orig_out_ptr:nat64) (num_bytes:nat) : (va_quickCode unit (va_code_Gctr_bytes_no_extra alg)) = (qblock va_mod...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 1384, "start_col": 0, "start_line": 1353 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> icb_BE: Vale.X64.Decls.quad32 -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Memory.nat64", "Prims.nat", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Nil", "Vale.X64.Machine_s.precode", ...
[]
false
false
false
false
false
let va_qcode_Gctr_bytes_no_extra (va_mods: va_mods_t) (alg: algorithm) (icb_BE: quad32) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (orig_in_ptr orig_out_ptr: nat64) (num_bytes: nat) : (va_quickCode unit (va_code_Gct...
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in let num_blocks:(va_int_at_least 0) = num_bytes `op_Division` 16 in let va_arg20:Vale.Def.Types_s.quad32 = icb_BE in let va_arg19:(FStar.Seq.Base.seq Vale.Def.Types_s.nat32) = key in let va_arg18:(FStar.S...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Gctr_core_opt
val va_wpProof_Gctr_core_opt : alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_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_Gctr_core_opt alg in_b out_b key r...
val va_wpProof_Gctr_core_opt : alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_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_Gctr_core_opt alg in_b out_b key r...
let va_wpProof_Gctr_core_opt alg in_b out_b key round_keys keys_b va_s0 va_k = let (va_sM, va_f0) = va_lemma_Gctr_core_opt (va_code_Gctr_core_opt alg) va_s0 alg in_b out_b key round_keys keys_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_xmm 15 va_sM (va_update_xmm 14 va_sM (va_update_x...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1229, "start_col": 0, "start_line": 1210 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> va_s0: Vale.X64.Decls.va_state -> ...
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", ...
[]
false
false
false
false
false
let va_wpProof_Gctr_core_opt alg in_b out_b key round_keys keys_b va_s0 va_k =
let va_sM, va_f0 = va_lemma_Gctr_core_opt (va_code_Gctr_core_opt alg) va_s0 alg in_b out_b key round_keys keys_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_xmm 15 va_sM (va_update_xmm 14 va_sM (va_update_xmm 13 va_sM ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_code_Gctr_bytes
val va_code_Gctr_bytes : alg:algorithm -> Tot va_code
val va_code_Gctr_bytes : alg:algorithm -> Tot va_code
let va_code_Gctr_bytes alg = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRbp) (va_op_opr64_reg64 rRcx)) (va_CCons (va_code_IMul64 (va_op_dst_opr64_reg64 rRbp) (va_const_opr64 16)) (va_CCons (va_code_Gctr_core_opt alg) (va_CCons (va_code_Gctr_bytes_no_extra alg) (va_CCons (va_IfElse (va_cmp_...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 55, "end_line": 1439, "start_col": 0, "start_line": 1431 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRbp", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRcx", "Vale.X64.InsBasic.va_code_IMul64", "Vale.X6...
[]
false
false
false
true
false
let va_code_Gctr_bytes alg =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRbp) (va_op_opr64_reg64 rRcx)) (va_CCons (va_code_IMul64 (va_op_dst_opr64_reg64 rRbp) (va_const_opr64 16)) (va_CCons (va_code_Gctr_core_opt alg) (va_CCons (va_code_Gctr_bytes_no_extra alg) (va_CCons (va_If...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Gctr_bytes_extra_work
val va_wpProof_Gctr_bytes_extra_work : alg:algorithm -> icb_BE:quad32 -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> orig_in_ptr:nat64 -> orig_out_ptr:nat64 -> num_bytes:nat -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_f...
val va_wpProof_Gctr_bytes_extra_work : alg:algorithm -> icb_BE:quad32 -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> orig_in_ptr:nat64 -> orig_out_ptr:nat64 -> num_bytes:nat -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_f...
let va_wpProof_Gctr_bytes_extra_work alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes va_s0 va_k = let (va_sM, va_f0) = va_lemma_Gctr_bytes_extra_work (va_code_Gctr_bytes_extra_work alg) va_s0 alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes in va_le...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1339, "start_col": 0, "start_line": 1327 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> icb_BE: Vale.X64.Decls.quad32 -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> o...
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Memory.nat64", "Prims.nat", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCo...
[]
false
false
false
false
false
let va_wpProof_Gctr_bytes_extra_work alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes va_s0 va_k =
let va_sM, va_f0 = va_lemma_Gctr_bytes_extra_work (va_code_Gctr_bytes_extra_work alg) va_s0 alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_mem_heaplet 1 va_sM ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Gctr_bytes_no_extra
val va_wpProof_Gctr_bytes_no_extra : alg:algorithm -> icb_BE:quad32 -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> orig_in_ptr:nat64 -> orig_out_ptr:nat64 -> num_bytes:nat -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fue...
val va_wpProof_Gctr_bytes_no_extra : alg:algorithm -> icb_BE:quad32 -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> orig_in_ptr:nat64 -> orig_out_ptr:nat64 -> num_bytes:nat -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fue...
let va_wpProof_Gctr_bytes_no_extra alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes va_s0 va_k = let (va_sM, va_f0) = va_lemma_Gctr_bytes_no_extra (va_code_Gctr_bytes_no_extra alg) va_s0 alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes in va_lemma_up...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1424, "start_col": 0, "start_line": 1416 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> icb_BE: Vale.X64.Decls.quad32 -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> o...
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Memory.nat64", "Prims.nat", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCo...
[]
false
false
false
false
false
let va_wpProof_Gctr_bytes_no_extra alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes va_s0 va_k =
let va_sM, va_f0 = va_lemma_Gctr_bytes_no_extra (va_code_Gctr_bytes_no_extra alg) va_s0 alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, ...
false
EverParse3d.InputStream.Extern.fst
EverParse3d.InputStream.Extern.footprint
val footprint (x: t) : Ghost B.loc (requires True) (ensures (fun y -> B.address_liveness_insensitive_locs `B.loc_includes` y))
val footprint (x: t) : Ghost B.loc (requires True) (ensures (fun y -> B.address_liveness_insensitive_locs `B.loc_includes` y))
let footprint (x: t) : Ghost B.loc (requires True) (ensures (fun y -> B.address_liveness_insensitive_locs `B.loc_includes` y)) = Aux.footprint x.Aux.base `B.loc_union` B.loc_buffer x.Aux.position
{ "file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 68, "end_line": 39, "start_col": 0, "start_line": 34 }
module EverParse3d.InputStream.Extern module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module U8 = FStar.UInt8 module U64 = FStar.UInt64 module LPE = EverParse3d.ErrorCode module Aux = EverParse3d.InputStream.Extern.Type inline_for_extraction noextract...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perv...
[ { "abbrev": true, "full_module": "EverParse3d.InputStream.Extern.Type", "short_module": "Aux" }, { "abbrev": true, "full_module": "EverParse3d.ErrorCode", "short_module": "LPE" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.InputStream.Extern.t -> Prims.Ghost LowStar.Monotonic.Buffer.loc
Prims.Ghost
[]
[]
[ "EverParse3d.InputStream.Extern.t", "LowStar.Monotonic.Buffer.loc_union", "EverParse3d.InputStream.Extern.Base.footprint", "EverParse3d.InputStream.Extern.Type.__proj__Mkinput_buffer__item__base", "LowStar.Monotonic.Buffer.loc_buffer", "FStar.Ghost.erased", "EverParse3d.ErrorCode.pos_t", "LowStar.Buff...
[]
false
false
false
false
false
let footprint (x: t) : Ghost B.loc (requires True) (ensures (fun y -> B.address_liveness_insensitive_locs `B.loc_includes` y)) =
(Aux.footprint x.Aux.base) `B.loc_union` (B.loc_buffer x.Aux.position)
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_lemma_Gctr_core_body0
val va_lemma_Gctr_core_body0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state -> alg:algorithm -> va_in_block_offset:nat -> va_in_in_b:buffer128 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_round_keys:(seq quad32) -> Ghost (va_state & va_fuel) ...
val va_lemma_Gctr_core_body0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state -> alg:algorithm -> va_in_block_offset:nat -> va_in_in_b:buffer128 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_round_keys:(seq quad32) -> Ghost (va_state & va_fuel) ...
let va_lemma_Gctr_core_body0 va_b0 va_s0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_round_keys = let va_old = va_expand_state va_old in let (va_mods:va_mods_t) = [va_Mod_xmm 7; va_Mod_xmm 2; va_Mod_xmm 0; va_Mod_reg64 rRdx; va_Mod_reg64 rR9; va_Mod_reg64 rR1...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 430, "start_col": 0, "start_line": 351 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_block_offset: Prims.nat -> va_in_in_b: Vale.X64.Memory.buffer128 -> va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> va_in_keys_b: Va...
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Prims.nat", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decl...
[]
false
false
false
false
false
let va_lemma_Gctr_core_body0 va_b0 va_s0 va_old alg va_in_block_offset va_in_in_b va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_round_keys =
let va_old = va_expand_state va_old in let va_mods:va_mods_t = [ va_Mod_xmm 7; va_Mod_xmm 2; va_Mod_xmm 0; va_Mod_reg64 rRdx; va_Mod_reg64 rR9; va_Mod_reg64 rR10; va_Mod_ok; va_Mod_mem; va_Mod_mem_heaplet 1; va_Mod_flags ] in let va_qc = va_qcode_Gctr_core_body0 va_mods va_old alg va_in_block_offset va_in...
false
EverParse3d.InputStream.Extern.fst
EverParse3d.InputStream.Extern.perm_footprint
val perm_footprint (x: t) : Ghost B.loc (requires True) (ensures (fun y -> (footprint x) `B.loc_includes` y))
val perm_footprint (x: t) : Ghost B.loc (requires True) (ensures (fun y -> (footprint x) `B.loc_includes` y))
let perm_footprint (x: t) : Ghost B.loc (requires True) (ensures (fun y -> footprint x `B.loc_includes` y)) = footprint x
{ "file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 13, "end_line": 46, "start_col": 0, "start_line": 41 }
module EverParse3d.InputStream.Extern module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module U8 = FStar.UInt8 module U64 = FStar.UInt64 module LPE = EverParse3d.ErrorCode module Aux = EverParse3d.InputStream.Extern.Type inline_for_extraction noextract...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perv...
[ { "abbrev": true, "full_module": "EverParse3d.InputStream.Extern.Type", "short_module": "Aux" }, { "abbrev": true, "full_module": "EverParse3d.ErrorCode", "short_module": "LPE" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.InputStream.Extern.t -> Prims.Ghost LowStar.Monotonic.Buffer.loc
Prims.Ghost
[]
[]
[ "EverParse3d.InputStream.Extern.t", "EverParse3d.InputStream.Extern.footprint", "LowStar.Monotonic.Buffer.loc", "Prims.l_True", "LowStar.Monotonic.Buffer.loc_includes" ]
[]
false
false
false
false
false
let perm_footprint (x: t) : Ghost B.loc (requires True) (ensures (fun y -> (footprint x) `B.loc_includes` y)) =
footprint x
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_qcode_Gctr_bytes
val va_qcode_Gctr_bytes (va_mods: va_mods_t) (alg: algorithm) (in_b out_b inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_bytes alg))
val va_qcode_Gctr_bytes (va_mods: va_mods_t) (alg: algorithm) (in_b out_b inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_bytes alg))
let va_qcode_Gctr_bytes (va_mods:va_mods_t) (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (inout_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) : (va_quickCode unit (va_code_Gctr_bytes alg)) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_ra...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 1502, "start_col": 0, "start_line": 1454 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> inout_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X...
[]
false
false
false
false
false
let va_qcode_Gctr_bytes (va_mods: va_mods_t) (alg: algorithm) (in_b out_b inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_bytes alg)) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 576 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/aes/x64/Vale.AES.X64.GCTR.vaf *****" (va_quick_Mov64 (va_op_dst_opr6...
false
EverParse3d.InputStream.Extern.fst
EverParse3d.InputStream.Extern.live
val live (x: t) (m: HS.mem) : Tot prop
val live (x: t) (m: HS.mem) : Tot prop
let live (x: t) (m: HS.mem) : Tot prop = let read = U64.v (B.deref m x.Aux.position) in Aux.live x.Aux.base m /\ B.live m x.Aux.position /\ read <= U64.v (len_all x) /\ read == Seq.length (Aux.get_read x.Aux.base m)
{ "file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 48, "end_line": 32, "start_col": 0, "start_line": 24 }
module EverParse3d.InputStream.Extern module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module U8 = FStar.UInt8 module U64 = FStar.UInt64 module LPE = EverParse3d.ErrorCode module Aux = EverParse3d.InputStream.Extern.Type inline_for_extraction noextract...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perv...
[ { "abbrev": true, "full_module": "EverParse3d.InputStream.Extern.Type", "short_module": "Aux" }, { "abbrev": true, "full_module": "EverParse3d.ErrorCode", "short_module": "LPE" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.InputStream.Extern.t -> m: FStar.Monotonic.HyperStack.mem -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Extern.t", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "EverParse3d.InputStream.Extern.Base.live", "EverParse3d.InputStream.Extern.Type.__proj__Mkinput_buffer__item__base", "LowStar.Monotonic.Buffer.live", "FStar.Ghost.erased", "EverParse3d.ErrorCode.pos_t", "LowStar.Bu...
[]
false
false
false
true
true
let live (x: t) (m: HS.mem) : Tot prop =
let read = U64.v (B.deref m x.Aux.position) in Aux.live x.Aux.base m /\ B.live m x.Aux.position /\ read <= U64.v (len_all x) /\ read == Seq.length (Aux.get_read x.Aux.base m)
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_lemma_Gctr_bytes_extra_work
val va_lemma_Gctr_bytes_extra_work : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> icb_BE:quad32 -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> orig_in_ptr:nat64 -> orig_out_ptr:nat64 -> num_bytes:nat -> Ghost (va_state & va_fuel) (requires (va_re...
val va_lemma_Gctr_bytes_extra_work : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> icb_BE:quad32 -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> orig_in_ptr:nat64 -> orig_out_ptr:nat64 -> num_bytes:nat -> Ghost (va_state & va_fuel) (requires (va_re...
let va_lemma_Gctr_bytes_extra_work va_b0 va_s0 alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_mem_heaplet 1; va_Mod_xmm 4; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg64 rR12; va_Mod_reg64 rRdx; va_Mod_ok; va_Mod_mem] in ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1323, "start_col": 0, "start_line": 1293 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> icb_BE: Vale.X64.Decls.quad32 -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base....
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Memory.nat64", "Prims.nat", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native....
[]
false
false
false
false
false
let va_lemma_Gctr_bytes_extra_work va_b0 va_s0 alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_mem_heaplet 1; va_Mod_xmm 4; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg64 rR12; va_Mod_reg64 rRdx; va_Mod_ok; va_Mod_mem ] in let va_qc = va_qcode_Gctr_bytes_extra_work va_mods alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_quick_Gctr_bytes
val va_quick_Gctr_bytes (alg: algorithm) (in_b out_b inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_bytes alg))
val va_quick_Gctr_bytes (alg: algorithm) (in_b out_b inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_bytes alg))
let va_quick_Gctr_bytes (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (inout_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) : (va_quickCode unit (va_code_Gctr_bytes alg)) = (va_QProc (va_code_Gctr_bytes alg) ([va_Mod_flags; va_Mod_mem_heaplet 2; va_Mod_mem_heaplet 1; va_Mod_x...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 92, "end_line": 1702, "start_col": 0, "start_line": 1693 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> inout_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.AES.X64.GCTR.va_code_Gctr_bytes", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags"...
[]
false
false
false
false
false
let va_quick_Gctr_bytes (alg: algorithm) (in_b out_b inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_bytes alg)) =
(va_QProc (va_code_Gctr_bytes alg) ([ va_Mod_flags; va_Mod_mem_heaplet 2; va_Mod_mem_heaplet 1; va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 10; va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_xm...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_qcode_Gctr_core_opt
val va_qcode_Gctr_core_opt (va_mods: va_mods_t) (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core_opt alg))
val va_qcode_Gctr_core_opt (va_mods: va_mods_t) (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core_opt alg))
let va_qcode_Gctr_core_opt (va_mods:va_mods_t) (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) : (va_quickCode unit (va_code_Gctr_core_opt alg)) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "****...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 1079, "start_col": 0, "start_line": 1043 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 ...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsVector.va_code_InitPshufbMask",...
[]
false
false
false
false
false
let va_qcode_Gctr_core_opt (va_mods: va_mods_t) (alg: algorithm) (in_b out_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) : (va_quickCode unit (va_code_Gctr_core_opt alg)) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 288 column 19 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/crypto/aes/x64/Vale.AES.X64.GCTR.vaf *****" (va_quick_InitPshufbMask (va_op...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_lemma_Gctr_core_opt
val va_lemma_Gctr_core_opt : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Gctr_core_opt alg) va_s0 /\ va_get_ok va_s0 /\ (Vale.X64...
val va_lemma_Gctr_core_opt : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Gctr_core_opt alg) va_s0 /\ va_get_ok va_s0 /\ (Vale.X64...
let va_lemma_Gctr_core_opt va_b0 va_s0 alg in_b out_b key round_keys keys_b = let (va_mods:va_mods_t) = [va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 10; va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_xmm 1; va_M...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1152, "start_col": 0, "start_line": 1119 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys...
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "...
[]
false
false
false
false
false
let va_lemma_Gctr_core_opt va_b0 va_s0 alg in_b out_b key round_keys keys_b =
let va_mods:va_mods_t = [ va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 10; va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_flags; va_Mod_mem_heaplet 1; va_Mod_reg64 rR12; va_Mod...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_lemma_Gctr_bytes_no_extra
val va_lemma_Gctr_bytes_no_extra : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> icb_BE:quad32 -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> orig_in_ptr:nat64 -> orig_out_ptr:nat64 -> num_bytes:nat -> Ghost (va_state & va_fuel) (requires (va_requ...
val va_lemma_Gctr_bytes_no_extra : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> icb_BE:quad32 -> in_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> orig_in_ptr:nat64 -> orig_out_ptr:nat64 -> num_bytes:nat -> Ghost (va_state & va_fuel) (requires (va_requ...
let va_lemma_Gctr_bytes_no_extra va_b0 va_s0 alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes = let (va_mods:va_mods_t) = [va_Mod_ok] in let va_qc = va_qcode_Gctr_bytes_no_extra va_mods alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes in let (va_sM...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1412, "start_col": 0, "start_line": 1387 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> icb_BE: Vale.X64.Decls.quad32 -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base....
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Memory.nat64", "Prims.nat", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native....
[]
false
false
false
false
false
let va_lemma_Gctr_bytes_no_extra va_b0 va_s0 alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes =
let va_mods:va_mods_t = [va_Mod_ok] in let va_qc = va_qcode_Gctr_bytes_no_extra va_mods alg icb_BE in_b out_b key round_keys keys_b orig_in_ptr orig_out_ptr num_bytes in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Gctr_bytes_no_extra alg) va_qc va_s0 (fun va_s0 va_sM va_g -> let ...
false
EverParse3d.InputStream.Extern.fst
EverParse3d.InputStream.Extern.live_not_unused_in
val live_not_unused_in (x: t) (h: HS.mem) : Lemma (requires (live x h)) (ensures ((B.loc_not_unused_in h) `B.loc_includes` (footprint x)))
val live_not_unused_in (x: t) (h: HS.mem) : Lemma (requires (live x h)) (ensures ((B.loc_not_unused_in h) `B.loc_includes` (footprint x)))
let live_not_unused_in (x: t) (h: HS.mem) : Lemma (requires (live x h)) (ensures (B.loc_not_unused_in h `B.loc_includes` footprint x)) = Aux.live_not_unused_in x.Aux.base h
{ "file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 37, "end_line": 54, "start_col": 0, "start_line": 48 }
module EverParse3d.InputStream.Extern module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module U8 = FStar.UInt8 module U64 = FStar.UInt64 module LPE = EverParse3d.ErrorCode module Aux = EverParse3d.InputStream.Extern.Type inline_for_extraction noextract...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perv...
[ { "abbrev": true, "full_module": "EverParse3d.InputStream.Extern.Type", "short_module": "Aux" }, { "abbrev": true, "full_module": "EverParse3d.ErrorCode", "short_module": "LPE" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.InputStream.Extern.t -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires EverParse3d.InputStream.Extern.live x h) (ensures LowStar.Monotonic.Buffer.loc_includes (LowStar.Monotonic.Buffer.loc_not_unused_in h) (EverParse3d.InputStream.Extern.footprint x))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "EverParse3d.InputStream.Extern.t", "FStar.Monotonic.HyperStack.mem", "EverParse3d.InputStream.Extern.Base.live_not_unused_in", "EverParse3d.InputStream.Extern.Type.__proj__Mkinput_buffer__item__base", "Prims.unit", "EverParse3d.InputStream.Extern.live", "Prims.squash", "LowStar.Monotonic.Buffer.loc_i...
[]
true
false
true
false
false
let live_not_unused_in (x: t) (h: HS.mem) : Lemma (requires (live x h)) (ensures ((B.loc_not_unused_in h) `B.loc_includes` (footprint x))) =
Aux.live_not_unused_in x.Aux.base h
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wpProof_Gctr_bytes
val va_wpProof_Gctr_bytes : alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> inout_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_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_Gctr_bytes alg i...
val va_wpProof_Gctr_bytes : alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> inout_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_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_Gctr_bytes alg i...
let va_wpProof_Gctr_bytes alg in_b out_b inout_b key round_keys keys_b va_s0 va_k = let (va_sM, va_f0) = va_lemma_Gctr_bytes (va_code_Gctr_bytes alg) va_s0 alg in_b out_b inout_b key round_keys keys_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_mem_heaplet 2 va_sM...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1690, "start_col": 0, "start_line": 1669 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> inout_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> ...
Prims.Ghost
[]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", ...
[]
false
false
false
false
false
let va_wpProof_Gctr_bytes alg in_b out_b inout_b key round_keys keys_b va_s0 va_k =
let va_sM, va_f0 = va_lemma_Gctr_bytes (va_code_Gctr_bytes alg) va_s0 alg in_b out_b inout_b key round_keys keys_b in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_mem_heaplet 2 va_sM (va_update_mem_heaplet 1 va_sM ...
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_lemma_Gctr_core
val va_lemma_Gctr_core : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> block_offset:nat -> old_iv:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Gctr_core alg) va_s0 /\ v...
val va_lemma_Gctr_core : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> in_b:buffer128 -> out_b:buffer128 -> block_offset:nat -> old_iv:quad32 -> key:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Gctr_core alg) va_s0 /\ v...
let va_lemma_Gctr_core va_b0 va_s0 alg in_b out_b block_offset old_iv key round_keys keys_b = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_mem_heaplet 1; va_Mod_xmm 7; va_Mod_xmm 4; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg64 rR12; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_o...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 933, "start_col": 0, "start_line": 903 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> block_offset: Prims.nat -> old_iv: Vale.X64.Decls.quad32 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> ...
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.X64.Decls.quad32", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decl...
[]
false
false
false
false
false
let va_lemma_Gctr_core va_b0 va_s0 alg in_b out_b block_offset old_iv key round_keys keys_b =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_mem_heaplet 1; va_Mod_xmm 7; va_Mod_xmm 4; va_Mod_xmm 2; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg64 rR12; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_ok; va_Mod_mem ] in let va_qc = va_qcode_Gctr_core va_mods alg in_b out_b block_offset old...
false
EverParse3d.InputStream.Extern.fst
EverParse3d.InputStream.Extern.peep_pre'
val peep_pre' (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: Aux.extra_t) (x: t) (position: LPE.pos_t) (h: HS.mem) : Tot prop
val peep_pre' (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: Aux.extra_t) (x: t) (position: LPE.pos_t) (h: HS.mem) : Tot prop
let peep_pre' (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: Aux.extra_t) (x: t) (position: LPE.pos_t) (h: HS.mem) : Tot prop = live x h /\ U64.v position == Seq.length (get_read x h)
{ "file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 49, "end_line": 255, "start_col": 0, "start_line": 247 }
module EverParse3d.InputStream.Extern module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module U8 = FStar.UInt8 module U64 = FStar.UInt64 module LPE = EverParse3d.ErrorCode module Aux = EverParse3d.InputStream.Extern.Type inline_for_extraction noextract...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perv...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LP" }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_module": "EverParse3d.InputStream.Extern.Type", "short_module": "Aux" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.InputStream.Extern.t -> position: EverParse3d.ErrorCode.pos_t -> h: FStar.Monotonic.HyperStack.mem -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "EverParse3d.InputStream.Extern.Base.extra_t", "EverParse3d.InputStream.Extern.t", "EverParse3d.ErrorCode.pos_t", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "EverParse3d.InputStream.Extern.live", "Prims.eq2", "Prims.int", "Prims.l_or", "FStar.UInt.size", "FStar.UInt64.n", "Prims.b2t", ...
[]
false
false
false
true
true
let peep_pre' (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: Aux.extra_t) (x: t) (position: LPE.pos_t) (h: HS.mem) : Tot prop =
live x h /\ U64.v position == Seq.length (get_read x h)
false
Vale.AES.X64.GCTR.fst
Vale.AES.X64.GCTR.va_wp_Gctr_bytes
val va_wp_Gctr_bytes (alg: algorithm) (in_b out_b inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Gctr_bytes (alg: algorithm) (in_b out_b inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Gctr_bytes (alg:algorithm) (in_b:buffer128) (out_b:buffer128) (inout_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (Vale.X64.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 ...
{ "file_name": "obj/Vale.AES.X64.GCTR.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 1652, "start_col": 0, "start_line": 1601 }
module Vale.AES.X64.GCTR open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open FStar.Seq open Vale.AES.AES_s open Vale.AES.X64.AES open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM_helpers open Vale.Poly1305.Math open Vale.Def.Words.Two_s open Vale....
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESCTRplain", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> inout_b: Vale.X64.Memory.buffer128 -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.Decls.validSrcAddrs128", "Vale.X64.Decls.va_get_mem...
[]
false
false
false
true
true
let va_wp_Gctr_bytes (alg: algorithm) (in_b out_b inout_b: buffer128) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (Vale.X64.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 rRax va_s0) in_b (va_get_reg64 rRcx va_s0) (va_get_mem_layout va_s0) Secret /\ Vale.X64.Decls.validDstAddrs128 (va_get_mem_heaplet 1 va_s0) (va_get_reg64 rRbx va_s0) out_b ...
false
EverParse3d.InputStream.Extern.fst
EverParse3d.InputStream.Extern.get_remaining
val get_remaining (x: t) (h: HS.mem) : Ghost (Seq.seq U8.t) (requires (live x h)) (ensures (fun y -> Seq.length y <= U64.v (len_all x)))
val get_remaining (x: t) (h: HS.mem) : Ghost (Seq.seq U8.t) (requires (live x h)) (ensures (fun y -> Seq.length y <= U64.v (len_all x)))
let get_remaining (x: t) (h: HS.mem) : Ghost (Seq.seq U8.t) (requires (live x h)) (ensures (fun y -> Seq.length y <= U64.v (len_all x))) = let r = U64.v (B.deref h x.Aux.position) in Seq.slice (get_all x) r (U64.v (len_all x))
{ "file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 45, "end_line": 65, "start_col": 0, "start_line": 61 }
module EverParse3d.InputStream.Extern module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module U8 = FStar.UInt8 module U64 = FStar.UInt64 module LPE = EverParse3d.ErrorCode module Aux = EverParse3d.InputStream.Extern.Type inline_for_extraction noextract...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perv...
[ { "abbrev": true, "full_module": "EverParse3d.InputStream.Extern.Type", "short_module": "Aux" }, { "abbrev": true, "full_module": "EverParse3d.ErrorCode", "short_module": "LPE" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: EverParse3d.InputStream.Extern.t -> h: FStar.Monotonic.HyperStack.mem -> Prims.Ghost (FStar.Seq.Base.seq FStar.UInt8.t)
Prims.Ghost
[]
[]
[ "EverParse3d.InputStream.Extern.t", "FStar.Monotonic.HyperStack.mem", "FStar.Seq.Base.slice", "FStar.UInt8.t", "EverParse3d.InputStream.Extern.get_all", "FStar.UInt64.v", "EverParse3d.InputStream.Extern.len_all", "FStar.UInt.uint_t", "FStar.Ghost.reveal", "EverParse3d.ErrorCode.pos_t", "LowStar....
[]
false
false
false
false
false
let get_remaining (x: t) (h: HS.mem) : Ghost (Seq.seq U8.t) (requires (live x h)) (ensures (fun y -> Seq.length y <= U64.v (len_all x))) =
let r = U64.v (B.deref h x.Aux.position) in Seq.slice (get_all x) r (U64.v (len_all x))
false