effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_module": "Vale.Def.Words_s",
"short_module": "W"
},
{
"abbrev": true,
"full_module": "FStar... | false | let disjoint_not_eq
(#src1 #src2:base_typ)
(#rel1 #rrel1:MB.srel (base_typ_as_type src1))
(#rel2 #rrel2:MB.srel (base_typ_as_type src2))
(x:MB.mbuffer (base_typ_as_type src1) rel1 rrel1)
(y:MB.mbuffer (base_typ_as_type src2) rel2 rrel2) =
B.loc_disjoint (B.loc_buffer x) (B.loc_buffer y) /\
~ (src1 == ... | let disjoint_not_eq
(#src1 #src2: base_typ)
(#rel1 #rrel1: MB.srel (base_typ_as_type src1))
(#rel2 #rrel2: MB.srel (base_typ_as_type src2))
(x: MB.mbuffer (base_typ_as_type src1) rel1 rrel1)
(y: MB.mbuffer (base_typ_as_type src2) rel2 rrel2)
= | false | null | false | B.loc_disjoint (B.loc_buffer x) (B.loc_buffer y) /\
~(src1 == src2 /\ rel1 == rel2 /\ rrel1 == rrel2 /\ x == y) | {
"checked_file": "Vale.Interop.Base.fst.checked",
"dependencies": [
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.Interop.Types.fst.checked",
"Vale.Interop.Heap_s.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Prop_s.fst.checked",
"Vale.Ar... | [
"total"
] | [
"Vale.Arch.HeapTypes_s.base_typ",
"LowStar.Monotonic.Buffer.srel",
"Vale.Interop.Types.base_typ_as_type",
"LowStar.Monotonic.Buffer.mbuffer",
"Prims.l_and",
"LowStar.Monotonic.Buffer.loc_disjoint",
"LowStar.Monotonic.Buffer.loc_buffer",
"Prims.l_not",
"Prims.eq2",
"FStar.Preorder.relation",
"FSt... | [] | module Vale.Interop.Base
open Vale.Arch.HeapTypes_s
include Vale.Interop.Types
include Vale.Interop.Heap_s
module MB = LowStar.Monotonic.Buffer
module DV = LowStar.BufferView.Down
module B = LowStar.Buffer
module IB = LowStar.ImmutableBuffer
include Vale.Arch.Heap
module BS = Vale.X64.Machine_Semantics_s
module BV = Lo... | false | false | Vale.Interop.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"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... | null | val disjoint_not_eq : x: LowStar.Monotonic.Buffer.mbuffer (Vale.Interop.Types.base_typ_as_type src1) rel1 rrel1 ->
y: LowStar.Monotonic.Buffer.mbuffer (Vale.Interop.Types.base_typ_as_type src2) rel2 rrel2
-> Prims.logical | [] | Vale.Interop.Base.disjoint_not_eq | {
"file_name": "vale/specs/interop/Vale.Interop.Base.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
x: LowStar.Monotonic.Buffer.mbuffer (Vale.Interop.Types.base_typ_as_type src1) rel1 rrel1 ->
y: LowStar.Monotonic.Buffer.mbuffer (Vale.Interop.Types.base_typ_as_type src2) rel2 rrel2
-> Prims.logical | {
"end_col": 64,
"end_line": 216,
"start_col": 4,
"start_line": 215
} | |
FStar.HyperStack.ST.Stack | val salsa20_core:
k:state
-> ctx0:state
-> ctr:size_t ->
Stack unit
(requires fun h -> live h ctx0 /\ live h k /\ disjoint ctx0 k)
(ensures fun h0 _ h1 -> modifies (loc k) h0 h1 /\
as_seq h1 k == Spec.salsa20_core (v ctr) (as_seq h0 ctx0)) | [
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loop"
},
{
"abbrev": true,
"full_module": "Spec.Salsa20",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"ful... | false | let salsa20_core k ctx ctr =
copy_state k ctx;
let ctr_u32 = size_to_uint32 ctr in
k.(8ul) <- k.(8ul) +. ctr_u32;
rounds k;
sum_state k ctx;
k.(8ul) <- k.(8ul) +. ctr_u32 | val salsa20_core:
k:state
-> ctx0:state
-> ctr:size_t ->
Stack unit
(requires fun h -> live h ctx0 /\ live h k /\ disjoint ctx0 k)
(ensures fun h0 _ h1 -> modifies (loc k) h0 h1 /\
as_seq h1 k == Spec.salsa20_core (v ctr) (as_seq h0 ctx0))
let salsa20_core k ctx ctr = | true | null | false | copy_state k ctx;
let ctr_u32 = size_to_uint32 ctr in
k.(8ul) <- k.(8ul) +. ctr_u32;
rounds k;
sum_state k ctx;
k.(8ul) <- k.(8ul) +. ctr_u32 | {
"checked_file": "Hacl.Impl.Salsa20.fst.checked",
"dependencies": [
"Spec.Salsa20.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Sal... | [] | [
"Hacl.Impl.Salsa20.Core32.state",
"Lib.IntTypes.size_t",
"Lib.Buffer.op_Array_Assignment",
"Lib.IntTypes.uint32",
"FStar.UInt32.__uint_to_t",
"Prims.unit",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U32",
"Lib.IntTypes.SEC",
"Lib.IntTypes.op_Plus_Dot",
"Lib.Buffer.op_Array_Access",
"Lib.Buffer.MUT",
... | [] | module Hacl.Impl.Salsa20
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
open Hacl.Impl.Salsa20.Core32
module ST = FStar.HyperStack.ST
module Spec = Spec.Salsa20
module Loop = Lib.LoopCombinators
#set-options "--z3rlimit 100 --max_fuel 0"
val r... | false | false | Hacl.Impl.Salsa20.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"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... | null | val salsa20_core:
k:state
-> ctx0:state
-> ctr:size_t ->
Stack unit
(requires fun h -> live h ctx0 /\ live h k /\ disjoint ctx0 k)
(ensures fun h0 _ h1 -> modifies (loc k) h0 h1 /\
as_seq h1 k == Spec.salsa20_core (v ctr) (as_seq h0 ctx0)) | [] | Hacl.Impl.Salsa20.salsa20_core | {
"file_name": "code/salsa20/Hacl.Impl.Salsa20.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
k: Hacl.Impl.Salsa20.Core32.state ->
ctx0: Hacl.Impl.Salsa20.Core32.state ->
ctr: Lib.IntTypes.size_t
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 31,
"end_line": 67,
"start_col": 2,
"start_line": 62
} |
FStar.HyperStack.ST.Stack | val rounds: st:state ->
Stack unit
(requires fun h -> live h st)
(ensures fun h0 _ h1 -> modifies (loc st) h0 h1 /\
as_seq h1 st == Spec.rounds (as_seq h0 st)) | [
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loop"
},
{
"abbrev": true,
"full_module": "Spec.Salsa20",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"ful... | false | let rounds st =
let h0 = ST.get () in
Loop.eq_repeat0 #Spec.state Spec.double_round (as_seq h0 st);
Loop.unfold_repeat 10 Spec.double_round (as_seq h0 st) 0;
Loop.unfold_repeat 10 Spec.double_round (as_seq h0 st) 1;
Loop.unfold_repeat 10 Spec.double_round (as_seq h0 st) 2;
Loop.unfold_repeat 10 Spec.double_... | val rounds: st:state ->
Stack unit
(requires fun h -> live h st)
(ensures fun h0 _ h1 -> modifies (loc st) h0 h1 /\
as_seq h1 st == Spec.rounds (as_seq h0 st))
let rounds st = | true | null | false | let h0 = ST.get () in
Loop.eq_repeat0 #Spec.state Spec.double_round (as_seq h0 st);
Loop.unfold_repeat 10 Spec.double_round (as_seq h0 st) 0;
Loop.unfold_repeat 10 Spec.double_round (as_seq h0 st) 1;
Loop.unfold_repeat 10 Spec.double_round (as_seq h0 st) 2;
Loop.unfold_repeat 10 Spec.double_round (as_seq h0 st) 3;
Loop... | {
"checked_file": "Hacl.Impl.Salsa20.fst.checked",
"dependencies": [
"Spec.Salsa20.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Sal... | [] | [
"Hacl.Impl.Salsa20.Core32.state",
"Hacl.Impl.Salsa20.Core32.double_round",
"Prims.unit",
"Lib.LoopCombinators.unfold_repeat",
"Spec.Salsa20.state",
"Spec.Salsa20.double_round",
"Lib.Buffer.as_seq",
"Lib.Buffer.MUT",
"Lib.IntTypes.uint32",
"FStar.UInt32.__uint_to_t",
"Lib.LoopCombinators.eq_repea... | [] | module Hacl.Impl.Salsa20
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
open Hacl.Impl.Salsa20.Core32
module ST = FStar.HyperStack.ST
module Spec = Spec.Salsa20
module Loop = Lib.LoopCombinators
#set-options "--z3rlimit 100 --max_fuel 0"
val r... | false | false | Hacl.Impl.Salsa20.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"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... | null | val rounds: st:state ->
Stack unit
(requires fun h -> live h st)
(ensures fun h0 _ h1 -> modifies (loc st) h0 h1 /\
as_seq h1 st == Spec.rounds (as_seq h0 st)) | [] | Hacl.Impl.Salsa20.rounds | {
"file_name": "code/salsa20/Hacl.Impl.Salsa20.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | st: Hacl.Impl.Salsa20.Core32.state -> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 17,
"end_line": 49,
"start_col": 15,
"start_line": 27
} |
FStar.HyperStack.ST.Stack | val salsa20_update:
ctx:state
-> len:size_t
-> out:lbuffer uint8 len
-> text:lbuffer uint8 len ->
Stack unit
(requires fun h ->
live h ctx /\ live h text /\ live h out /\
eq_or_disjoint text out /\ disjoint text ctx /\ disjoint out ctx)
(ensures fun h0 _ h1 -> modifies (loc ctx |+| loc out) h0 ... | [
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loop"
},
{
"abbrev": true,
"full_module": "Spec.Salsa20",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"ful... | false | let salsa20_update ctx len out text =
push_frame();
let k = create_state () in
let blocks = len /. size 64 in
let rem = len %. size 64 in
let h0 = ST.get() in
map_blocks h0 len 64ul text out
(fun h -> Spec.salsa20_encrypt_block (as_seq h0 ctx))
(fun h -> Spec.salsa20_encrypt_last (as_seq h0 ctx))
... | val salsa20_update:
ctx:state
-> len:size_t
-> out:lbuffer uint8 len
-> text:lbuffer uint8 len ->
Stack unit
(requires fun h ->
live h ctx /\ live h text /\ live h out /\
eq_or_disjoint text out /\ disjoint text ctx /\ disjoint out ctx)
(ensures fun h0 _ h1 -> modifies (loc ctx |+| loc out) h0 ... | true | null | false | push_frame ();
let k = create_state () in
let blocks = len /. size 64 in
let rem = len %. size 64 in
let h0 = ST.get () in
map_blocks h0
len
64ul
text
out
(fun h -> Spec.salsa20_encrypt_block (as_seq h0 ctx))
(fun h -> Spec.salsa20_encrypt_last (as_seq h0 ctx))
(fun i -> salsa20_encrypt_block ctx (sub out... | {
"checked_file": "Hacl.Impl.Salsa20.fst.checked",
"dependencies": [
"Spec.Salsa20.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Sal... | [] | [
"Hacl.Impl.Salsa20.Core32.state",
"Lib.IntTypes.size_t",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Lib.Buffer.map_blocks",
"Lib.Buffer.MUT",
"FStar.UInt32.__uint_to_t",
"FStar.Monotonic.HyperStack.mem",
"Spec.Salsa20.salsa20_encrypt_block",
"Li... | [] | module Hacl.Impl.Salsa20
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
open Hacl.Impl.Salsa20.Core32
module ST = FStar.HyperStack.ST
module Spec = Spec.Salsa20
module Loop = Lib.LoopCombinators
#set-options "--z3rlimit 100 --max_fuel 0"
val r... | false | false | Hacl.Impl.Salsa20.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"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... | null | val salsa20_update:
ctx:state
-> len:size_t
-> out:lbuffer uint8 len
-> text:lbuffer uint8 len ->
Stack unit
(requires fun h ->
live h ctx /\ live h text /\ live h out /\
eq_or_disjoint text out /\ disjoint text ctx /\ disjoint out ctx)
(ensures fun h0 _ h1 -> modifies (loc ctx |+| loc out) h0 ... | [] | Hacl.Impl.Salsa20.salsa20_update | {
"file_name": "code/salsa20/Hacl.Impl.Salsa20.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
ctx: Hacl.Impl.Salsa20.Core32.state ->
len: Lib.IntTypes.size_t ->
out: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len ->
text: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 180,
"start_col": 2,
"start_line": 170
} |
FStar.HyperStack.ST.Stack | val salsa20_encrypt_block:
ctx:state
-> out:lbuffer uint8 64ul
-> incr:size_t
-> text:lbuffer uint8 64ul ->
Stack unit
(requires fun h ->
live h ctx /\ live h text /\ live h out /\
disjoint out ctx /\ disjoint text ctx)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
as_seq h1 out == Sp... | [
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loop"
},
{
"abbrev": true,
"full_module": "Spec.Salsa20",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"ful... | false | let salsa20_encrypt_block ctx out incr text =
push_frame();
let k = create 16ul (u32 0) in
salsa20_core k ctx incr;
xor_block out k text;
pop_frame() | val salsa20_encrypt_block:
ctx:state
-> out:lbuffer uint8 64ul
-> incr:size_t
-> text:lbuffer uint8 64ul ->
Stack unit
(requires fun h ->
live h ctx /\ live h text /\ live h out /\
disjoint out ctx /\ disjoint text ctx)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
as_seq h1 out == Sp... | true | null | false | push_frame ();
let k = create 16ul (u32 0) in
salsa20_core k ctx incr;
xor_block out k text;
pop_frame () | {
"checked_file": "Hacl.Impl.Salsa20.fst.checked",
"dependencies": [
"Spec.Salsa20.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Sal... | [] | [
"Hacl.Impl.Salsa20.Core32.state",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.size_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Impl.Salsa20.Core32.xor_block",
"Hacl.Impl.Salsa20.salsa20_core",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Lib... | [] | module Hacl.Impl.Salsa20
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
open Hacl.Impl.Salsa20.Core32
module ST = FStar.HyperStack.ST
module Spec = Spec.Salsa20
module Loop = Lib.LoopCombinators
#set-options "--z3rlimit 100 --max_fuel 0"
val r... | false | false | Hacl.Impl.Salsa20.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"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... | null | val salsa20_encrypt_block:
ctx:state
-> out:lbuffer uint8 64ul
-> incr:size_t
-> text:lbuffer uint8 64ul ->
Stack unit
(requires fun h ->
live h ctx /\ live h text /\ live h out /\
disjoint out ctx /\ disjoint text ctx)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
as_seq h1 out == Sp... | [] | Hacl.Impl.Salsa20.salsa20_encrypt_block | {
"file_name": "code/salsa20/Hacl.Impl.Salsa20.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
ctx: Hacl.Impl.Salsa20.Core32.state ->
out: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul ->
incr: Lib.IntTypes.size_t ->
text: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 130,
"start_col": 2,
"start_line": 126
} |
FStar.HyperStack.ST.Stack | val salsa20_encrypt:
len:size_t
-> out:lbuffer uint8 len
-> text:lbuffer uint8 len
-> key:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul
-> ctr:size_t ->
Stack unit
(requires fun h ->
live h key /\ live h n /\ live h text /\ live h out /\ eq_or_disjoint text out)
(ensures fun h0 _ h1 -> modifies (lo... | [
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loop"
},
{
"abbrev": true,
"full_module": "Spec.Salsa20",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"ful... | false | let salsa20_encrypt len out text key n ctr =
push_frame();
let ctx = create_state () in
salsa20_init ctx key n ctr;
salsa20_update ctx len out text;
pop_frame() | val salsa20_encrypt:
len:size_t
-> out:lbuffer uint8 len
-> text:lbuffer uint8 len
-> key:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul
-> ctr:size_t ->
Stack unit
(requires fun h ->
live h key /\ live h n /\ live h text /\ live h out /\ eq_or_disjoint text out)
(ensures fun h0 _ h1 -> modifies (lo... | true | null | false | push_frame ();
let ctx = create_state () in
salsa20_init ctx key n ctr;
salsa20_update ctx len out text;
pop_frame () | {
"checked_file": "Hacl.Impl.Salsa20.fst.checked",
"dependencies": [
"Spec.Salsa20.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Sal... | [] | [
"Lib.IntTypes.size_t",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Impl.Salsa20.salsa20_update",
"Hacl.Impl.Salsa20.salsa20_init",
"Hacl.Impl.Salsa20.Core32.state",
"Hacl.Impl.Salsa20.Core32.create_state",
"FStar.Hy... | [] | module Hacl.Impl.Salsa20
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
open Hacl.Impl.Salsa20.Core32
module ST = FStar.HyperStack.ST
module Spec = Spec.Salsa20
module Loop = Lib.LoopCombinators
#set-options "--z3rlimit 100 --max_fuel 0"
val r... | false | false | Hacl.Impl.Salsa20.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"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... | null | val salsa20_encrypt:
len:size_t
-> out:lbuffer uint8 len
-> text:lbuffer uint8 len
-> key:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul
-> ctr:size_t ->
Stack unit
(requires fun h ->
live h key /\ live h n /\ live h text /\ live h out /\ eq_or_disjoint text out)
(ensures fun h0 _ h1 -> modifies (lo... | [] | Hacl.Impl.Salsa20.salsa20_encrypt | {
"file_name": "code/salsa20/Hacl.Impl.Salsa20.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
len: Lib.IntTypes.size_t ->
out: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len ->
text: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len ->
key: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 8ul ->
ctr: Lib.IntTypes.size_t
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 222,
"start_col": 2,
"start_line": 218
} |
FStar.HyperStack.ST.Stack | val salsa20_decrypt:
len:size_t
-> out:lbuffer uint8 len
-> cipher:lbuffer uint8 len
-> key:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul
-> ctr:size_t ->
Stack unit
(requires fun h ->
live h key /\ live h n /\ live h cipher /\ live h out /\ eq_or_disjoint cipher out)
(ensures fun h0 _ h1 -> modifi... | [
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loop"
},
{
"abbrev": true,
"full_module": "Spec.Salsa20",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"ful... | false | let salsa20_decrypt len out cipher key n ctr =
push_frame();
let ctx = create_state () in
salsa20_init ctx key n ctr;
salsa20_update ctx len out cipher;
pop_frame() | val salsa20_decrypt:
len:size_t
-> out:lbuffer uint8 len
-> cipher:lbuffer uint8 len
-> key:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul
-> ctr:size_t ->
Stack unit
(requires fun h ->
live h key /\ live h n /\ live h cipher /\ live h out /\ eq_or_disjoint cipher out)
(ensures fun h0 _ h1 -> modifi... | true | null | false | push_frame ();
let ctx = create_state () in
salsa20_init ctx key n ctr;
salsa20_update ctx len out cipher;
pop_frame () | {
"checked_file": "Hacl.Impl.Salsa20.fst.checked",
"dependencies": [
"Spec.Salsa20.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Sal... | [] | [
"Lib.IntTypes.size_t",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Impl.Salsa20.salsa20_update",
"Hacl.Impl.Salsa20.salsa20_init",
"Hacl.Impl.Salsa20.Core32.state",
"Hacl.Impl.Salsa20.Core32.create_state",
"FStar.Hy... | [] | module Hacl.Impl.Salsa20
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
open Hacl.Impl.Salsa20.Core32
module ST = FStar.HyperStack.ST
module Spec = Spec.Salsa20
module Loop = Lib.LoopCombinators
#set-options "--z3rlimit 100 --max_fuel 0"
val r... | false | false | Hacl.Impl.Salsa20.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"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... | null | val salsa20_decrypt:
len:size_t
-> out:lbuffer uint8 len
-> cipher:lbuffer uint8 len
-> key:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul
-> ctr:size_t ->
Stack unit
(requires fun h ->
live h key /\ live h n /\ live h cipher /\ live h out /\ eq_or_disjoint cipher out)
(ensures fun h0 _ h1 -> modifi... | [] | Hacl.Impl.Salsa20.salsa20_decrypt | {
"file_name": "code/salsa20/Hacl.Impl.Salsa20.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
len: Lib.IntTypes.size_t ->
out: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len ->
cipher: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len ->
key: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 8ul ->
ctr: Lib.IntTypes.size_t
-> FStar.HyperStack.ST.Stack Prims.uni... | {
"end_col": 13,
"end_line": 244,
"start_col": 2,
"start_line": 240
} |
FStar.HyperStack.ST.Stack | val salsa20_encrypt_last:
ctx:state
-> len:size_t{v len < 64}
-> out:lbuffer uint8 len
-> incr:size_t
-> text:lbuffer uint8 len ->
Stack unit
(requires fun h ->
live h ctx /\ live h text /\ live h out /\
disjoint out ctx /\ disjoint text ctx)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /... | [
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loop"
},
{
"abbrev": true,
"full_module": "Spec.Salsa20",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"ful... | false | let salsa20_encrypt_last ctx len out incr text =
push_frame();
let plain = create (size 64) (u8 0) in
update_sub plain 0ul len text;
salsa20_encrypt_block ctx plain incr plain;
copy out (sub plain 0ul len);
pop_frame() | val salsa20_encrypt_last:
ctx:state
-> len:size_t{v len < 64}
-> out:lbuffer uint8 len
-> incr:size_t
-> text:lbuffer uint8 len ->
Stack unit
(requires fun h ->
live h ctx /\ live h text /\ live h out /\
disjoint out ctx /\ disjoint text ctx)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /... | true | null | false | push_frame ();
let plain = create (size 64) (u8 0) in
update_sub plain 0ul len text;
salsa20_encrypt_block ctx plain incr plain;
copy out (sub plain 0ul len);
pop_frame () | {
"checked_file": "Hacl.Impl.Salsa20.fst.checked",
"dependencies": [
"Spec.Salsa20.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Sal... | [] | [
"Hacl.Impl.Salsa20.Core32.state",
"Lib.IntTypes.size_t",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Lib.Buffer.copy",
"Lib.Buffer.MUT",
"Lib.Buffer.l... | [] | module Hacl.Impl.Salsa20
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
open Hacl.Impl.Salsa20.Core32
module ST = FStar.HyperStack.ST
module Spec = Spec.Salsa20
module Loop = Lib.LoopCombinators
#set-options "--z3rlimit 100 --max_fuel 0"
val r... | false | false | Hacl.Impl.Salsa20.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"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... | null | val salsa20_encrypt_last:
ctx:state
-> len:size_t{v len < 64}
-> out:lbuffer uint8 len
-> incr:size_t
-> text:lbuffer uint8 len ->
Stack unit
(requires fun h ->
live h ctx /\ live h text /\ live h out /\
disjoint out ctx /\ disjoint text ctx)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /... | [] | Hacl.Impl.Salsa20.salsa20_encrypt_last | {
"file_name": "code/salsa20/Hacl.Impl.Salsa20.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
ctx: Hacl.Impl.Salsa20.Core32.state ->
len: Lib.IntTypes.size_t{Lib.IntTypes.v len < 64} ->
out: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len ->
incr: Lib.IntTypes.size_t ->
text: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 153,
"start_col": 2,
"start_line": 148
} |
FStar.HyperStack.ST.Stack | val salsa20_init:
ctx:state
-> k:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul
-> ctr0:size_t ->
Stack unit
(requires fun h ->
live h ctx /\ live h k /\ live h n /\
disjoint ctx k /\ disjoint ctx n /\
as_seq h ctx == Lib.Sequence.create 16 (u32 0))
(ensures fun h0 _ h1 -> modifies (loc ctx) h0 ... | [
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loop"
},
{
"abbrev": true,
"full_module": "Spec.Salsa20",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"ful... | false | let salsa20_init ctx k n ctr =
let h0 = ST.get() in
push_frame();
let k32 = create 8ul (u32 0) in
let n32 = create 2ul (u32 0) in
let h0' = ST.get() in
uints_from_bytes_le k32 k;
uints_from_bytes_le n32 n;
ctx.(0ul) <- Spec.constant0;
let k0 = sub k32 0ul 4ul in
let k1 = sub k32 4ul 4ul in
update_... | val salsa20_init:
ctx:state
-> k:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul
-> ctr0:size_t ->
Stack unit
(requires fun h ->
live h ctx /\ live h k /\ live h n /\
disjoint ctx k /\ disjoint ctx n /\
as_seq h ctx == Lib.Sequence.create 16 (u32 0))
(ensures fun h0 _ h1 -> modifies (loc ctx) h0 ... | true | null | false | let h0 = ST.get () in
push_frame ();
let k32 = create 8ul (u32 0) in
let n32 = create 2ul (u32 0) in
let h0' = ST.get () in
uints_from_bytes_le k32 k;
uints_from_bytes_le n32 n;
ctx.(0ul) <- Spec.constant0;
let k0 = sub k32 0ul 4ul in
let k1 = sub k32 4ul 4ul in
update_sub #MUT ctx 1ul 4ul k0;
ctx.(5ul) <- Spec.constan... | {
"checked_file": "Hacl.Impl.Salsa20.fst.checked",
"dependencies": [
"Spec.Salsa20.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Sal... | [] | [
"Hacl.Impl.Salsa20.Core32.state",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"Lib.IntTypes.size_t",
"Prims._assert",
"Lib.Buffer.modifies",
"Lib.Buffer.loc",
"Lib.Buffer.MUT",
"Lib.IntTypes.uint32",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"FStar.HyperStac... | [] | module Hacl.Impl.Salsa20
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
open Hacl.Impl.Salsa20.Core32
module ST = FStar.HyperStack.ST
module Spec = Spec.Salsa20
module Loop = Lib.LoopCombinators
#set-options "--z3rlimit 100 --max_fuel 0"
val r... | false | false | Hacl.Impl.Salsa20.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"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... | null | val salsa20_init:
ctx:state
-> k:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul
-> ctr0:size_t ->
Stack unit
(requires fun h ->
live h ctx /\ live h k /\ live h n /\
disjoint ctx k /\ disjoint ctx n /\
as_seq h ctx == Lib.Sequence.create 16 (u32 0))
(ensures fun h0 _ h1 -> modifies (loc ctx) h0 ... | [] | Hacl.Impl.Salsa20.salsa20_init | {
"file_name": "code/salsa20/Hacl.Impl.Salsa20.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
ctx: Hacl.Impl.Salsa20.Core32.state ->
k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 8ul ->
ctr0: Lib.IntTypes.size_t
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 35,
"end_line": 109,
"start_col": 30,
"start_line": 86
} |
FStar.HyperStack.ST.Stack | val salsa20_key_block0:
out:lbuffer uint8 64ul
-> key:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul ->
Stack unit
(requires fun h -> live h key /\ live h n /\ live h out)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
as_seq h1 out == Spec.salsa20_key_block0 (as_seq h0 key) (as_seq h0 n)) | [
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loop"
},
{
"abbrev": true,
"full_module": "Spec.Salsa20",
"short_module": "Spec"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"ful... | false | let salsa20_key_block0 out key n =
push_frame();
let ctx = create_state () in
let k = create_state() in
salsa20_init ctx key n 0ul;
salsa20_core k ctx 0ul;
store_state out k;
pop_frame() | val salsa20_key_block0:
out:lbuffer uint8 64ul
-> key:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul ->
Stack unit
(requires fun h -> live h key /\ live h n /\ live h out)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
as_seq h1 out == Spec.salsa20_key_block0 (as_seq h0 key) (as_seq h0 n))
let salsa2... | true | null | false | push_frame ();
let ctx = create_state () in
let k = create_state () in
salsa20_init ctx key n 0ul;
salsa20_core k ctx 0ul;
store_state out k;
pop_frame () | {
"checked_file": "Hacl.Impl.Salsa20.fst.checked",
"dependencies": [
"Spec.Salsa20.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteBuffer.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Sal... | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Impl.Salsa20.Core32.store_state",
"Hacl.Impl.Salsa20.salsa20_core",
"Hacl.Impl.Salsa20.salsa20_init",
"Hacl.Impl.Salsa20.Core32.state",
"Hacl.Impl.Salsa20.Core32.create_stat... | [] | module Hacl.Impl.Salsa20
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.ByteBuffer
open Hacl.Impl.Salsa20.Core32
module ST = FStar.HyperStack.ST
module Spec = Spec.Salsa20
module Loop = Lib.LoopCombinators
#set-options "--z3rlimit 100 --max_fuel 0"
val r... | false | false | Hacl.Impl.Salsa20.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"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... | null | val salsa20_key_block0:
out:lbuffer uint8 64ul
-> key:lbuffer uint8 32ul
-> n:lbuffer uint8 8ul ->
Stack unit
(requires fun h -> live h key /\ live h n /\ live h out)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
as_seq h1 out == Spec.salsa20_key_block0 (as_seq h0 key) (as_seq h0 n)) | [] | Hacl.Impl.Salsa20.salsa20_key_block0 | {
"file_name": "code/salsa20/Hacl.Impl.Salsa20.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
out: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul ->
key: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 8ul
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 200,
"start_col": 2,
"start_line": 194
} |
Prims.Tot | val subset (#a: Type) (s1 s2: set a) : Type0 | [
{
"abbrev": true,
"full_module": "FStar.FunctionalExtensionality",
"short_module": "F"
},
{
"abbrev": true,
"full_module": "FStar.PropositionalExtensionality",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": fa... | false | let subset (#a:Type) (s1:set a) (s2:set a) : Type0 = forall x. mem x s1 ==> mem x s2 | val subset (#a: Type) (s1 s2: set a) : Type0
let subset (#a: Type) (s1 s2: set a) : Type0 = | false | null | false | forall x. mem x s1 ==> mem x s2 | {
"checked_file": "FStar.TSet.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Set.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.TSet.fsti"
} | [
"total"
] | [
"FStar.TSet.set",
"Prims.l_Forall",
"Prims.l_imp",
"FStar.TSet.mem"
] | [] | (*
Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi,
Microsoft Research, University of Maryland
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.a... | false | false | FStar.TSet.fsti | {
"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... | null | val subset (#a: Type) (s1 s2: set a) : Type0 | [] | FStar.TSet.subset | {
"file_name": "ulib/FStar.TSet.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | s1: FStar.TSet.set a -> s2: FStar.TSet.set a -> Type0 | {
"end_col": 84,
"end_line": 42,
"start_col": 53,
"start_line": 42
} |
Prims.Tot | val as_set' (#a: Type) (l: list a) : Tot (set a) | [
{
"abbrev": true,
"full_module": "FStar.FunctionalExtensionality",
"short_module": "F"
},
{
"abbrev": true,
"full_module": "FStar.PropositionalExtensionality",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": fa... | false | let rec as_set' (#a:Type) (l:list a) : Tot (set a) =
match l with
| [] -> empty
| hd::tl -> union (singleton hd) (as_set' tl) | val as_set' (#a: Type) (l: list a) : Tot (set a)
let rec as_set' (#a: Type) (l: list a) : Tot (set a) = | false | null | false | match l with
| [] -> empty
| hd :: tl -> union (singleton hd) (as_set' tl) | {
"checked_file": "FStar.TSet.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Set.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.TSet.fsti"
} | [
"total"
] | [
"Prims.list",
"FStar.TSet.empty",
"FStar.TSet.union",
"FStar.TSet.singleton",
"FStar.TSet.as_set'",
"FStar.TSet.set"
] | [] | (*
Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi,
Microsoft Research, University of Maryland
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.a... | false | false | FStar.TSet.fsti | {
"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... | null | val as_set' (#a: Type) (l: list a) : Tot (set a) | [
"recursion"
] | FStar.TSet.as_set' | {
"file_name": "ulib/FStar.TSet.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | l: Prims.list a -> FStar.TSet.set a | {
"end_col": 47,
"end_line": 121,
"start_col": 2,
"start_line": 119
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let uint32 = Lib.IntTypes.uint32 | let uint32 = | false | null | false | Lib.IntTypes.uint32 | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Lib.IntTypes.uint32"
] | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | true | Hacl.Streaming.Functor.fsti | {
"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... | null | val uint32 : Type0 | [] | Hacl.Streaming.Functor.uint32 | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 32,
"end_line": 32,
"start_col": 13,
"start_line": 32
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let state #index (c: block index) (i: index)
(t: Type0 { t == c.state.s i })
(t': Type0 { t' == optional_key i c.km c.key })
=
B.pointer (state_s c i t t') | let state
#index
(c: block index)
(i: index)
(t: Type0{t == c.state.s i})
(t': Type0{t' == optional_key i c.km c.key})
= | false | null | false | B.pointer (state_s c i t t') | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Prims.eq2",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.Streaming.Interface.__proj__Block__item__key",
... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val state : c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | [] | Hacl.Streaming.Functor.state | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | {
"end_col": 30,
"end_line": 58,
"start_col": 2,
"start_line": 58
} | |
Prims.Tot | val preserves_freeable (#index: Type0) (c: block index) (i: index) (s: state' c i) (h0 h1: HS.mem)
: Type0 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let preserves_freeable (#index : Type0) (c: block index) (i: index) (s: state' c i) (h0 h1 : HS.mem): Type0 =
freeable c i h0 s ==> freeable c i h1 s | val preserves_freeable (#index: Type0) (c: block index) (i: index) (s: state' c i) (h0 h1: HS.mem)
: Type0
let preserves_freeable (#index: Type0) (c: block index) (i: index) (s: state' c i) (h0 h1: HS.mem)
: Type0 = | false | null | false | freeable c i h0 s ==> freeable c i h1 s | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Functor.state'",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_imp",
"Hacl.Streaming.Functor.freeable"
] | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val preserves_freeable (#index: Type0) (c: block index) (i: index) (s: state' c i) (h0 h1: HS.mem)
: Type0 | [] | Hacl.Streaming.Functor.preserves_freeable | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
s: Hacl.Streaming.Functor.state' c i ->
h0: FStar.Monotonic.HyperStack.mem ->
h1: FStar.Monotonic.HyperStack.mem
-> Type0 | {
"end_col": 41,
"end_line": 96,
"start_col": 2,
"start_line": 96
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let bytes = S.seq uint8 | let bytes = | false | null | false | S.seq uint8 | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"FStar.Seq.Base.seq",
"Hacl.Streaming.Functor.uint8"
] | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | true | Hacl.Streaming.Functor.fsti | {
"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... | null | val bytes : Type0 | [] | Hacl.Streaming.Functor.bytes | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 23,
"end_line": 72,
"start_col": 12,
"start_line": 72
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let state_s' c i = state_s c i (c.state.s i) (optional_key i c.km c.key) | let state_s' c i = | false | null | false | state_s c i (c.state.s i) (optional_key i c.km c.key) | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Functor.state_s",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.Streaming.Interface.__proj__... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val state_s' : c: Hacl.Streaming.Interface.block _ -> i: _ -> Type0 | [] | Hacl.Streaming.Functor.state_s' | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | c: Hacl.Streaming.Interface.block _ -> i: _ -> Type0 | {
"end_col": 72,
"end_line": 47,
"start_col": 19,
"start_line": 47
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let uint8 = Lib.IntTypes.uint8 | let uint8 = | false | null | false | Lib.IntTypes.uint8 | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Lib.IntTypes.uint8"
] | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | true | Hacl.Streaming.Functor.fsti | {
"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... | null | val uint8 : Type0 | [] | Hacl.Streaming.Functor.uint8 | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 30,
"end_line": 29,
"start_col": 12,
"start_line": 29
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let state' c i = state c i (c.state.s i) (optional_key i c.km c.key) | let state' c i = | false | null | false | state c i (c.state.s i) (optional_key i c.km c.key) | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Functor.state",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.Streaming.Interface.__proj__Bl... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val state' : c: Hacl.Streaming.Interface.block _ -> i: _ -> Type0 | [] | Hacl.Streaming.Functor.state' | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | c: Hacl.Streaming.Interface.block _ -> i: _ -> Type0 | {
"end_col": 68,
"end_line": 61,
"start_col": 17,
"start_line": 61
} | |
Prims.GTot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let footprint (#index: Type0) (c: block index) (i: index) (m: HS.mem) (s: state' c i) =
B.(loc_union (loc_addr_of_buffer s) (footprint_s c i m (B.deref m s))) | let footprint (#index: Type0) (c: block index) (i: index) (m: HS.mem) (s: state' c i) = | false | null | false | let open B in loc_union (loc_addr_of_buffer s) (footprint_s c i m (B.deref m s)) | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"sometrivial"
] | [
"Hacl.Streaming.Interface.block",
"FStar.Monotonic.HyperStack.mem",
"Hacl.Streaming.Functor.state'",
"LowStar.Monotonic.Buffer.loc_union",
"LowStar.Monotonic.Buffer.loc_addr_of_buffer",
"Hacl.Streaming.Functor.state_s",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val footprint : c: Hacl.Streaming.Interface.block index ->
i: index ->
m: FStar.Monotonic.HyperStack.mem ->
s: Hacl.Streaming.Functor.state' c i
-> Prims.GTot LowStar.Monotonic.Buffer.loc | [] | Hacl.Streaming.Functor.footprint | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
m: FStar.Monotonic.HyperStack.mem ->
s: Hacl.Streaming.Functor.state' c i
-> Prims.GTot LowStar.Monotonic.Buffer.loc | {
"end_col": 72,
"end_line": 66,
"start_col": 2,
"start_line": 66
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let update_post
#index
(c: block index)
(i: index)
(s: state' c i)
(data: B.buffer uint8)
(len: UInt32.t)
(h0 h1: HS.mem)
=
invariant c i h1 s /\
B.(modifies (footprint c i h0 s) h0 h1) /\
footprint c i h0 s == footprint c i h1 s /\
seen c i h1 s == seen c i h0 s `S.append` B.as_seq h0 data /\
k... | let update_post
#index
(c: block index)
(i: index)
(s: state' c i)
(data: B.buffer uint8)
(len: UInt32.t)
(h0: HS.mem)
(h1: HS.mem)
= | false | null | false | invariant c i h1 s /\ B.(modifies (footprint c i h0 s) h0 h1) /\
footprint c i h0 s == footprint c i h1 s /\
seen c i h1 s == (seen c i h0 s) `S.append` (B.as_seq h0 data) /\ key c i h1 s == key c i h0 s /\
preserves_freeable c i s h0 h1 | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Functor.state'",
"LowStar.Buffer.buffer",
"Hacl.Streaming.Functor.uint8",
"FStar.UInt32.t",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Hacl.Streaming.Functor.invariant",
"LowStar.Monotonic.Buffer.modifies",
"Hacl.Streaming.Functor.footprint"... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val update_post : c: Hacl.Streaming.Interface.block index ->
i: index ->
s: Hacl.Streaming.Functor.state' c i ->
data: LowStar.Buffer.buffer Hacl.Streaming.Functor.uint8 ->
len: FStar.UInt32.t ->
h0: FStar.Monotonic.HyperStack.mem ->
h1: FStar.Monotonic.HyperStack.mem
-> Prims.logical | [] | Hacl.Streaming.Functor.update_post | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
s: Hacl.Streaming.Functor.state' c i ->
data: LowStar.Buffer.buffer Hacl.Streaming.Functor.uint8 ->
len: FStar.UInt32.t ->
h0: FStar.Monotonic.HyperStack.mem ->
h1: FStar.Monotonic.HyperStack.mem
-> Prims.logical | {
"end_col": 32,
"end_line": 410,
"start_col": 2,
"start_line": 405
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let update_pre
#index
(c: block index)
(i: index)
(s: state' c i)
(data: B.buffer uint8)
(len: UInt32.t)
(h0: HS.mem)
=
invariant c i h0 s /\
B.live h0 data /\
U32.v len = B.length data /\
B.(loc_disjoint (loc_buffer data) (footprint c i h0 s)) | let update_pre
#index
(c: block index)
(i: index)
(s: state' c i)
(data: B.buffer uint8)
(len: UInt32.t)
(h0: HS.mem)
= | false | null | false | invariant c i h0 s /\ B.live h0 data /\ U32.v len = B.length data /\
B.(loc_disjoint (loc_buffer data) (footprint c i h0 s)) | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Hacl.Streaming.Functor.state'",
"LowStar.Buffer.buffer",
"Hacl.Streaming.Functor.uint8",
"FStar.UInt32.t",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Hacl.Streaming.Functor.invariant",
"LowStar.Monotonic.Buffer.live",
"LowStar.Buffer.trivial_preorder",
"... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val update_pre : c: Hacl.Streaming.Interface.block index ->
i: index ->
s: Hacl.Streaming.Functor.state' c i ->
data: LowStar.Buffer.buffer Hacl.Streaming.Functor.uint8 ->
len: FStar.UInt32.t ->
h0: FStar.Monotonic.HyperStack.mem
-> Prims.logical | [] | Hacl.Streaming.Functor.update_pre | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
s: Hacl.Streaming.Functor.state' c i ->
data: LowStar.Buffer.buffer Hacl.Streaming.Functor.uint8 ->
len: FStar.UInt32.t ->
h0: FStar.Monotonic.HyperStack.mem
-> Prims.logical | {
"end_col": 57,
"end_line": 393,
"start_col": 2,
"start_line": 390
} | |
FStar.Pervasives.Lemma | val loc_includes_union_l_footprint_s
(#index: _)
(c: block index)
(i: index)
(m: HS.mem)
(l1 l2: B.loc)
(s: state_s' c i)
: Lemma
(requires (B.loc_includes l1 (footprint_s c i m s) \/ B.loc_includes l2 (footprint_s c i m s))
)
(ensures (B.loc_includes (B.loc_uni... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let loc_includes_union_l_footprint_s
#index
(c: block index)
(i: index)
(m: HS.mem)
(l1 l2: B.loc) (s: state_s' c i)
: Lemma
(requires (
B.loc_includes l1 (footprint_s c i m s) \/ B.loc_includes l2 (footprint_s c i m s)
))
(ensures (B.loc_includes (B.loc_union l1 l2) (footprint_s c i m s)))
[SMTPa... | val loc_includes_union_l_footprint_s
(#index: _)
(c: block index)
(i: index)
(m: HS.mem)
(l1 l2: B.loc)
(s: state_s' c i)
: Lemma
(requires (B.loc_includes l1 (footprint_s c i m s) \/ B.loc_includes l2 (footprint_s c i m s))
)
(ensures (B.loc_includes (B.loc_uni... | false | null | true | B.loc_includes_union_l l1 l2 (footprint_s c i m s) | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"lemma"
] | [
"Hacl.Streaming.Interface.block",
"FStar.Monotonic.HyperStack.mem",
"LowStar.Monotonic.Buffer.loc",
"Hacl.Streaming.Functor.state_s'",
"LowStar.Monotonic.Buffer.loc_includes_union_l",
"Hacl.Streaming.Functor.footprint_s",
"Prims.unit",
"Prims.l_or",
"LowStar.Monotonic.Buffer.loc_includes",
"Prims.... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val loc_includes_union_l_footprint_s
(#index: _)
(c: block index)
(i: index)
(m: HS.mem)
(l1 l2: B.loc)
(s: state_s' c i)
: Lemma
(requires (B.loc_includes l1 (footprint_s c i m s) \/ B.loc_includes l2 (footprint_s c i m s))
)
(ensures (B.loc_includes (B.loc_uni... | [] | Hacl.Streaming.Functor.loc_includes_union_l_footprint_s | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
m: FStar.Monotonic.HyperStack.mem ->
l1: LowStar.Monotonic.Buffer.loc ->
l2: LowStar.Monotonic.Buffer.loc ->
s: Hacl.Streaming.Functor.state_s' c i
-> FStar.Pervasives.Lemma
(requires
LowStar.Monotonic.Buffer.loc_includes l1... | {
"end_col": 52,
"end_line": 86,
"start_col": 2,
"start_line": 86
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let invariant #index (c: block index) (i: index) (m: HS.mem) (s: state' c i) =
invariant_s c i m (B.get m s 0) /\
B.live m s /\
B.(loc_disjoint (loc_addr_of_buffer s) (footprint_s c i m (B.deref m s))) | let invariant #index (c: block index) (i: index) (m: HS.mem) (s: state' c i) = | false | null | false | invariant_s c i m (B.get m s 0) /\ B.live m s /\
B.(loc_disjoint (loc_addr_of_buffer s) (footprint_s c i m (B.deref m s))) | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"FStar.Monotonic.HyperStack.mem",
"Hacl.Streaming.Functor.state'",
"Prims.l_and",
"Hacl.Streaming.Functor.invariant_s",
"LowStar.Monotonic.Buffer.get",
"Hacl.Streaming.Functor.state_s",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val invariant : c: Hacl.Streaming.Interface.block index ->
i: index ->
m: FStar.Monotonic.HyperStack.mem ->
s: Hacl.Streaming.Functor.state' c i
-> Prims.logical | [] | Hacl.Streaming.Functor.invariant | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
m: FStar.Monotonic.HyperStack.mem ->
s: Hacl.Streaming.Functor.state' c i
-> Prims.logical | {
"end_col": 75,
"end_line": 102,
"start_col": 2,
"start_line": 100
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let update_st
(#index: Type0)
(c:block index)
(i:index)
(t:Type0 { t == c.state.s i })
(t':Type0 { t' == optional_key i c.km c.key }) =
s:state c i t t' ->
data: B.buffer uint8 ->
len: UInt32.t ->
Stack Hacl.Streaming.Types.error_code
(requires fun h0 -> update_pre c i s data len h0)
(ensures ... | let update_st
(#index: Type0)
(c: block index)
(i: index)
(t: Type0{t == c.state.s i})
(t': Type0{t' == optional_key i c.km c.key})
= | false | null | false | s: state c i t t' -> data: B.buffer uint8 -> len: UInt32.t
-> Stack Hacl.Streaming.Types.error_code
(requires fun h0 -> update_pre c i s data len h0)
(ensures
fun h0 s' h1 ->
let open Hacl.Streaming.Types in
match s' with
| Success ->
U32.v (c.init_input_l... | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Prims.eq2",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.Streaming.Interface.__proj__Block__item__key",
... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val update_st : c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | [] | Hacl.Streaming.Functor.update_st | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | {
"end_col": 16,
"end_line": 434,
"start_col": 2,
"start_line": 419
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let alloca_st
(#index: Type0)
(c:block index)
(i:index)
(t:Type0 { t == c.state.s i })
(t':Type0 { t' == optional_key i c.km c.key }) =
k:c.key.s i ->
StackInline (state c i t t')
(requires (fun h0 ->
c.key.invariant #i h0 k))
(ensures (fun h0 s h1 ->
invariant c i h1 s /\
seen c i h1 s ==... | let alloca_st
(#index: Type0)
(c: block index)
(i: index)
(t: Type0{t == c.state.s i})
(t': Type0{t' == optional_key i c.km c.key})
= | false | null | false | k: c.key.s i
-> StackInline (state c i t t')
(requires (fun h0 -> c.key.invariant #i h0 k))
(ensures
(fun h0 s h1 ->
invariant c i h1 s /\ seen c i h1 s == S.empty /\ key c i h1 s == c.key.v i h0 k /\
B.(modifies loc_none h0 h1) /\ B.fresh_loc (footprint c i h1 s) h0 h1 /\
... | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Prims.eq2",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.Streaming.Interface.__proj__Block__item__key",
... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val alloca_st : c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | [] | Hacl.Streaming.Functor.alloca_st | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | {
"end_col": 82,
"end_line": 336,
"start_col": 2,
"start_line": 326
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let free_st
(#index: Type0)
(c:block index)
(i:index)
(t:Type0 { t == c.state.s i })
(t':Type0 { t' == optional_key i c.km c.key }) =
s:state c i t t' ->
ST unit
(requires fun h0 ->
invariant c i h0 s /\
freeable c i h0 s)
(ensures fun h0 _ h1 ->
B.modifies (footprint c i h0 s) h0 h1) | let free_st
(#index: Type0)
(c: block index)
(i: index)
(t: Type0{t == c.state.s i})
(t': Type0{t' == optional_key i c.km c.key})
= | false | null | false | s: state c i t t'
-> ST unit
(requires fun h0 -> invariant c i h0 s /\ freeable c i h0 s)
(ensures fun h0 _ h1 -> B.modifies (footprint c i h0 s) h0 h1) | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Prims.eq2",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.Streaming.Interface.__proj__Block__item__key",
... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val free_st : c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | [] | Hacl.Streaming.Functor.free_st | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | {
"end_col": 42,
"end_line": 503,
"start_col": 2,
"start_line": 497
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let create_in_st
(#index: Type0)
(c:block index)
(i:index)
(t:Type0 { t == c.state.s i })
(t':Type0 { t' == optional_key i c.km c.key }) =
k:c.key.s i ->
r: HS.rid ->
ST (state c i t t')
(requires (fun h0 ->
c.key.invariant #i h0 k /\
HyperStack.ST.is_eternal_region r))
(ensures (fun h0 s h1... | let create_in_st
(#index: Type0)
(c: block index)
(i: index)
(t: Type0{t == c.state.s i})
(t': Type0{t' == optional_key i c.km c.key})
= | false | null | false | k: c.key.s i -> r: HS.rid
-> ST (state c i t t')
(requires (fun h0 -> c.key.invariant #i h0 k /\ HyperStack.ST.is_eternal_region r))
(ensures
(fun h0 s h1 ->
invariant c i h1 s /\ freeable c i h1 s /\ seen c i h1 s == S.empty /\
key c i h1 s == c.key.v i h0 k /\ B.(modifies... | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Prims.eq2",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.Streaming.Interface.__proj__Block__item__key",
... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val create_in_st : c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | [] | Hacl.Streaming.Functor.create_in_st | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | {
"end_col": 68,
"end_line": 277,
"start_col": 2,
"start_line": 264
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let copy_st
(#index: Type0)
(c:block index)
(i:index)
(t:Type0 { t == c.state.s i })
(t':Type0 { t' == optional_key i c.km c.key }) =
s0:state c i t t' ->
r: HS.rid ->
ST (state c i t t')
(requires (fun h0 ->
invariant c i h0 s0 /\
HyperStack.ST.is_eternal_region r))
(ensures (fun h0 s h1 ->... | let copy_st
(#index: Type0)
(c: block index)
(i: index)
(t: Type0{t == c.state.s i})
(t': Type0{t' == optional_key i c.km c.key})
= | false | null | false | s0: state c i t t' -> r: HS.rid
-> ST (state c i t t')
(requires (fun h0 -> invariant c i h0 s0 /\ HyperStack.ST.is_eternal_region r))
(ensures
(fun h0 s h1 ->
invariant c i h1 s /\ freeable c i h1 s /\ seen c i h1 s == seen c i h0 s0 /\
key c i h1 s == key c i h0 s0 /\ B.(... | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Prims.eq2",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.Streaming.Interface.__proj__Block__item__key",
... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val copy_st : c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | [] | Hacl.Streaming.Functor.copy_st | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | {
"end_col": 68,
"end_line": 308,
"start_col": 2,
"start_line": 295
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let init_st
(#index: Type0)
(c:block index)
(i:G.erased index)
(t:Type0 { t == c.state.s i })
(t':Type0 { t' == optional_key (G.reveal i) c.km c.key }) =
k:c.key.s i ->
s:state c i t t' ->
Stack unit
(requires (fun h0 ->
c.key.invariant #i h0 k /\
B.loc_disjoint (c.key.footprint #i h0 k) (foot... | let init_st
(#index: Type0)
(c: block index)
(i: G.erased index)
(t: Type0{t == c.state.s i})
(t': Type0{t' == optional_key (G.reveal i) c.km c.key})
= | false | null | false | k: c.key.s i -> s: state c i t t'
-> Stack unit
(requires
(fun h0 ->
c.key.invariant #i h0 k /\ B.loc_disjoint (c.key.footprint #i h0 k) (footprint c i h0 s) /\
invariant c i h0 s))
(ensures
(fun h0 _ h1 ->
invariant c i h1 s /\ seen c i h1 s == S.empty ... | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"FStar.Ghost.erased",
"Prims.eq2",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"FStar.Ghost.reveal",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.S... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val init_st : c: Hacl.Streaming.Interface.block index ->
i: FStar.Ghost.erased index ->
t: Type0{t == Stateful?.s (Block?.state c) (FStar.Ghost.reveal i)} ->
t':
Type0
{ t' ==
Hacl.Streaming.Interface.optional_key (FStar.Ghost.reveal i) (Block?.km c) (Block?.key c)
}
-> Typ... | [] | Hacl.Streaming.Functor.init_st | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: FStar.Ghost.erased index ->
t: Type0{t == Stateful?.s (Block?.state c) (FStar.Ghost.reveal i)} ->
t':
Type0
{ t' ==
Hacl.Streaming.Interface.optional_key (FStar.Ghost.reveal i) (Block?.km c) (Block?.key c)
}
-> Type0 | {
"end_col": 36,
"end_line": 368,
"start_col": 2,
"start_line": 355
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_modu... | false | let finish_st
#index
(c: block index)
(i: index)
(t: Type0 { t == c.state.s i })
(t':Type0 { t' == optional_key i c.km c.key }) =
s:state c i t t' ->
dst:B.buffer uint8 ->
l:c.output_length_t { B.length dst == c.output_length i l } ->
Stack unit
(requires fun h0 ->
invariant c i h0 s /\
... | let finish_st
#index
(c: block index)
(i: index)
(t: Type0{t == c.state.s i})
(t': Type0{t' == optional_key i c.km c.key})
= | false | null | false |
s: state c i t t' ->
dst: B.buffer uint8 ->
l: c.output_length_t{B.length dst == c.output_length i l}
-> Stack unit
(requires
fun h0 ->
invariant c i h0 s /\ B.live h0 dst /\
B.(loc_disjoint (loc_buffer dst) (footprint c i h0 s)))
(ensures
fun h0 s' h1 ->
... | {
"checked_file": "Hacl.Streaming.Functor.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Streaming.Types.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"FStar.UInt64.fsti.chec... | [
"total"
] | [
"Hacl.Streaming.Interface.block",
"Prims.eq2",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.Interface.__proj__Block__item__state",
"Hacl.Streaming.Interface.optional_key",
"Hacl.Streaming.Interface.__proj__Block__item__km",
"Hacl.Streaming.Interface.__proj__Block__item__key",
... | [] | module Hacl.Streaming.Functor
/// Provided an instance of the type class, this creates a streaming API on top.
/// This means that every function in this module takes two extra arguments
/// compared to the previous streaming module specialized for hashes: the type
/// of the index, and a type class for that index. Th... | false | false | Hacl.Streaming.Functor.fsti | {
"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... | null | val finish_st : c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | [] | Hacl.Streaming.Functor.finish_st | {
"file_name": "code/streaming/Hacl.Streaming.Functor.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c: Hacl.Streaming.Interface.block index ->
i: index ->
t: Type0{t == Stateful?.s (Block?.state c) i} ->
t': Type0{t' == Hacl.Streaming.Interface.optional_key i (Block?.km c) (Block?.key c)}
-> Type0 | {
"end_col": 37,
"end_line": 469,
"start_col": 2,
"start_line": 453
} | |
Prims.Tot | val va_code_Aes_ctr_loop_body : alg:algorithm -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_code_Aes_ctr_loop_body alg =
(va_Block (va_CCons (va_code_Pinsrq (va_op_xmm_xmm 2) (va_op_opr64_reg64 rRdi) 0) (va_CCons
(va_code_Pinsrq (va_op_xmm_xmm 12) (va_op_opr64_reg64 rRdi) 0) (va_CCons (va_code_Pinsrq
(va_op_xmm_xmm 13) (va_op_opr64_reg64 rRdi) 0) (va_CCons (va_code_Pinsrq (va_op_xmm_xmm 14)
... | val va_code_Aes_ctr_loop_body : alg:algorithm -> Tot va_code
let va_code_Aes_ctr_loop_body alg = | false | null | false | (va_Block (va_CCons (va_code_Pinsrq (va_op_xmm_xmm 2) (va_op_opr64_reg64 rRdi) 0)
(va_CCons (va_code_Pinsrq (va_op_xmm_xmm 12) (va_op_opr64_reg64 rRdi) 0)
(va_CCons (va_code_Pinsrq (va_op_xmm_xmm 13) (va_op_opr64_reg64 rRdi) 0)
(va_CCons (va_code_Pinsrq (va_op_xmm_xmm 14) (va_op_opr6... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsVector.va_code_Pinsrq",
"Vale.X64.Decls.va_op_xmm_xmm",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRdi",
"Vale.X64.InsVector.va_code_Shufpd",
"Vale.X64.InsVector.va_code_Pshufb64",
"... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_code_Aes_ctr_loop_body : alg:algorithm -> Tot va_code | [] | Vale.AES.X64.AESCTRplain.va_code_Aes_ctr_loop_body | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code | {
"end_col": 51,
"end_line": 70,
"start_col": 2,
"start_line": 32
} |
Prims.Tot | val va_codegen_success_Aes_ctr_loop_body : alg:algorithm -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_codegen_success_Aes_ctr_loop_body alg =
(va_pbool_and (va_codegen_success_Pinsrq (va_op_xmm_xmm 2) (va_op_opr64_reg64 rRdi) 0)
(va_pbool_and (va_codegen_success_Pinsrq (va_op_xmm_xmm 12) (va_op_opr64_reg64 rRdi) 0)
(va_pbool_and (va_codegen_success_Pinsrq (va_op_xmm_xmm 13) (va_op_opr64_reg64 rRdi) 0)
... | val va_codegen_success_Aes_ctr_loop_body : alg:algorithm -> Tot va_pbool
let va_codegen_success_Aes_ctr_loop_body alg = | false | null | false | (va_pbool_and (va_codegen_success_Pinsrq (va_op_xmm_xmm 2) (va_op_opr64_reg64 rRdi) 0)
(va_pbool_and (va_codegen_success_Pinsrq (va_op_xmm_xmm 12) (va_op_opr64_reg64 rRdi) 0)
(va_pbool_and (va_codegen_success_Pinsrq (va_op_xmm_xmm 13) (va_op_opr64_reg64 rRdi) 0)
(va_pbool_and (va_codegen_success... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsVector.va_codegen_success_Pinsrq",
"Vale.X64.Decls.va_op_xmm_xmm",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRdi",
"Vale.X64.InsVector.va_codegen_success_Shufpd",
"Vale.X64.InsVector.va_codegen_success_Pshufb... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_codegen_success_Aes_ctr_loop_body : alg:algorithm -> Tot va_pbool | [] | Vale.AES.X64.AESCTRplain.va_codegen_success_Aes_ctr_loop_body | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool | {
"end_col": 55,
"end_line": 119,
"start_col": 2,
"start_line": 75
} |
Prims.Tot | val va_codegen_success_Aes_counter_loop_body0 : alg:algorithm -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_codegen_success_Aes_counter_loop_body0 alg =
(va_pbool_and (va_codegen_success_Aes_ctr_loop_body alg) (va_ttrue ())) | val va_codegen_success_Aes_counter_loop_body0 : alg:algorithm -> Tot va_pbool
let va_codegen_success_Aes_counter_loop_body0 alg = | false | null | false | (va_pbool_and (va_codegen_success_Aes_ctr_loop_body alg) (va_ttrue ())) | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.va_pbool_and",
"Vale.AES.X64.AESCTRplain.va_codegen_success_Aes_ctr_loop_body",
"Vale.X64.Decls.va_ttrue",
"Vale.X64.Decls.va_pbool"
] | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_codegen_success_Aes_counter_loop_body0 : alg:algorithm -> Tot va_pbool | [] | Vale.AES.X64.AESCTRplain.va_codegen_success_Aes_counter_loop_body0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool | {
"end_col": 73,
"end_line": 553,
"start_col": 2,
"start_line": 553
} |
Prims.Tot | val va_code_Aes_counter_loop_body0 : alg:algorithm -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_code_Aes_counter_loop_body0 alg =
(va_Block (va_CCons (va_code_Aes_ctr_loop_body alg) (va_CNil ()))) | val va_code_Aes_counter_loop_body0 : alg:algorithm -> Tot va_code
let va_code_Aes_counter_loop_body0 alg = | false | null | false | (va_Block (va_CCons (va_code_Aes_ctr_loop_body alg) (va_CNil ()))) | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.AES.X64.AESCTRplain.va_code_Aes_ctr_loop_body",
"Vale.X64.Decls.va_CNil",
"Vale.X64.Decls.va_code"
] | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_code_Aes_counter_loop_body0 : alg:algorithm -> Tot va_code | [] | Vale.AES.X64.AESCTRplain.va_code_Aes_counter_loop_body0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code | {
"end_col": 68,
"end_line": 548,
"start_col": 2,
"start_line": 548
} |
Prims.Tot | val va_codegen_success_Aes_counter_loop_while0 : alg:algorithm -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_codegen_success_Aes_counter_loop_while0 alg =
(va_pbool_and (va_codegen_success_Aes_counter_loop_body0 alg) (va_ttrue ())) | val va_codegen_success_Aes_counter_loop_while0 : alg:algorithm -> Tot va_pbool
let va_codegen_success_Aes_counter_loop_while0 alg = | false | null | false | (va_pbool_and (va_codegen_success_Aes_counter_loop_body0 alg) (va_ttrue ())) | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.va_pbool_and",
"Vale.AES.X64.AESCTRplain.va_codegen_success_Aes_counter_loop_body0",
"Vale.X64.Decls.va_ttrue",
"Vale.X64.Decls.va_pbool"
] | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_codegen_success_Aes_counter_loop_while0 : alg:algorithm -> Tot va_pbool | [] | Vale.AES.X64.AESCTRplain.va_codegen_success_Aes_counter_loop_while0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool | {
"end_col": 78,
"end_line": 904,
"start_col": 2,
"start_line": 904
} |
Prims.Tot | val va_codegen_success_Aes_counter_loop : alg:algorithm -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_codegen_success_Aes_counter_loop alg =
(va_pbool_and (va_codegen_success_Pshufb (va_op_xmm_xmm 7) (va_op_xmm_xmm 8)) (va_pbool_and
(va_codegen_success_Mov128 (va_op_xmm_xmm 9) (va_op_xmm_xmm 7)) (va_pbool_and
(va_codegen_success_InitPshufbDupMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rRax))
(va_... | val va_codegen_success_Aes_counter_loop : alg:algorithm -> Tot va_pbool
let va_codegen_success_Aes_counter_loop alg = | false | null | false | (va_pbool_and (va_codegen_success_Pshufb (va_op_xmm_xmm 7) (va_op_xmm_xmm 8))
(va_pbool_and (va_codegen_success_Mov128 (va_op_xmm_xmm 9) (va_op_xmm_xmm 7))
(va_pbool_and (va_codegen_success_InitPshufbDupMask (va_op_xmm_xmm 0)
(va_op_reg_opr64_reg64 rRax))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsVector.va_codegen_success_Pshufb",
"Vale.X64.Decls.va_op_xmm_xmm",
"Vale.X64.InsVector.va_codegen_success_Mov128",
"Vale.X64.InsVector.va_codegen_success_InitPshufbDupMask",
"Vale.X64.Decls.va_op_reg_opr64_reg64",
"Vale.X64... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_codegen_success_Aes_counter_loop : alg:algorithm -> Tot va_pbool | [] | Vale.AES.X64.AESCTRplain.va_codegen_success_Aes_counter_loop | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_pbool | {
"end_col": 29,
"end_line": 1334,
"start_col": 2,
"start_line": 1313
} |
Prims.Tot | val va_code_Aes_counter_loop : alg:algorithm -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_code_Aes_counter_loop alg =
(va_Block (va_CCons (va_code_Pshufb (va_op_xmm_xmm 7) (va_op_xmm_xmm 8)) (va_CCons
(va_code_Mov128 (va_op_xmm_xmm 9) (va_op_xmm_xmm 7)) (va_CCons (va_code_InitPshufbDupMask
(va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rRax)) (va_CCons (va_code_PshufbDup (va_op_xmm_xmm 9)
(va... | val va_code_Aes_counter_loop : alg:algorithm -> Tot va_code
let va_code_Aes_counter_loop alg = | false | null | false | (va_Block (va_CCons (va_code_Pshufb (va_op_xmm_xmm 7) (va_op_xmm_xmm 8))
(va_CCons (va_code_Mov128 (va_op_xmm_xmm 9) (va_op_xmm_xmm 7))
(va_CCons (va_code_InitPshufbDupMask (va_op_xmm_xmm 0) (va_op_reg_opr64_reg64 rRax))
(va_CCons (va_code_PshufbDup (va_op_xmm_xmm 9) (va_op_xmm_xmm 0... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsVector.va_code_Pshufb",
"Vale.X64.Decls.va_op_xmm_xmm",
"Vale.X64.InsVector.va_code_Mov128",
"Vale.X64.InsVector.va_code_InitPshufbDupMask",
"Vale.X64.Decls.va_op_reg_opr64_reg64",
"Vale.X64.Machine... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_code_Aes_counter_loop : alg:algorithm -> Tot va_code | [] | Vale.AES.X64.AESCTRplain.va_code_Aes_counter_loop | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code | {
"end_col": 39,
"end_line": 1309,
"start_col": 2,
"start_line": 1292
} |
Prims.Tot | val va_quick_Aes_ctr_loop_body
(alg: algorithm)
(old_plain_ptr old_out_ptr old_num_quad_blocks: nat64)
(count: nat)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
(icb_BE iv: quad32)
: (va_quickCode unit (va_code_Aes_ctr_l... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_quick_Aes_ctr_loop_body (alg:algorithm) (old_plain_ptr:nat64) (old_out_ptr:nat64)
(old_num_quad_blocks:nat64) (count:nat) (plain_b:buffer128) (out_b:buffer128) (key:(seq nat32))
(round_keys:(seq quad32)) (keys_b:buffer128) (icb_BE:quad32) (iv:quad32) : (va_quickCode unit
(va_code_Aes_ctr_loop_body alg)) =
... | val va_quick_Aes_ctr_loop_body
(alg: algorithm)
(old_plain_ptr old_out_ptr old_num_quad_blocks: nat64)
(count: nat)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
(icb_BE iv: quad32)
: (va_quickCode unit (va_code_Aes_ctr_l... | false | null | false | (va_QProc (va_code_Aes_ctr_loop_body alg)
([
va_Mod_mem_heaplet 1; va_Mod_flags; va_Mod_reg64 rR12; va_Mod_reg64 rR10; va_Mod_reg64 rRdx;
va_Mod_reg64 rR9; va_Mod_xmm 7; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 2;
va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 6; va_Mod_... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Memory.nat64",
"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.AESCTRplain.va_code_Aes_ctr_loop_body",
"Prims.Cons",
"Vale.X... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_quick_Aes_ctr_loop_body
(alg: algorithm)
(old_plain_ptr old_out_ptr old_num_quad_blocks: nat64)
(count: nat)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
(icb_BE iv: quad32)
: (va_quickCode unit (va_code_Aes_ctr_l... | [] | Vale.AES.X64.AESCTRplain.va_quick_Aes_ctr_loop_body | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
alg: Vale.AES.AES_common_s.algorithm ->
old_plain_ptr: Vale.X64.Memory.nat64 ->
old_out_ptr: Vale.X64.Memory.nat64 ->
old_num_quad_blocks: Vale.X64.Memory.nat64 ->
count: Prims.nat ->
plain_b: Vale.X64.Memory.buffer128 ->
out_b: Vale.X64.Memory.buffer128 ->
key: FStar.Seq.Base.seq Vale.... | {
"end_col": 51,
"end_line": 539,
"start_col": 2,
"start_line": 533
} |
Prims.Tot | val va_code_Aes_counter_loop_while0 : alg:algorithm -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_code_Aes_counter_loop_while0 alg =
(va_Block (va_CCons (va_While (va_cmp_gt (va_op_cmp_reg64 rRdx) (va_const_cmp 0)) (va_Block
(va_CCons (va_code_Aes_counter_loop_body0 alg) (va_CNil ())))) (va_CNil ()))) | val va_code_Aes_counter_loop_while0 : alg:algorithm -> Tot va_code
let va_code_Aes_counter_loop_while0 alg = | false | null | false | (va_Block (va_CCons (va_While (va_cmp_gt (va_op_cmp_reg64 rRdx) (va_const_cmp 0))
(va_Block (va_CCons (va_code_Aes_counter_loop_body0 alg) (va_CNil ()))))
(va_CNil ()))) | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"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_gt",
"Vale.X64.Decls.va_op_cmp_reg64",
"Vale.X64.Machine_s.rRdx",
"Vale.X64.Decls.va_const_cmp",
"Vale.AES.X64.AESCTRplain.va_code_Aes_counter_loop_body0",
"Va... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_code_Aes_counter_loop_while0 : alg:algorithm -> Tot va_code | [] | Vale.AES.X64.AESCTRplain.va_code_Aes_counter_loop_while0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | alg: Vale.AES.AES_common_s.algorithm -> Vale.X64.Decls.va_code | {
"end_col": 81,
"end_line": 899,
"start_col": 2,
"start_line": 898
} |
Prims.Tot | val va_qcode_Aes_counter_loop_body0
(va_mods: va_mods_t)
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_qcode_Aes_counter_loop_body0 (va_mods:va_mods_t) (va_old:va_state) (alg:algorithm)
(va_in_icb_BE:quad32) (va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32)
(va_in_out_b:buffer128) (va_in_plain_b:buffer128) (va_in_round_keys:(seq quad32))
(va_in_count:nat) : (va_quickCode (nat) (va_code_... | val va_qcode_Aes_counter_loop_body0
(va_mods: va_mods_t)
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
... | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let icb_BE:quad32 = va_in_icb_BE 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
let out_b:buffer128 = va_in_out_b in
let ... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Vale.X64.QuickCodes.qblock",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.AES.X64.AE... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_qcode_Aes_counter_loop_body0
(va_mods: va_mods_t)
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
... | [] | Vale.AES.X64.AESCTRplain.va_qcode_Aes_counter_loop_body0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_mods: Vale.X64.QuickCode.va_mods_t ->
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_icb_BE: Vale.X64.Decls.quad32 ->
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 ->... | {
"end_col": 78,
"end_line": 568,
"start_col": 2,
"start_line": 560
} |
Prims.Tot | val va_quick_Aes_counter_loop_body0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
: ... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_quick_Aes_counter_loop_body0 (va_old:va_state) (alg:algorithm) (va_in_icb_BE:quad32)
(va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128)
(va_in_plain_b:buffer128) (va_in_round_keys:(seq quad32)) (va_in_count:nat) : (va_quickCode nat
(va_code_Aes_counter_loop_body0... | val va_quick_Aes_counter_loop_body0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
: ... | false | null | false | (va_QProc (va_code_Aes_counter_loop_body0 alg)
([
va_Mod_xmm 9; 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 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 10; va_Mod_reg64 rRdx;
va_Mod_reg64 rR9; va_Mod_reg64 rR12; va_Mod_reg64 rR10; va_Mod_ok... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Vale.X64.QuickCode.va_QProc",
"Vale.AES.X64.AESCTRplain.va_code_Aes_counter_loop_body0",
"Prims.Cons",
"Vale.X64.QuickC... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_quick_Aes_counter_loop_body0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
: ... | [] | Vale.AES.X64.AESCTRplain.va_quick_Aes_counter_loop_body0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_icb_BE: Vale.X64.Decls.quad32 ->
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 ->
va_in_out_b: Vale.X64.Memory.buffer128 -... | {
"end_col": 34,
"end_line": 889,
"start_col": 2,
"start_line": 882
} |
Prims.Ghost | val va_wpProof_Aes_ctr_loop_body : alg:algorithm -> old_plain_ptr:nat64 -> old_out_ptr:nat64 ->
old_num_quad_blocks:nat64 -> count:nat -> plain_b:buffer128 -> out_b:buffer128 -> key:(seq nat32)
-> round_keys:(seq quad32) -> keys_b:buffer128 -> icb_BE:quad32 -> iv:quad32 -> va_s0:va_state ->
va_k:(va_state -> unit... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_wpProof_Aes_ctr_loop_body alg old_plain_ptr old_out_ptr old_num_quad_blocks count plain_b
out_b key round_keys keys_b icb_BE iv va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Aes_ctr_loop_body (va_code_Aes_ctr_loop_body alg) va_s0 alg
old_plain_ptr old_out_ptr old_num_quad_blocks count plain_b out_b key roun... | val va_wpProof_Aes_ctr_loop_body : alg:algorithm -> old_plain_ptr:nat64 -> old_out_ptr:nat64 ->
old_num_quad_blocks:nat64 -> count:nat -> plain_b:buffer128 -> out_b:buffer128 -> key:(seq nat32)
-> round_keys:(seq quad32) -> keys_b:buffer128 -> icb_BE:quad32 -> iv:quad32 -> va_s0:va_state ->
va_k:(va_state -> unit... | false | null | false | let va_sM, va_f0 =
va_lemma_Aes_ctr_loop_body (va_code_Aes_ctr_loop_body alg) va_s0 alg old_plain_ptr old_out_ptr
old_num_quad_blocks count plain_b out_b key round_keys keys_b icb_BE iv
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_mem_heaplet 1
va_sM
(va_update_flag... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Memory.nat64",
"Prims.nat",
"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.QuickCo... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_wpProof_Aes_ctr_loop_body : alg:algorithm -> old_plain_ptr:nat64 -> old_out_ptr:nat64 ->
old_num_quad_blocks:nat64 -> count:nat -> plain_b:buffer128 -> out_b:buffer128 -> key:(seq nat32)
-> round_keys:(seq quad32) -> keys_b:buffer128 -> icb_BE:quad32 -> iv:quad32 -> va_s0:va_state ->
va_k:(va_state -> unit... | [] | Vale.AES.X64.AESCTRplain.va_wpProof_Aes_ctr_loop_body | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
alg: Vale.AES.AES_common_s.algorithm ->
old_plain_ptr: Vale.X64.Memory.nat64 ->
old_out_ptr: Vale.X64.Memory.nat64 ->
old_num_quad_blocks: Vale.X64.Memory.nat64 ->
count: Prims.nat ->
plain_b: Vale.X64.Memory.buffer128 ->
out_b: Vale.X64.Memory.buffer128 ->
key: FStar.Seq.Base.seq Vale.... | {
"end_col": 22,
"end_line": 526,
"start_col": 52,
"start_line": 510
} |
Prims.Tot | val va_quick_Aes_counter_loop_while0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
:... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_quick_Aes_counter_loop_while0 (va_old:va_state) (alg:algorithm) (va_in_icb_BE:quad32)
(va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128)
(va_in_plain_b:buffer128) (va_in_round_keys:(seq quad32)) (va_in_count:nat) : (va_quickCode nat
(va_code_Aes_counter_loop_whil... | val va_quick_Aes_counter_loop_while0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
:... | false | null | false | (va_QProc (va_code_Aes_counter_loop_while0 alg)
([
va_Mod_xmm 9; 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 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 10; va_Mod_reg64 rRdx;
va_Mod_reg64 rR9; va_Mod_reg64 rR12; va_Mod_reg64 rR10; va_Mod_o... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Vale.X64.QuickCode.va_QProc",
"Vale.AES.X64.AESCTRplain.va_code_Aes_counter_loop_while0",
"Prims.Cons",
"Vale.X64.Quick... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_quick_Aes_counter_loop_while0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
:... | [] | Vale.AES.X64.AESCTRplain.va_quick_Aes_counter_loop_while0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_icb_BE: Vale.X64.Decls.quad32 ->
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 ->
va_in_out_b: Vale.X64.Memory.buffer128 -... | {
"end_col": 34,
"end_line": 1284,
"start_col": 2,
"start_line": 1277
} |
Prims.Tot | val va_qcode_Aes_counter_loop_while0
(va_mods: va_mods_t)
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_qcode_Aes_counter_loop_while0 (va_mods:va_mods_t) (va_old:va_state) (alg:algorithm)
(va_in_icb_BE:quad32) (va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32)
(va_in_out_b:buffer128) (va_in_plain_b:buffer128) (va_in_round_keys:(seq quad32))
(va_in_count:nat) : (va_quickCode (nat) (va_code... | val va_qcode_Aes_counter_loop_while0
(va_mods: va_mods_t)
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
... | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let icb_BE:quad32 = va_in_icb_BE 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
let out_b:buffer128 = va_in_out_b in
let ... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Vale.X64.QuickCodes.qblock",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.Machin... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_qcode_Aes_counter_loop_while0
(va_mods: va_mods_t)
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
... | [] | Vale.AES.X64.AESCTRplain.va_qcode_Aes_counter_loop_while0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_mods: Vale.X64.QuickCode.va_mods_t ->
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_icb_BE: Vale.X64.Decls.quad32 ->
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 ->... | {
"end_col": 65,
"end_line": 964,
"start_col": 2,
"start_line": 911
} |
Prims.Ghost | val va_wpProof_Aes_counter_loop_body0 : va_old:va_state -> alg:algorithm -> va_in_icb_BE:quad32 ->
va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128
-> va_in_plain_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_in_count:nat -> va_s0:va_state
-> va_k:(va_state -> n... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_wpProof_Aes_counter_loop_body0 va_old alg va_in_icb_BE va_in_key va_in_keys_b va_in_old_iv
va_in_out_b va_in_plain_b va_in_round_keys va_in_count va_s0 va_k =
let (va_sM, va_f0, count) = va_lemma_Aes_counter_loop_body0 (va_code_Aes_counter_loop_body0 alg)
va_s0 va_old alg va_in_icb_BE va_in_key va_in_key... | val va_wpProof_Aes_counter_loop_body0 : va_old:va_state -> alg:algorithm -> va_in_icb_BE:quad32 ->
va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128
-> va_in_plain_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_in_count:nat -> va_s0:va_state
-> va_k:(va_state -> n... | false | null | false | let va_sM, va_f0, count =
va_lemma_Aes_counter_loop_body0 (va_code_Aes_counter_loop_body0 alg) va_s0 va_old alg va_in_icb_BE
va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_plain_b va_in_round_keys va_in_count
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_xmm 9
va_sM
... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [] | [
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_wpProof_Aes_counter_loop_body0 : va_old:va_state -> alg:algorithm -> va_in_icb_BE:quad32 ->
va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128
-> va_in_plain_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_in_count:nat -> va_s0:va_state
-> va_k:(va_state -> n... | [] | Vale.AES.X64.AESCTRplain.va_wpProof_Aes_counter_loop_body0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_icb_BE: Vale.X64.Decls.quad32 ->
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 ->
va_in_out_b: Vale.X64.Memory.buffer128 -... | {
"end_col": 22,
"end_line": 875,
"start_col": 69,
"start_line": 859
} |
Prims.Tot | val va_wp_Aes_ctr_loop_body
(alg: algorithm)
(old_plain_ptr old_out_ptr old_num_quad_blocks: nat64)
(count: nat)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
(icb_BE iv: quad32)
(va_s0: va_state)
(va_k: (va_state... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_wp_Aes_ctr_loop_body (alg:algorithm) (old_plain_ptr:nat64) (old_out_ptr:nat64)
(old_num_quad_blocks:nat64) (count:nat) (plain_b:buffer128) (out_b:buffer128) (key:(seq nat32))
(round_keys:(seq quad32)) (keys_b:buffer128) (icb_BE:quad32) (iv:quad32) (va_s0:va_state)
(va_k:(va_state -> unit -> Type0)) : Type0... | val va_wp_Aes_ctr_loop_body
(alg: algorithm)
(old_plain_ptr old_out_ptr old_num_quad_blocks: nat64)
(count: nat)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
(icb_BE iv: quad32)
(va_s0: va_state)
(va_k: (va_state... | false | null | false | (va_get_ok va_s0 /\
(sse_enabled /\ (0 < va_get_reg64 rRdx va_s0 /\ va_get_reg64 rRdx va_s0 <= old_num_quad_blocks) /\
count == old_num_quad_blocks - va_get_reg64 rRdx va_s0 /\
Vale.X64.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0)
old_plain_ptr
plain_b
(old_num_quad_blocks `op_Multipl... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Memory.nat64",
"Prims.nat",
"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.CPU_Feature... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_wp_Aes_ctr_loop_body
(alg: algorithm)
(old_plain_ptr old_out_ptr old_num_quad_blocks: nat64)
(count: nat)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
(icb_BE iv: quad32)
(va_s0: va_state)
(va_k: (va_state... | [] | Vale.AES.X64.AESCTRplain.va_wp_Aes_ctr_loop_body | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
alg: Vale.AES.AES_common_s.algorithm ->
old_plain_ptr: Vale.X64.Memory.nat64 ->
old_out_ptr: Vale.X64.Memory.nat64 ->
old_num_quad_blocks: Vale.X64.Memory.nat64 ->
count: Prims.nat ->
plain_b: Vale.X64.Memory.buffer128 ->
out_b: Vale.X64.Memory.buffer128 ->
key: FStar.Seq.Base.seq Vale.... | {
"end_col": 10,
"end_line": 493,
"start_col": 2,
"start_line": 427
} |
Prims.Ghost | val va_wpProof_Aes_counter_loop : alg:algorithm -> plain_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_Aes_counter_loop alg plain_b... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_wpProof_Aes_counter_loop alg plain_b out_b key round_keys keys_b va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Aes_counter_loop (va_code_Aes_counter_loop alg) va_s0 alg plain_b
out_b key round_keys keys_b in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_mem_heaplet 1 va_sM (va_update_fla... | val va_wpProof_Aes_counter_loop : alg:algorithm -> plain_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_Aes_counter_loop alg plain_b... | false | null | false | let va_sM, va_f0 =
va_lemma_Aes_counter_loop (va_code_Aes_counter_loop alg)
va_s0
alg
plain_b
out_b
key
round_keys
keys_b
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_mem_heaplet 1
va_sM
(va_update_flags va_sM
(va_update_reg64 r... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [] | [
"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",
... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_wpProof_Aes_counter_loop : alg:algorithm -> plain_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_Aes_counter_loop alg plain_b... | [] | Vale.AES.X64.AESCTRplain.va_wpProof_Aes_counter_loop | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
alg: Vale.AES.AES_common_s.algorithm ->
plain_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 ->
... | {
"end_col": 22,
"end_line": 1477,
"start_col": 84,
"start_line": 1460
} |
Prims.Ghost | val va_wpProof_Aes_counter_loop_while0 : va_old:va_state -> alg:algorithm -> va_in_icb_BE:quad32 ->
va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128
-> va_in_plain_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_in_count:nat -> va_s0:va_state
-> va_k:(va_state -> ... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_wpProof_Aes_counter_loop_while0 va_old alg va_in_icb_BE va_in_key va_in_keys_b va_in_old_iv
va_in_out_b va_in_plain_b va_in_round_keys va_in_count va_s0 va_k =
let (va_sM, va_f0, count) = va_lemma_Aes_counter_loop_while0 (va_code_Aes_counter_loop_while0
alg) va_s0 va_old alg va_in_icb_BE va_in_key va_in_... | val va_wpProof_Aes_counter_loop_while0 : va_old:va_state -> alg:algorithm -> va_in_icb_BE:quad32 ->
va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128
-> va_in_plain_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_in_count:nat -> va_s0:va_state
-> va_k:(va_state -> ... | false | null | false | let va_sM, va_f0, count =
va_lemma_Aes_counter_loop_while0 (va_code_Aes_counter_loop_while0 alg) va_s0 va_old alg
va_in_icb_BE va_in_key va_in_keys_b va_in_old_iv va_in_out_b va_in_plain_b va_in_round_keys
va_in_count
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_xmm 9
va_... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [] | [
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_wpProof_Aes_counter_loop_while0 : va_old:va_state -> alg:algorithm -> va_in_icb_BE:quad32 ->
va_in_key:(seq nat32) -> va_in_keys_b:buffer128 -> va_in_old_iv:quad32 -> va_in_out_b:buffer128
-> va_in_plain_b:buffer128 -> va_in_round_keys:(seq quad32) -> va_in_count:nat -> va_s0:va_state
-> va_k:(va_state -> ... | [] | Vale.AES.X64.AESCTRplain.va_wpProof_Aes_counter_loop_while0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_icb_BE: Vale.X64.Decls.quad32 ->
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 ->
va_in_out_b: Vale.X64.Memory.buffer128 -... | {
"end_col": 22,
"end_line": 1270,
"start_col": 69,
"start_line": 1254
} |
Prims.Tot | val va_qcode_Aes_counter_loop
(va_mods: va_mods_t)
(alg: algorithm)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
: (va_quickCode unit (va_code_Aes_counter_loop alg)) | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_qcode_Aes_counter_loop (va_mods:va_mods_t) (alg:algorithm) (plain_b:buffer128)
(out_b:buffer128) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) : (va_quickCode
unit (va_code_Aes_counter_loop alg)) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
... | val va_qcode_Aes_counter_loop
(va_mods: va_mods_t)
(alg: algorithm)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
: (va_quickCode unit (va_code_Aes_counter_loop alg))
let va_qcode_Aes_counter_loop
(va_mods: va_mods_t)
(al... | false | null | false | (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 273 column 11 of file /home/gebner/everest/hacl-star/vale/code/thirdPartyPorts/Intel/aes/x64/Vale.AES.X64.AESCTRplain.vaf *****"
(va_quick_Pshufb (va_op_... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"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_Pshufb",
"Vale... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_qcode_Aes_counter_loop
(va_mods: va_mods_t)
(alg: algorithm)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
: (va_quickCode unit (va_code_Aes_counter_loop alg)) | [] | Vale.AES.X64.AESCTRplain.va_qcode_Aes_counter_loop | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_mods: Vale.X64.QuickCode.va_mods_t ->
alg: Vale.AES.AES_common_s.algorithm ->
plain_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.buffer1... | {
"end_col": 39,
"end_line": 1416,
"start_col": 2,
"start_line": 1340
} |
Prims.Ghost | val va_lemma_Aes_counter_loop : va_b0:va_code -> va_s0:va_state -> alg:algorithm ->
plain_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_Aes_counter_loop alg) va_s0 /\ va_get_ok va_s0 /\
... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_lemma_Aes_counter_loop va_b0 va_s0 alg plain_b out_b key round_keys keys_b =
let (va_mods:va_mods_t) = [va_Mod_mem_heaplet 1; va_Mod_flags; va_Mod_reg64 rR12; va_Mod_reg64
rRdi; va_Mod_reg64 rR10; va_Mod_reg64 rRdx; va_Mod_reg64 rR9; va_Mod_reg64 rRax; va_Mod_xmm 14;
va_Mod_xmm 13; va_Mod_xmm 12; va_Mo... | val va_lemma_Aes_counter_loop : va_b0:va_code -> va_s0:va_state -> alg:algorithm ->
plain_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_Aes_counter_loop alg) va_s0 /\ va_get_ok va_s0 /\
... | false | null | false | let va_mods:va_mods_t =
[
va_Mod_mem_heaplet 1; va_Mod_flags; va_Mod_reg64 rR12; va_Mod_reg64 rRdi; va_Mod_reg64 rR10;
va_Mod_reg64 rRdx; va_Mod_reg64 rR9; va_Mod_reg64 rRax; va_Mod_xmm 14; va_Mod_xmm 13;
va_Mod_xmm 12; va_Mod_xmm 2; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 6;
va_Mod_xmm 1... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [] | [
"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",
"... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_lemma_Aes_counter_loop : va_b0:va_code -> va_s0:va_state -> alg:algorithm ->
plain_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_Aes_counter_loop alg) va_s0 /\ va_get_ok va_s0 /\
... | [] | Vale.AES.X64.AESCTRplain.va_lemma_Aes_counter_loop | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
plain_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 ->
k... | {
"end_col": 16,
"end_line": 1456,
"start_col": 83,
"start_line": 1419
} |
Prims.Tot | val va_wp_Aes_counter_loop_body0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
(va... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_wp_Aes_counter_loop_body0 (va_old:va_state) (alg:algorithm) (va_in_icb_BE:quad32)
(va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128)
(va_in_plain_b:buffer128) (va_in_round_keys:(seq quad32)) (va_in_count:nat) (va_s0:va_state)
(va_k:(va_state -> nat -> Type0)) : T... | val va_wp_Aes_counter_loop_body0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
(va... | false | null | false | (va_get_ok va_s0 /\ sse_enabled /\
(0 < va_get_reg64 rRdx va_old /\ 4 `op_Multiply` (va_get_reg64 rRdx va_old) < pow2_32 - 4) /\
(0 <= va_get_reg64 rRdx va_s0 /\ va_get_reg64 rRdx va_s0 <= va_get_reg64 rRdx va_old) /\
va_in_count == va_get_reg64 rRdx va_old - va_get_reg64 rRdx va_s0 /\
(0 <= va_in_count /\ va_i... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.sse_enabled",
"Prims.op_LessThan",
... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_wp_Aes_counter_loop_body0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
(va... | [] | Vale.AES.X64.AESCTRplain.va_wp_Aes_counter_loop_body0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_icb_BE: Vale.X64.Decls.quad32 ->
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 ->
va_in_out_b: Vale.X64.Memory.buffer128 -... | {
"end_col": 21,
"end_line": 842,
"start_col": 2,
"start_line": 759
} |
Prims.Tot | val va_wp_Aes_counter_loop_while0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
(v... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_wp_Aes_counter_loop_while0 (va_old:va_state) (alg:algorithm) (va_in_icb_BE:quad32)
(va_in_key:(seq nat32)) (va_in_keys_b:buffer128) (va_in_old_iv:quad32) (va_in_out_b:buffer128)
(va_in_plain_b:buffer128) (va_in_round_keys:(seq quad32)) (va_in_count:nat) (va_s0:va_state)
(va_k:(va_state -> nat -> Type0)) : ... | val va_wp_Aes_counter_loop_while0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
(v... | false | null | false | (va_get_ok va_s0 /\ sse_enabled /\
(0 < va_get_reg64 rRdx va_old /\ 4 `op_Multiply` (va_get_reg64 rRdx va_old) < pow2_32 - 4) /\
(0 <= va_get_reg64 rRdx va_s0 /\ va_get_reg64 rRdx va_s0 <= va_get_reg64 rRdx va_old) /\
va_in_count == va_get_reg64 rRdx va_old - va_get_reg64 rRdx va_s0 /\
(0 <= va_in_count /\ va_i... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.sse_enabled",
"Prims.op_LessThan",
... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | true | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_wp_Aes_counter_loop_while0
(va_old: va_state)
(alg: algorithm)
(va_in_icb_BE: quad32)
(va_in_key: (seq nat32))
(va_in_keys_b: buffer128)
(va_in_old_iv: quad32)
(va_in_out_b va_in_plain_b: buffer128)
(va_in_round_keys: (seq quad32))
(va_in_count: nat)
(v... | [] | Vale.AES.X64.AESCTRplain.va_wp_Aes_counter_loop_while0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_icb_BE: Vale.X64.Decls.quad32 ->
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 ->
va_in_out_b: Vale.X64.Memory.buffer128 -... | {
"end_col": 77,
"end_line": 1237,
"start_col": 2,
"start_line": 1155
} |
Prims.Ghost | val va_lemma_Aes_counter_loop_body0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_icb_BE:quad32 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 ->
va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_plain_b:buffer128 -> va_in_round_keys:(seq
quad32) -> va_in_count:nat
-> Gh... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_lemma_Aes_counter_loop_body0 va_b0 va_s0 va_old alg va_in_icb_BE va_in_key va_in_keys_b
va_in_old_iv va_in_out_b va_in_plain_b va_in_round_keys va_in_count =
let va_old = va_expand_state va_old in
let (va_mods:va_mods_t) = [va_Mod_xmm 9; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4;
va_Mod_xm... | val va_lemma_Aes_counter_loop_body0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_icb_BE:quad32 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 ->
va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_plain_b:buffer128 -> va_in_round_keys:(seq
quad32) -> va_in_count:nat
-> Gh... | false | null | false | let va_old = va_expand_state va_old in
let va_mods:va_mods_t =
[
va_Mod_xmm 9; 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 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 10; va_Mod_reg64 rRdx; va_Mod_reg64 rR9;
va_Mod_reg64 rR12; va_Mod_reg64 rR10; va_Mod_o... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Vale.X64.QuickCodes.fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.Decls.va_fuel",
"P... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_lemma_Aes_counter_loop_body0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_icb_BE:quad32 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 ->
va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_plain_b:buffer128 -> va_in_round_keys:(seq
quad32) -> va_in_count:nat
-> Gh... | [] | Vale.AES.X64.AESCTRplain.va_lemma_Aes_counter_loop_body0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
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_icb_BE: Vale.X64.Decls.quad32 ->
va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 ->
va_in_keys_b: Vale.X64.Memory.buffer128 ->
va_in_ol... | {
"end_col": 23,
"end_line": 752,
"start_col": 71,
"start_line": 658
} |
Prims.Ghost | val va_lemma_Aes_counter_loop_while0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_icb_BE:quad32 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 ->
va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_plain_b:buffer128 -> va_in_round_keys:(seq
quad32) -> va_in_count:nat
-> G... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_lemma_Aes_counter_loop_while0 va_b0 va_s0 va_old alg va_in_icb_BE va_in_key va_in_keys_b
va_in_old_iv va_in_out_b va_in_plain_b va_in_round_keys va_in_count =
let va_old = va_expand_state va_old in
let (va_mods:va_mods_t) = [va_Mod_xmm 9; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4;
va_Mod_x... | val va_lemma_Aes_counter_loop_while0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_icb_BE:quad32 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 ->
va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_plain_b:buffer128 -> va_in_round_keys:(seq
quad32) -> va_in_count:nat
-> G... | false | null | false | let va_old = va_expand_state va_old in
let va_mods:va_mods_t =
[
va_Mod_xmm 9; 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 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 10; va_Mod_reg64 rRdx; va_Mod_reg64 rR9;
va_Mod_reg64 rR12; va_Mod_reg64 rR10; va_Mod_o... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Memory.buffer128",
"Prims.nat",
"Vale.X64.QuickCodes.fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.Decls.va_fuel",
"P... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_lemma_Aes_counter_loop_while0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_icb_BE:quad32 -> va_in_key:(seq nat32) -> va_in_keys_b:buffer128 ->
va_in_old_iv:quad32 -> va_in_out_b:buffer128 -> va_in_plain_b:buffer128 -> va_in_round_keys:(seq
quad32) -> va_in_count:nat
-> G... | [] | Vale.AES.X64.AESCTRplain.va_lemma_Aes_counter_loop_while0 | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
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_icb_BE: Vale.X64.Decls.quad32 ->
va_in_key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 ->
va_in_keys_b: Vale.X64.Memory.buffer128 ->
va_in_ol... | {
"end_col": 23,
"end_line": 1148,
"start_col": 71,
"start_line": 1054
} |
Prims.Tot | val va_qcode_Aes_ctr_loop_body
(va_mods: va_mods_t)
(alg: algorithm)
(old_plain_ptr old_out_ptr old_num_quad_blocks: nat64)
(count: nat)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
(icb_BE iv: quad32)
: (va_quickC... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_qcode_Aes_ctr_loop_body (va_mods:va_mods_t) (alg:algorithm) (old_plain_ptr:nat64)
(old_out_ptr:nat64) (old_num_quad_blocks:nat64) (count:nat) (plain_b:buffer128) (out_b:buffer128)
(key:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (icb_BE:quad32) (iv:quad32) :
(va_quickCode unit (va_code_Aes_ct... | val va_qcode_Aes_ctr_loop_body
(va_mods: va_mods_t)
(alg: algorithm)
(old_plain_ptr old_out_ptr old_num_quad_blocks: nat64)
(count: nat)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
(icb_BE iv: quad32)
: (va_quickC... | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let va_arg94:Vale.Def.Types_s.quad32 = iv in
let va_arg93:Vale.Def.Types_s.quad32 = va_get_xmm 2 va_s in
va_qPURE va_range1
"***** PRECONDITION NOT MET AT line 140 column 32 of file /home/gebner/everes... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Memory.nat64",
"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",
"V... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_qcode_Aes_ctr_loop_body
(va_mods: va_mods_t)
(alg: algorithm)
(old_plain_ptr old_out_ptr old_num_quad_blocks: nat64)
(count: nat)
(plain_b out_b: buffer128)
(key: (seq nat32))
(round_keys: (seq quad32))
(keys_b: buffer128)
(icb_BE iv: quad32)
: (va_quickC... | [] | Vale.AES.X64.AESCTRplain.va_qcode_Aes_ctr_loop_body | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_mods: Vale.X64.QuickCode.va_mods_t ->
alg: Vale.AES.AES_common_s.algorithm ->
old_plain_ptr: Vale.X64.Memory.nat64 ->
old_out_ptr: Vale.X64.Memory.nat64 ->
old_num_quad_blocks: Vale.X64.Memory.nat64 ->
count: Prims.nat ->
plain_b: Vale.X64.Memory.buffer128 ->
out_b: Vale.X64.Memory.b... | {
"end_col": 68,
"end_line": 293,
"start_col": 2,
"start_line": 126
} |
Prims.Ghost | val va_lemma_Aes_ctr_loop_body : va_b0:va_code -> va_s0:va_state -> alg:algorithm ->
old_plain_ptr:nat64 -> old_out_ptr:nat64 -> old_num_quad_blocks:nat64 -> count:nat ->
plain_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) ->
keys_b:buffer128 -> icb_BE:quad32 -> iv:quad32
-> Ghost... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math // For lemma_poly_bits64()",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESCTR",
"short_module": null... | false | let va_lemma_Aes_ctr_loop_body va_b0 va_s0 alg old_plain_ptr old_out_ptr old_num_quad_blocks count
plain_b out_b key round_keys keys_b icb_BE iv =
let (va_mods:va_mods_t) = [va_Mod_mem_heaplet 1; va_Mod_flags; va_Mod_reg64 rR12; va_Mod_reg64
rR10; va_Mod_reg64 rRdx; va_Mod_reg64 rR9; va_Mod_xmm 7; va_Mod_xmm 14... | val va_lemma_Aes_ctr_loop_body : va_b0:va_code -> va_s0:va_state -> alg:algorithm ->
old_plain_ptr:nat64 -> old_out_ptr:nat64 -> old_num_quad_blocks:nat64 -> count:nat ->
plain_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) ->
keys_b:buffer128 -> icb_BE:quad32 -> iv:quad32
-> Ghost... | false | null | false | let va_mods:va_mods_t =
[
va_Mod_mem_heaplet 1; va_Mod_flags; va_Mod_reg64 rR12; va_Mod_reg64 rR10; va_Mod_reg64 rRdx;
va_Mod_reg64 rR9; va_Mod_xmm 7; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 2;
va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 6; va_Mod_xmm 10; va_Mod_xmm 9; va_Mod_ok;
... | {
"checked_file": "Vale.AES.X64.AESCTRplain.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Memory.nat64",
"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.... | [] | module Vale.AES.X64.AESCTRplain
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
open Vale.X6... | false | false | Vale.AES.X64.AESCTRplain.fst | {
"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... | null | val va_lemma_Aes_ctr_loop_body : va_b0:va_code -> va_s0:va_state -> alg:algorithm ->
old_plain_ptr:nat64 -> old_out_ptr:nat64 -> old_num_quad_blocks:nat64 -> count:nat ->
plain_b:buffer128 -> out_b:buffer128 -> key:(seq nat32) -> round_keys:(seq quad32) ->
keys_b:buffer128 -> icb_BE:quad32 -> iv:quad32
-> Ghost... | [] | Vale.AES.X64.AESCTRplain.va_lemma_Aes_ctr_loop_body | {
"file_name": "obj/Vale.AES.X64.AESCTRplain.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
old_plain_ptr: Vale.X64.Memory.nat64 ->
old_out_ptr: Vale.X64.Memory.nat64 ->
old_num_quad_blocks: Vale.X64.Memory.nat64 ->
count: Prims.nat ->
plain_b: Vale.X64.Memory.buffer128 -... | {
"end_col": 16,
"end_line": 420,
"start_col": 49,
"start_line": 366
} |
Prims.GTot | val as_mem (h:ME.vale_heap) : GTot IB.interop_heap | [
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.HeapImpl",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "DV"
},
{
"abbrev": true,
"f... | false | let as_mem h = _ih h | val as_mem (h:ME.vale_heap) : GTot IB.interop_heap
let as_mem h = | false | null | false | _ih h | {
"checked_file": "Vale.X64.MemoryAdapters.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.Interop.Base.fst.check... | [
"sometrivial"
] | [
"Vale.X64.Memory.vale_heap",
"Vale.Arch.HeapImpl._ih",
"Vale.Interop.Heap_s.interop_heap"
] | [] | module Vale.X64.MemoryAdapters
open FStar.Mul
open Vale.Interop.Base
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module IB = Vale.Interop.Base
module VS = Vale.X64.State
module T = FStar.Tactics
module B = LowStar.Buffer
module DV = LowStar.BufferView.Down
open Vale.Arch.HeapImpl
open Vale.Arch.Heap
frie... | false | false | Vale.X64.MemoryAdapters.fst | {
"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... | null | val as_mem (h:ME.vale_heap) : GTot IB.interop_heap | [] | Vale.X64.MemoryAdapters.as_mem | {
"file_name": "vale/code/arch/x64/interop/Vale.X64.MemoryAdapters.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h: Vale.X64.Memory.vale_heap -> Prims.GTot Vale.Interop.Heap_s.interop_heap | {
"end_col": 20,
"end_line": 31,
"start_col": 15,
"start_line": 31
} |
Prims.GTot | val create_initial_vale_heap (ih:IB.interop_heap) : GTot vale_heap | [
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.HeapImpl",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "DV"
},
{
"abbrev": true,
"f... | false | let create_initial_vale_heap ih = (heap_create_impl ih (Map.const Secret)).vf_heap | val create_initial_vale_heap (ih:IB.interop_heap) : GTot vale_heap
let create_initial_vale_heap ih = | false | null | false | (heap_create_impl ih (Map.const Secret)).vf_heap | {
"checked_file": "Vale.X64.MemoryAdapters.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.Interop.Base.fst.check... | [
"sometrivial"
] | [
"Vale.Interop.Heap_s.interop_heap",
"Vale.Arch.HeapImpl.__proj__Mkvale_full_heap__item__vf_heap",
"Vale.Arch.Heap.heap_create_impl",
"FStar.Map.const",
"Prims.int",
"Vale.Arch.HeapTypes_s.taint",
"Vale.Arch.HeapTypes_s.Secret",
"Vale.Arch.HeapImpl.vale_heap"
] | [] | module Vale.X64.MemoryAdapters
open FStar.Mul
open Vale.Interop.Base
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module IB = Vale.Interop.Base
module VS = Vale.X64.State
module T = FStar.Tactics
module B = LowStar.Buffer
module DV = LowStar.BufferView.Down
open Vale.Arch.HeapImpl
open Vale.Arch.Heap
frie... | false | false | Vale.X64.MemoryAdapters.fst | {
"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... | null | val create_initial_vale_heap (ih:IB.interop_heap) : GTot vale_heap | [] | Vale.X64.MemoryAdapters.create_initial_vale_heap | {
"file_name": "vale/code/arch/x64/interop/Vale.X64.MemoryAdapters.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | ih: Vale.Interop.Heap_s.interop_heap -> Prims.GTot Vale.Arch.HeapImpl.vale_heap | {
"end_col": 82,
"end_line": 33,
"start_col": 34,
"start_line": 33
} |
Prims.GTot | val as_vale_buffer (#src #t:base_typ) (i:IB.buf_t src t) : GTot (ME.buffer t) | [
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.HeapImpl",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "DV"
},
{
"abbrev": true,
"f... | false | let as_vale_buffer #src #t i =
DV.length_eq (get_downview i);
IB.mut_to_b8 src i | val as_vale_buffer (#src #t:base_typ) (i:IB.buf_t src t) : GTot (ME.buffer t)
let as_vale_buffer #src #t i = | false | null | false | DV.length_eq (get_downview i);
IB.mut_to_b8 src i | {
"checked_file": "Vale.X64.MemoryAdapters.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.Interop.Base.fst.check... | [
"sometrivial"
] | [
"Vale.Arch.HeapTypes_s.base_typ",
"Vale.Interop.Base.buf_t",
"Vale.Interop.Base.mut_to_b8",
"Prims.unit",
"LowStar.BufferView.Down.length_eq",
"FStar.UInt8.t",
"Vale.Interop.Types.get_downview",
"LowStar.Buffer.trivial_preorder",
"Vale.Interop.Types.base_typ_as_type",
"Vale.X64.Memory.buffer"
] | [] | module Vale.X64.MemoryAdapters
open FStar.Mul
open Vale.Interop.Base
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module IB = Vale.Interop.Base
module VS = Vale.X64.State
module T = FStar.Tactics
module B = LowStar.Buffer
module DV = LowStar.BufferView.Down
open Vale.Arch.HeapImpl
open Vale.Arch.Heap
frie... | false | false | Vale.X64.MemoryAdapters.fst | {
"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... | null | val as_vale_buffer (#src #t:base_typ) (i:IB.buf_t src t) : GTot (ME.buffer t) | [] | Vale.X64.MemoryAdapters.as_vale_buffer | {
"file_name": "vale/code/arch/x64/interop/Vale.X64.MemoryAdapters.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | i: Vale.Interop.Base.buf_t src t -> Prims.GTot (Vale.X64.Memory.buffer t) | {
"end_col": 20,
"end_line": 22,
"start_col": 2,
"start_line": 21
} |
Prims.GTot | val as_vale_immbuffer (#src #t:base_typ) (i:IB.ibuf_t src t) : GTot (ME.buffer t) | [
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.HeapImpl",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "DV"
},
{
"abbrev": true,
"f... | false | let as_vale_immbuffer #src #t i =
DV.length_eq (get_downview i);
IB.imm_to_b8 src i | val as_vale_immbuffer (#src #t:base_typ) (i:IB.ibuf_t src t) : GTot (ME.buffer t)
let as_vale_immbuffer #src #t i = | false | null | false | DV.length_eq (get_downview i);
IB.imm_to_b8 src i | {
"checked_file": "Vale.X64.MemoryAdapters.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.Interop.Base.fst.check... | [
"sometrivial"
] | [
"Vale.Arch.HeapTypes_s.base_typ",
"Vale.Interop.Base.ibuf_t",
"Vale.Interop.Base.imm_to_b8",
"Prims.unit",
"LowStar.BufferView.Down.length_eq",
"FStar.UInt8.t",
"Vale.Interop.Types.get_downview",
"LowStar.ImmutableBuffer.immutable_preorder",
"Vale.Interop.Types.base_typ_as_type",
"Vale.X64.Memory.... | [] | module Vale.X64.MemoryAdapters
open FStar.Mul
open Vale.Interop.Base
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module IB = Vale.Interop.Base
module VS = Vale.X64.State
module T = FStar.Tactics
module B = LowStar.Buffer
module DV = LowStar.BufferView.Down
open Vale.Arch.HeapImpl
open Vale.Arch.Heap
frie... | false | false | Vale.X64.MemoryAdapters.fst | {
"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... | null | val as_vale_immbuffer (#src #t:base_typ) (i:IB.ibuf_t src t) : GTot (ME.buffer t) | [] | Vale.X64.MemoryAdapters.as_vale_immbuffer | {
"file_name": "vale/code/arch/x64/interop/Vale.X64.MemoryAdapters.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | i: Vale.Interop.Base.ibuf_t src t -> Prims.GTot (Vale.X64.Memory.buffer t) | {
"end_col": 20,
"end_line": 26,
"start_col": 2,
"start_line": 25
} |
Prims.Ghost | val create_initial_vale_full_heap (ih:IB.interop_heap) (mt:memTaint_t) : Ghost vale_full_heap
(requires True)
(ensures fun h ->
h == coerce (heap_create_impl ih mt) /\
ME.mem_inv h /\
ME.is_initial_heap h.vf_layout h.vf_heap /\
ME.get_heaplet_id h.vf_heap == None /\
h.vf_heap == create_initial_v... | [
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.HeapImpl",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "DV"
},
{
"abbrev": true,
"f... | false | let create_initial_vale_full_heap ih mt =
let vfh = heap_create_impl ih mt in
let vfh:(vfh:vale_full_heap{
vfh.vf_heap.mh == (Map16.sel vfh.vf_heaplets 0).mh /\
vfh.vf_heap.ih == (Map16.sel vfh.vf_heaplets 0).ih})
=
vfh
in
let h = vfh in
let h1 = h.vf_heap in
let h2 = (Map16.sel h.vf_hea... | val create_initial_vale_full_heap (ih:IB.interop_heap) (mt:memTaint_t) : Ghost vale_full_heap
(requires True)
(ensures fun h ->
h == coerce (heap_create_impl ih mt) /\
ME.mem_inv h /\
ME.is_initial_heap h.vf_layout h.vf_heap /\
ME.get_heaplet_id h.vf_heap == None /\
h.vf_heap == create_initial_v... | false | null | false | let vfh = heap_create_impl ih mt in
let vfh:(vfh:
vale_full_heap
{ vfh.vf_heap.mh == (Map16.sel vfh.vf_heaplets 0).mh /\
vfh.vf_heap.ih == (Map16.sel vfh.vf_heaplets 0).ih }) =
vfh
in
let h = vfh in
let h1 = h.vf_heap in
let h2 = (Map16.sel h.vf_heaplets 0) in
assert (h1.mh == h2.mh);
assert (h1.ih == h2.... | {
"checked_file": "Vale.X64.MemoryAdapters.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Memory.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.X64.Decls.fst.checked",
"Vale.Interop.Base.fst.check... | [] | [
"Vale.Interop.Heap_s.interop_heap",
"Vale.Arch.HeapTypes_s.memTaint_t",
"Vale.Arch.Heap.heap_create_impl",
"Prims.unit",
"Prims._assert",
"Vale.X64.Memory.mem_inv",
"Prims.eq2",
"FStar.Ghost.erased",
"Prims.l_or",
"Vale.Arch.MachineHeap_s.machine_heap",
"Vale.Arch.HeapImpl.__proj__ValeHeap__item... | [] | module Vale.X64.MemoryAdapters
open FStar.Mul
open Vale.Interop.Base
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module IB = Vale.Interop.Base
module VS = Vale.X64.State
module T = FStar.Tactics
module B = LowStar.Buffer
module DV = LowStar.BufferView.Down
open Vale.Arch.HeapImpl
open Vale.Arch.Heap
frie... | false | false | Vale.X64.MemoryAdapters.fst | {
"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... | null | val create_initial_vale_full_heap (ih:IB.interop_heap) (mt:memTaint_t) : Ghost vale_full_heap
(requires True)
(ensures fun h ->
h == coerce (heap_create_impl ih mt) /\
ME.mem_inv h /\
ME.is_initial_heap h.vf_layout h.vf_heap /\
ME.get_heaplet_id h.vf_heap == None /\
h.vf_heap == create_initial_v... | [] | Vale.X64.MemoryAdapters.create_initial_vale_full_heap | {
"file_name": "vale/code/arch/x64/interop/Vale.X64.MemoryAdapters.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | ih: Vale.Interop.Heap_s.interop_heap -> mt: Vale.Arch.HeapTypes_s.memTaint_t
-> Prims.Ghost Vale.Arch.HeapImpl.vale_full_heap | {
"end_col": 24,
"end_line": 49,
"start_col": 41,
"start_line": 34
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.AES.OptPublic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full... | false | let disjoint_or_eq (b1 b2:uint8_p) = B.disjoint b1 b2 \/ b1 == b2 | let disjoint_or_eq (b1 b2: uint8_p) = | false | null | false | B.disjoint b1 b2 \/ b1 == b2 | {
"checked_file": "Vale.Wrapper.X64.GCMencryptOpt256.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.GCMencryptOpt.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s... | [
"total"
] | [
"Vale.Wrapper.X64.GCMencryptOpt256.uint8_p",
"Prims.l_or",
"LowStar.Monotonic.Buffer.disjoint",
"FStar.UInt8.t",
"LowStar.Buffer.trivial_preorder",
"Prims.eq2",
"Prims.logical"
] | [] | module Vale.Wrapper.X64.GCMencryptOpt256
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open Vale.AsLowStar.MemoryHelpers
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
op... | false | true | Vale.Wrapper.X64.GCMencryptOpt256.fsti | {
"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... | null | val disjoint_or_eq : b1: Vale.Wrapper.X64.GCMencryptOpt256.uint8_p -> b2: Vale.Wrapper.X64.GCMencryptOpt256.uint8_p
-> Prims.logical | [] | Vale.Wrapper.X64.GCMencryptOpt256.disjoint_or_eq | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt256.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b1: Vale.Wrapper.X64.GCMencryptOpt256.uint8_p -> b2: Vale.Wrapper.X64.GCMencryptOpt256.uint8_p
-> Prims.logical | {
"end_col": 65,
"end_line": 27,
"start_col": 37,
"start_line": 27
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.AES.OptPublic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full... | false | let uint64 = UInt64.t | let uint64 = | false | null | false | UInt64.t | {
"checked_file": "Vale.Wrapper.X64.GCMencryptOpt256.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.GCMencryptOpt.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s... | [
"total"
] | [
"FStar.UInt64.t"
] | [] | module Vale.Wrapper.X64.GCMencryptOpt256
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open Vale.AsLowStar.MemoryHelpers
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
op... | false | true | Vale.Wrapper.X64.GCMencryptOpt256.fsti | {
"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... | null | val uint64 : Prims.eqtype | [] | Vale.Wrapper.X64.GCMencryptOpt256.uint64 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt256.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.eqtype | {
"end_col": 21,
"end_line": 25,
"start_col": 13,
"start_line": 25
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.AES.OptPublic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full... | false | let uint8_p = B.buffer UInt8.t | let uint8_p = | false | null | false | B.buffer UInt8.t | {
"checked_file": "Vale.Wrapper.X64.GCMencryptOpt256.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.GCMencryptOpt.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s... | [
"total"
] | [
"LowStar.Buffer.buffer",
"FStar.UInt8.t"
] | [] | module Vale.Wrapper.X64.GCMencryptOpt256
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open Vale.AsLowStar.MemoryHelpers
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
op... | false | true | Vale.Wrapper.X64.GCMencryptOpt256.fsti | {
"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... | null | val uint8_p : Type0 | [] | Vale.Wrapper.X64.GCMencryptOpt256.uint8_p | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt256.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 30,
"end_line": 24,
"start_col": 14,
"start_line": 24
} | |
FStar.Pervasives.Lemma | val length_aux5 (b: uint8_p)
: Lemma (requires B.length b = 128) (ensures DV.length (get_downview b) % 16 = 0) | [
{
"abbrev": false,
"full_module": "Vale.AES.OptPublic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full... | false | let length_aux5 (b:uint8_p) : Lemma
(requires B.length b = 128)
(ensures DV.length (get_downview b) % 16 = 0) =
let db = get_downview b in
DV.length_eq db | val length_aux5 (b: uint8_p)
: Lemma (requires B.length b = 128) (ensures DV.length (get_downview b) % 16 = 0)
let length_aux5 (b: uint8_p)
: Lemma (requires B.length b = 128) (ensures DV.length (get_downview b) % 16 = 0) = | false | null | true | let db = get_downview b in
DV.length_eq db | {
"checked_file": "Vale.Wrapper.X64.GCMencryptOpt256.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.GCMencryptOpt.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s... | [
"lemma"
] | [
"Vale.Wrapper.X64.GCMencryptOpt256.uint8_p",
"LowStar.BufferView.Down.length_eq",
"FStar.UInt8.t",
"LowStar.BufferView.Down.buffer",
"Vale.Interop.Types.get_downview",
"Vale.Arch.HeapTypes_s.TUInt8",
"LowStar.Buffer.trivial_preorder",
"Prims.unit",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
... | [] | module Vale.Wrapper.X64.GCMencryptOpt256
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open Vale.AsLowStar.MemoryHelpers
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
op... | false | false | Vale.Wrapper.X64.GCMencryptOpt256.fsti | {
"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... | null | val length_aux5 (b: uint8_p)
: Lemma (requires B.length b = 128) (ensures DV.length (get_downview b) % 16 = 0) | [] | Vale.Wrapper.X64.GCMencryptOpt256.length_aux5 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt256.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b: Vale.Wrapper.X64.GCMencryptOpt256.uint8_p
-> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 128)
(ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0) | {
"end_col": 19,
"end_line": 58,
"start_col": 49,
"start_line": 56
} |
FStar.Pervasives.Lemma | val length_aux2 (b: uint8_p)
: Lemma (requires B.length b = 240) (ensures DV.length (get_downview b) % 16 = 0) | [
{
"abbrev": false,
"full_module": "Vale.AES.OptPublic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full... | false | let length_aux2 (b:uint8_p) : Lemma
(requires B.length b = 240)
(ensures DV.length (get_downview b) % 16 = 0) =
let db = get_downview b in
DV.length_eq db | val length_aux2 (b: uint8_p)
: Lemma (requires B.length b = 240) (ensures DV.length (get_downview b) % 16 = 0)
let length_aux2 (b: uint8_p)
: Lemma (requires B.length b = 240) (ensures DV.length (get_downview b) % 16 = 0) = | false | null | true | let db = get_downview b in
DV.length_eq db | {
"checked_file": "Vale.Wrapper.X64.GCMencryptOpt256.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.GCMencryptOpt.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s... | [
"lemma"
] | [
"Vale.Wrapper.X64.GCMencryptOpt256.uint8_p",
"LowStar.BufferView.Down.length_eq",
"FStar.UInt8.t",
"LowStar.BufferView.Down.buffer",
"Vale.Interop.Types.get_downview",
"Vale.Arch.HeapTypes_s.TUInt8",
"LowStar.Buffer.trivial_preorder",
"Prims.unit",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
... | [] | module Vale.Wrapper.X64.GCMencryptOpt256
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open Vale.AsLowStar.MemoryHelpers
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
op... | false | false | Vale.Wrapper.X64.GCMencryptOpt256.fsti | {
"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... | null | val length_aux2 (b: uint8_p)
: Lemma (requires B.length b = 240) (ensures DV.length (get_downview b) % 16 = 0) | [] | Vale.Wrapper.X64.GCMencryptOpt256.length_aux2 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt256.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b: Vale.Wrapper.X64.GCMencryptOpt256.uint8_p
-> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 240)
(ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0) | {
"end_col": 19,
"end_line": 39,
"start_col": 49,
"start_line": 37
} |
FStar.Pervasives.Lemma | val length_aux (b: uint8_p)
: Lemma (requires B.length b = 176) (ensures DV.length (get_downview b) % 16 = 0) | [
{
"abbrev": false,
"full_module": "Vale.AES.OptPublic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full... | false | let length_aux (b:uint8_p) : Lemma
(requires B.length b = 176)
(ensures DV.length (get_downview b) % 16 = 0) =
let db = get_downview b in
DV.length_eq db | val length_aux (b: uint8_p)
: Lemma (requires B.length b = 176) (ensures DV.length (get_downview b) % 16 = 0)
let length_aux (b: uint8_p)
: Lemma (requires B.length b = 176) (ensures DV.length (get_downview b) % 16 = 0) = | false | null | true | let db = get_downview b in
DV.length_eq db | {
"checked_file": "Vale.Wrapper.X64.GCMencryptOpt256.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.GCMencryptOpt.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s... | [
"lemma"
] | [
"Vale.Wrapper.X64.GCMencryptOpt256.uint8_p",
"LowStar.BufferView.Down.length_eq",
"FStar.UInt8.t",
"LowStar.BufferView.Down.buffer",
"Vale.Interop.Types.get_downview",
"Vale.Arch.HeapTypes_s.TUInt8",
"LowStar.Buffer.trivial_preorder",
"Prims.unit",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
... | [] | module Vale.Wrapper.X64.GCMencryptOpt256
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open Vale.AsLowStar.MemoryHelpers
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
op... | false | false | Vale.Wrapper.X64.GCMencryptOpt256.fsti | {
"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... | null | val length_aux (b: uint8_p)
: Lemma (requires B.length b = 176) (ensures DV.length (get_downview b) % 16 = 0) | [] | Vale.Wrapper.X64.GCMencryptOpt256.length_aux | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt256.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b: Vale.Wrapper.X64.GCMencryptOpt256.uint8_p
-> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 176)
(ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0) | {
"end_col": 19,
"end_line": 33,
"start_col": 49,
"start_line": 31
} |
FStar.Pervasives.Lemma | val length_aux4 (b: uint8_p)
: Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) % 16 = 0) | [
{
"abbrev": false,
"full_module": "Vale.AES.OptPublic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full... | false | let length_aux4 (b:uint8_p) : Lemma
(requires B.length b = 16)
(ensures DV.length (get_downview b) % 16 = 0) =
let db = get_downview b in
DV.length_eq db | val length_aux4 (b: uint8_p)
: Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) % 16 = 0)
let length_aux4 (b: uint8_p)
: Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) % 16 = 0) = | false | null | true | let db = get_downview b in
DV.length_eq db | {
"checked_file": "Vale.Wrapper.X64.GCMencryptOpt256.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.GCMencryptOpt.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s... | [
"lemma"
] | [
"Vale.Wrapper.X64.GCMencryptOpt256.uint8_p",
"LowStar.BufferView.Down.length_eq",
"FStar.UInt8.t",
"LowStar.BufferView.Down.buffer",
"Vale.Interop.Types.get_downview",
"Vale.Arch.HeapTypes_s.TUInt8",
"LowStar.Buffer.trivial_preorder",
"Prims.unit",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
... | [] | module Vale.Wrapper.X64.GCMencryptOpt256
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open Vale.AsLowStar.MemoryHelpers
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
op... | false | false | Vale.Wrapper.X64.GCMencryptOpt256.fsti | {
"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... | null | val length_aux4 (b: uint8_p)
: Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) % 16 = 0) | [] | Vale.Wrapper.X64.GCMencryptOpt256.length_aux4 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt256.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b: Vale.Wrapper.X64.GCMencryptOpt256.uint8_p
-> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 16)
(ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0) | {
"end_col": 19,
"end_line": 52,
"start_col": 49,
"start_line": 50
} |
FStar.Pervasives.Lemma | val length_aux3 (b: uint8_p) (n: nat)
: Lemma (requires B.length b = 16 * n) (ensures DV.length (get_downview b) % 16 = 0) | [
{
"abbrev": false,
"full_module": "Vale.AES.OptPublic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full... | false | let length_aux3 (b:uint8_p) (n:nat) : Lemma
(requires B.length b = 16 * n)
(ensures DV.length (get_downview b) % 16 = 0) =
let db = get_downview b in
DV.length_eq db;
FStar.Math.Lemmas.cancel_mul_mod n 16 | val length_aux3 (b: uint8_p) (n: nat)
: Lemma (requires B.length b = 16 * n) (ensures DV.length (get_downview b) % 16 = 0)
let length_aux3 (b: uint8_p) (n: nat)
: Lemma (requires B.length b = 16 * n) (ensures DV.length (get_downview b) % 16 = 0) = | false | null | true | let db = get_downview b in
DV.length_eq db;
FStar.Math.Lemmas.cancel_mul_mod n 16 | {
"checked_file": "Vale.Wrapper.X64.GCMencryptOpt256.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.GCMencryptOpt.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s... | [
"lemma"
] | [
"Vale.Wrapper.X64.GCMencryptOpt256.uint8_p",
"Prims.nat",
"FStar.Math.Lemmas.cancel_mul_mod",
"Prims.unit",
"LowStar.BufferView.Down.length_eq",
"FStar.UInt8.t",
"LowStar.BufferView.Down.buffer",
"Vale.Interop.Types.get_downview",
"Vale.Arch.HeapTypes_s.TUInt8",
"LowStar.Buffer.trivial_preorder",
... | [] | module Vale.Wrapper.X64.GCMencryptOpt256
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open Vale.AsLowStar.MemoryHelpers
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
op... | false | false | Vale.Wrapper.X64.GCMencryptOpt256.fsti | {
"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... | null | val length_aux3 (b: uint8_p) (n: nat)
: Lemma (requires B.length b = 16 * n) (ensures DV.length (get_downview b) % 16 = 0) | [] | Vale.Wrapper.X64.GCMencryptOpt256.length_aux3 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMencryptOpt256.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b: Vale.Wrapper.X64.GCMencryptOpt256.uint8_p -> n: Prims.nat
-> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 16 * n)
(ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0) | {
"end_col": 41,
"end_line": 46,
"start_col": 49,
"start_line": 43
} |
Prims.Tot | [
{
"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",
"... | false | let symrel (a: Type u#a) = c:(a -> a -> prop) { (forall x y. c x y <==> c y x) } | let symrel (a: Type u#a) = | false | null | false | c: (a -> a -> prop){(forall x y. c x y <==> c y x)} | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"Prims.prop",
"Prims.l_Forall",
"Prims.l_iff"
] | [] | (*
Copyright 2020 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... | false | true | FStar.PCM.fst | {
"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... | null | val symrel : a: Type -> Type | [] | FStar.PCM.symrel | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | a: Type -> Type | {
"end_col": 80,
"end_line": 24,
"start_col": 27,
"start_line": 24
} | |
Prims.Tot | [
{
"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",
"... | false | let composable (#a: Type u#a) (p:pcm a) (x y:a) = p.p.composable x y | let composable (#a: Type u#a) (p: pcm a) (x y: a) = | false | null | false | p.p.composable x y | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"FStar.PCM.__proj__Mkpcm'__item__composable",
"FStar.PCM.__proj__Mkpcm__item__p",
"Prims.prop"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val composable : p: FStar.PCM.pcm a -> x: a -> y: a -> Prims.prop | [] | FStar.PCM.composable | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm a -> x: a -> y: a -> Prims.prop | {
"end_col": 68,
"end_line": 82,
"start_col": 50,
"start_line": 82
} | |
Prims.Tot | val joinable (#a: _) (p: pcm a) (x y: a) : prop | [
{
"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",
"... | false | let joinable #a (p:pcm a) (x y : a) : prop =
exists z. compatible p x z /\ compatible p y z | val joinable (#a: _) (p: pcm a) (x y: a) : prop
let joinable #a (p: pcm a) (x: a) (y: a) : prop = | false | null | false | exists z. compatible p x z /\ compatible p y z | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"Prims.l_Exists",
"Prims.l_and",
"FStar.PCM.compatible",
"Prims.prop"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val joinable (#a: _) (p: pcm a) (x y: a) : prop | [] | FStar.PCM.joinable | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm a -> x: a -> y: a -> Prims.prop | {
"end_col": 48,
"end_line": 138,
"start_col": 2,
"start_line": 138
} |
Prims.Tot | [
{
"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",
"... | false | let exclusive (#a:Type u#a) (p:pcm a) (x:a) =
forall (frame:a). composable p x frame ==> frame == p.p.one | let exclusive (#a: Type u#a) (p: pcm a) (x: a) = | false | null | false | forall (frame: a). composable p x frame ==> frame == p.p.one | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"Prims.l_Forall",
"Prims.l_imp",
"FStar.PCM.composable",
"Prims.eq2",
"FStar.PCM.__proj__Mkpcm'__item__one",
"FStar.PCM.__proj__Mkpcm__item__p",
"Prims.logical"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val exclusive : p: FStar.PCM.pcm a -> x: a -> Prims.logical | [] | FStar.PCM.exclusive | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm a -> x: a -> Prims.logical | {
"end_col": 61,
"end_line": 186,
"start_col": 2,
"start_line": 186
} | |
Prims.Tot | [
{
"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",
"... | false | let lem_is_unit (#a: Type u#a) (p:pcm' a) =
x:a ->
Lemma (p.composable x p.one /\
p.op x p.one == x) | let lem_is_unit (#a: Type u#a) (p: pcm' a) = | false | null | false | x: a -> Lemma (p.composable x p.one /\ p.op x p.one == x) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm'",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_and",
"FStar.PCM.__proj__Mkpcm'__item__composable",
"FStar.PCM.__proj__Mkpcm'__item__one",
"Prims.eq2",
"FStar.PCM.__proj__Mkpcm'__item__op",
"Prims.Nil",
"FStar.Pervasives.pattern"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val lem_is_unit : p: FStar.PCM.pcm' a -> Type | [] | FStar.PCM.lem_is_unit | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm' a -> Type | {
"end_col": 27,
"end_line": 65,
"start_col": 2,
"start_line": 63
} | |
Prims.Tot | [
{
"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",
"... | false | let lem_commutative (#a: Type u#a) (p:pcm' a) =
x:a ->
y:a{p.composable x y} ->
Lemma (p.op x y == p.op y x) | let lem_commutative (#a: Type u#a) (p: pcm' a) = | false | null | false | x: a -> y: a{p.composable x y} -> Lemma (p.op x y == p.op y x) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm'",
"FStar.PCM.__proj__Mkpcm'__item__composable",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"FStar.PCM.__proj__Mkpcm'__item__op",
"Prims.Nil",
"FStar.Pervasives.pattern"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val lem_commutative : p: FStar.PCM.pcm' a -> Type | [] | FStar.PCM.lem_commutative | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm' a -> Type | {
"end_col": 32,
"end_line": 38,
"start_col": 2,
"start_line": 36
} | |
Prims.Tot | [
{
"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",
"... | false | let lem_assoc_l (#a: Type u#a) (p:pcm' a) =
x:a ->
y:a ->
z:a{p.composable y z /\ p.composable x (p.op y z)} ->
Lemma (p.composable x y /\
p.composable (p.op x y) z /\
p.op x (p.op y z) == p.op (p.op x y) z) | let lem_assoc_l (#a: Type u#a) (p: pcm' a) = | false | null | false | x: a -> y: a -> z: a{p.composable y z /\ p.composable x (p.op y z)}
-> Lemma (p.composable x y /\ p.composable (p.op x y) z /\ p.op x (p.op y z) == p.op (p.op x y) z) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm'",
"Prims.l_and",
"FStar.PCM.__proj__Mkpcm'__item__composable",
"FStar.PCM.__proj__Mkpcm'__item__op",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"Prims.Nil",
"FStar.Pervasives.pattern"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val lem_assoc_l : p: FStar.PCM.pcm' a -> Type | [] | FStar.PCM.lem_assoc_l | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm' a -> Type | {
"end_col": 48,
"end_line": 47,
"start_col": 2,
"start_line": 42
} | |
Prims.Tot | [
{
"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",
"... | false | let op (#a: Type u#a) (p:pcm a) (x:a) (y:a{composable p x y}) = p.p.op x y | let op (#a: Type u#a) (p: pcm a) (x: a) (y: a{composable p x y}) = | false | null | false | p.p.op x y | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"FStar.PCM.composable",
"FStar.PCM.__proj__Mkpcm'__item__op",
"FStar.PCM.__proj__Mkpcm__item__p"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val op : p: FStar.PCM.pcm a -> x: a -> y: a{FStar.PCM.composable p x y} -> a | [] | FStar.PCM.op | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm a -> x: a -> y: a{FStar.PCM.composable p x y} -> a | {
"end_col": 74,
"end_line": 85,
"start_col": 64,
"start_line": 85
} | |
Prims.Tot | [
{
"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",
"... | false | let compatible (#a: Type u#a) (pcm:pcm a) (x y:a) =
(exists (frame:a).
composable pcm x frame /\ op pcm frame x == y
) | let compatible (#a: Type u#a) (pcm: pcm a) (x y: a) = | false | null | false | (exists (frame: a). composable pcm x frame /\ op pcm frame x == y) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"Prims.l_Exists",
"Prims.l_and",
"FStar.PCM.composable",
"Prims.eq2",
"FStar.PCM.op",
"Prims.logical"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val compatible : pcm: FStar.PCM.pcm a -> x: a -> y: a -> Prims.logical | [] | FStar.PCM.compatible | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | pcm: FStar.PCM.pcm a -> x: a -> y: a -> Prims.logical | {
"end_col": 3,
"end_line": 94,
"start_col": 2,
"start_line": 92
} | |
Prims.Tot | [
{
"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",
"... | false | let lem_assoc_r (#a: Type u#a) (p:pcm' a) =
x:a ->
y:a ->
z:a {p.composable x y /\
p.composable (p.op x y) z} ->
Lemma
(p.composable y z /\
p.composable x (p.op y z) /\
p.op x (p.op y z) == p.op (p.op x y) z) | let lem_assoc_r (#a: Type u#a) (p: pcm' a) = | false | null | false | x: a -> y: a -> z: a{p.composable x y /\ p.composable (p.op x y) z}
-> Lemma (p.composable y z /\ p.composable x (p.op y z) /\ p.op x (p.op y z) == p.op (p.op x y) z) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm'",
"Prims.l_and",
"FStar.PCM.__proj__Mkpcm'__item__composable",
"FStar.PCM.__proj__Mkpcm'__item__op",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"Prims.Nil",
"FStar.Pervasives.pattern"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val lem_assoc_r : p: FStar.PCM.pcm' a -> Type | [] | FStar.PCM.lem_assoc_r | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm' a -> Type | {
"end_col": 46,
"end_line": 59,
"start_col": 2,
"start_line": 52
} | |
Prims.Tot | [
{
"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",
"... | false | let frame_compatible #a (p:pcm a) (x:FStar.Ghost.erased a) (v y:a) =
(forall (frame:a). {:pattern (composable p x frame)}
composable p x frame /\
v == op p x frame ==>
composable p y frame /\
v == op p y frame) | let frame_compatible #a (p: pcm a) (x: FStar.Ghost.erased a) (v: a) (y: a) = | false | null | false | (forall (frame: a). {:pattern (composable p x frame)}
composable p x frame /\ v == op p x frame ==> composable p y frame /\ v == op p y frame) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"FStar.Ghost.erased",
"Prims.l_Forall",
"Prims.l_imp",
"Prims.l_and",
"FStar.PCM.composable",
"FStar.Ghost.reveal",
"Prims.eq2",
"FStar.PCM.op",
"Prims.logical"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val frame_compatible : p: FStar.PCM.pcm a -> x: FStar.Ghost.erased a -> v: a -> y: a -> Prims.logical | [] | FStar.PCM.frame_compatible | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm a -> x: FStar.Ghost.erased a -> v: a -> y: a -> Prims.logical | {
"end_col": 30,
"end_line": 145,
"start_col": 2,
"start_line": 141
} | |
FStar.Pervasives.Lemma | val compatible_refl (#a: Type u#a) (pcm: pcm a) (x: a) : Lemma (compatible pcm x x) | [
{
"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",
"... | false | let compatible_refl
(#a: Type u#a) (pcm:pcm a) (x:a)
: Lemma (compatible pcm x x)
=
pcm.is_unit x;
pcm.comm x pcm.p.one;
assert (op pcm pcm.p.one x == x) | val compatible_refl (#a: Type u#a) (pcm: pcm a) (x: a) : Lemma (compatible pcm x x)
let compatible_refl (#a: Type u#a) (pcm: pcm a) (x: a) : Lemma (compatible pcm x x) = | false | null | true | pcm.is_unit x;
pcm.comm x pcm.p.one;
assert (op pcm pcm.p.one x == x) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"lemma"
] | [
"FStar.PCM.pcm",
"Prims._assert",
"Prims.eq2",
"FStar.PCM.op",
"FStar.PCM.__proj__Mkpcm'__item__one",
"FStar.PCM.__proj__Mkpcm__item__p",
"Prims.unit",
"FStar.PCM.__proj__Mkpcm__item__comm",
"FStar.PCM.__proj__Mkpcm__item__is_unit",
"Prims.l_True",
"Prims.squash",
"FStar.PCM.compatible",
"Pr... | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val compatible_refl (#a: Type u#a) (pcm: pcm a) (x: a) : Lemma (compatible pcm x x) | [] | FStar.PCM.compatible_refl | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | pcm: FStar.PCM.pcm a -> x: a -> FStar.Pervasives.Lemma (ensures FStar.PCM.compatible pcm x x) | {
"end_col": 34,
"end_line": 103,
"start_col": 2,
"start_line": 101
} |
FStar.Pervasives.Lemma | val exclusive_is_frame_preserving (#a: Type u#a) (p: pcm a) (x: a)
: Lemma (requires exclusive p x) (ensures frame_preserving p x p.p.one) | [
{
"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",
"... | false | let exclusive_is_frame_preserving (#a: Type u#a) (p:pcm a) (x:a)
: Lemma (requires exclusive p x)
(ensures frame_preserving p x p.p.one)
= p.is_unit x;
p.is_unit p.p.one | val exclusive_is_frame_preserving (#a: Type u#a) (p: pcm a) (x: a)
: Lemma (requires exclusive p x) (ensures frame_preserving p x p.p.one)
let exclusive_is_frame_preserving (#a: Type u#a) (p: pcm a) (x: a)
: Lemma (requires exclusive p x) (ensures frame_preserving p x p.p.one) = | false | null | true | p.is_unit x;
p.is_unit p.p.one | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"lemma"
] | [
"FStar.PCM.pcm",
"FStar.PCM.__proj__Mkpcm__item__is_unit",
"FStar.PCM.__proj__Mkpcm'__item__one",
"FStar.PCM.__proj__Mkpcm__item__p",
"Prims.unit",
"FStar.PCM.exclusive",
"Prims.squash",
"FStar.PCM.frame_preserving",
"Prims.Nil",
"FStar.Pervasives.pattern"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val exclusive_is_frame_preserving (#a: Type u#a) (p: pcm a) (x: a)
: Lemma (requires exclusive p x) (ensures frame_preserving p x p.p.one) | [] | FStar.PCM.exclusive_is_frame_preserving | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm a -> x: a
-> FStar.Pervasives.Lemma (requires FStar.PCM.exclusive p x)
(ensures FStar.PCM.frame_preserving p x (Mkpcm'?.one (Mkpcm?.p p))) | {
"end_col": 21,
"end_line": 193,
"start_col": 4,
"start_line": 192
} |
Prims.Tot | [
{
"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",
"... | false | let frame_preserving (#a: Type u#a) (pcm:pcm a) (x y: a) =
(forall frame. composable pcm frame x ==> composable pcm frame y) /\
(forall frame.{:pattern (composable pcm frame x)} composable pcm frame x ==> op pcm frame y == y) | let frame_preserving (#a: Type u#a) (pcm: pcm a) (x y: a) = | false | null | false | (forall frame. composable pcm frame x ==> composable pcm frame y) /\
(forall frame. {:pattern (composable pcm frame x)} composable pcm frame x ==> op pcm frame y == y) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"Prims.l_and",
"Prims.l_Forall",
"Prims.l_imp",
"FStar.PCM.composable",
"Prims.eq2",
"FStar.PCM.op",
"Prims.logical"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val frame_preserving : pcm: FStar.PCM.pcm a -> x: a -> y: a -> Prims.logical | [] | FStar.PCM.frame_preserving | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | pcm: FStar.PCM.pcm a -> x: a -> y: a -> Prims.logical | {
"end_col": 101,
"end_line": 173,
"start_col": 4,
"start_line": 172
} | |
Prims.Tot | val no_op_is_frame_preserving (#a: Type u#a) (p: pcm a) (x: a) : frame_preserving_upd p x x | [
{
"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",
"... | false | let no_op_is_frame_preserving (#a:Type u#a) (p:pcm a)
(x:a)
: frame_preserving_upd p x x
= fun v -> v | val no_op_is_frame_preserving (#a: Type u#a) (p: pcm a) (x: a) : frame_preserving_upd p x x
let no_op_is_frame_preserving (#a: Type u#a) (p: pcm a) (x: a) : frame_preserving_upd p x x = | false | null | false | fun v -> v | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"Prims.l_and",
"FStar.PCM.__proj__Mkpcm__item__refine",
"FStar.PCM.compatible",
"Prims.l_Forall",
"FStar.PCM.composable",
"Prims.l_imp",
"Prims.eq2",
"FStar.PCM.op",
"FStar.PCM.frame_preserving_upd"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val no_op_is_frame_preserving (#a: Type u#a) (p: pcm a) (x: a) : frame_preserving_upd p x x | [] | FStar.PCM.no_op_is_frame_preserving | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | p: FStar.PCM.pcm a -> x: a -> FStar.PCM.frame_preserving_upd p x x | {
"end_col": 14,
"end_line": 200,
"start_col": 4,
"start_line": 200
} |
FStar.Pervasives.Lemma | val compatible_trans (#a: Type u#a) (pcm: pcm a) (x y z: a)
: Lemma (requires (compatible pcm x y /\ compatible pcm y z)) (ensures (compatible pcm x z)) | [
{
"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",
"... | false | let compatible_trans
(#a: Type u#a) (pcm:pcm a) (x y z:a)
: Lemma (requires (compatible pcm x y /\ compatible pcm y z))
(ensures (compatible pcm x z))
= Classical.forall_intro_3 pcm.assoc | val compatible_trans (#a: Type u#a) (pcm: pcm a) (x y z: a)
: Lemma (requires (compatible pcm x y /\ compatible pcm y z)) (ensures (compatible pcm x z))
let compatible_trans (#a: Type u#a) (pcm: pcm a) (x y z: a)
: Lemma (requires (compatible pcm x y /\ compatible pcm y z)) (ensures (compatible pcm x z)) = | false | null | true | Classical.forall_intro_3 pcm.assoc | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"lemma"
] | [
"FStar.PCM.pcm",
"FStar.Classical.forall_intro_3",
"Prims.l_and",
"FStar.PCM.__proj__Mkpcm'__item__composable",
"FStar.PCM.__proj__Mkpcm__item__p",
"FStar.PCM.__proj__Mkpcm'__item__op",
"Prims.eq2",
"FStar.PCM.__proj__Mkpcm__item__assoc",
"Prims.unit",
"FStar.PCM.compatible",
"Prims.squash",
"... | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val compatible_trans (#a: Type u#a) (pcm: pcm a) (x y z: a)
: Lemma (requires (compatible pcm x y /\ compatible pcm y z)) (ensures (compatible pcm x z)) | [] | FStar.PCM.compatible_trans | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | pcm: FStar.PCM.pcm a -> x: a -> y: a -> z: a
-> FStar.Pervasives.Lemma (requires FStar.PCM.compatible pcm x y /\ FStar.PCM.compatible pcm y z)
(ensures FStar.PCM.compatible pcm x z) | {
"end_col": 38,
"end_line": 110,
"start_col": 4,
"start_line": 110
} |
Prims.Tot | val compose_frame_preserving_updates
(#a: Type u#a)
(p: pcm a)
(x y z: a)
(f: frame_preserving_upd p x y)
(g: frame_preserving_upd p y z)
: frame_preserving_upd p x z | [
{
"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",
"... | false | let compose_frame_preserving_updates (#a:Type u#a) (p:pcm a)
(x y z:a)
(f:frame_preserving_upd p x y)
(g:frame_preserving_upd p y z)
: frame_preserving_upd p x z
= fun v -> g (f v) | val compose_frame_preserving_updates
(#a: Type u#a)
(p: pcm a)
(x y z: a)
(f: frame_preserving_upd p x y)
(g: frame_preserving_upd p y z)
: frame_preserving_upd p x z
let compose_frame_preserving_updates
(#a: Type u#a)
(p: pcm a)
(x y z: a)
(f: frame_preserving_... | false | null | false | fun v -> g (f v) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"FStar.PCM.frame_preserving_upd",
"Prims.l_and",
"FStar.PCM.__proj__Mkpcm__item__refine",
"FStar.PCM.compatible",
"Prims.l_Forall",
"FStar.PCM.composable",
"Prims.l_imp",
"Prims.eq2",
"FStar.PCM.op"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val compose_frame_preserving_updates
(#a: Type u#a)
(p: pcm a)
(x y z: a)
(f: frame_preserving_upd p x y)
(g: frame_preserving_upd p y z)
: frame_preserving_upd p x z | [] | FStar.PCM.compose_frame_preserving_updates | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
p: FStar.PCM.pcm a ->
x: a ->
y: a ->
z: a ->
f: FStar.PCM.frame_preserving_upd p x y ->
g: FStar.PCM.frame_preserving_upd p y z
-> FStar.PCM.frame_preserving_upd p x z | {
"end_col": 20,
"end_line": 207,
"start_col": 4,
"start_line": 207
} |
Prims.Tot | val frame_preserving_val_to_fp_upd
(#a: Type u#a)
(p: pcm a)
(x: Ghost.erased a)
(v: a{frame_preserving p x v /\ p.refine v})
: frame_preserving_upd p x v | [
{
"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",
"... | false | let frame_preserving_val_to_fp_upd (#a:Type u#a) (p:pcm a)
(x:Ghost.erased a) (v:a{frame_preserving p x v /\ p.refine v})
: frame_preserving_upd p x v
= Classical.forall_intro (p.comm v);
fun _ -> v | val frame_preserving_val_to_fp_upd
(#a: Type u#a)
(p: pcm a)
(x: Ghost.erased a)
(v: a{frame_preserving p x v /\ p.refine v})
: frame_preserving_upd p x v
let frame_preserving_val_to_fp_upd
(#a: Type u#a)
(p: pcm a)
(x: Ghost.erased a)
(v: a{frame_preserving p x v /\ ... | false | null | false | Classical.forall_intro (p.comm v);
fun _ -> v | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"FStar.Ghost.erased",
"Prims.l_and",
"FStar.PCM.frame_preserving",
"FStar.Ghost.reveal",
"FStar.PCM.__proj__Mkpcm__item__refine",
"FStar.PCM.compatible",
"Prims.l_Forall",
"FStar.PCM.composable",
"Prims.l_imp",
"Prims.eq2",
"FStar.PCM.op",
"Prims.unit",
"FStar.Classical.fo... | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val frame_preserving_val_to_fp_upd
(#a: Type u#a)
(p: pcm a)
(x: Ghost.erased a)
(v: a{frame_preserving p x v /\ p.refine v})
: frame_preserving_upd p x v | [] | FStar.PCM.frame_preserving_val_to_fp_upd | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
p: FStar.PCM.pcm a ->
x: FStar.Ghost.erased a ->
v: a{FStar.PCM.frame_preserving p (FStar.Ghost.reveal x) v /\ Mkpcm?.refine p v}
-> FStar.PCM.frame_preserving_upd p (FStar.Ghost.reveal x) v | {
"end_col": 14,
"end_line": 182,
"start_col": 4,
"start_line": 181
} |
FStar.Pervasives.Lemma | val compatible_elim
(#a: Type u#a)
(pcm: pcm a)
(x y: a)
(goal: Type)
(lemma: (frame: a{composable pcm x frame /\ op pcm frame x == y} -> Lemma (goal)))
: Lemma (requires (compatible pcm x y)) (ensures (goal)) | [
{
"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",
"... | false | let compatible_elim
(#a: Type u#a) (pcm:pcm a) (x y:a)
(goal: Type)
(lemma: (frame: a{composable pcm x frame /\ op pcm frame x == y}) ->
Lemma (goal)
)
: Lemma (requires (compatible pcm x y)) (ensures (goal))
=
Classical.exists_elim
goal #a #(fun frame -> composable pcm x frame /\ op pcm frame x... | val compatible_elim
(#a: Type u#a)
(pcm: pcm a)
(x y: a)
(goal: Type)
(lemma: (frame: a{composable pcm x frame /\ op pcm frame x == y} -> Lemma (goal)))
: Lemma (requires (compatible pcm x y)) (ensures (goal))
let compatible_elim
(#a: Type u#a)
(pcm: pcm a)
(x y: a)
... | false | null | true | Classical.exists_elim goal
#a
#(fun frame -> composable pcm x frame /\ op pcm frame x == y)
()
(fun frame -> lemma frame) | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"lemma"
] | [
"FStar.PCM.pcm",
"Prims.l_and",
"FStar.PCM.composable",
"Prims.eq2",
"FStar.PCM.op",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.Nil",
"FStar.Pervasives.pattern",
"FStar.Classical.exists_elim",
"FStar.PCM.compatible"
] | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val compatible_elim
(#a: Type u#a)
(pcm: pcm a)
(x y: a)
(goal: Type)
(lemma: (frame: a{composable pcm x frame /\ op pcm frame x == y} -> Lemma (goal)))
: Lemma (requires (compatible pcm x y)) (ensures (goal)) | [] | FStar.PCM.compatible_elim | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
pcm: FStar.PCM.pcm a ->
x: a ->
y: a ->
goal: Type0 ->
lemma:
(frame: a{FStar.PCM.composable pcm x frame /\ FStar.PCM.op pcm frame x == y}
-> FStar.Pervasives.Lemma (ensures goal))
-> FStar.Pervasives.Lemma (requires FStar.PCM.compatible pcm x y) (ensures goal) | {
"end_col": 33,
"end_line": 126,
"start_col": 2,
"start_line": 124
} |
Prims.Tot | val frame_preserving_subframe
(#a: Type u#a)
(p: pcm a)
(x y: a)
(subframe: a{composable p x subframe /\ composable p y subframe})
(f: frame_preserving_upd p x y)
: frame_preserving_upd p (op p x subframe) (op p y subframe) | [
{
"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",
"... | false | let frame_preserving_subframe (#a:Type u#a) (p:pcm a) (x y:a)
(subframe:a{composable p x subframe /\ composable p y subframe})
(f:frame_preserving_upd p x y)
: frame_preserving_upd p (op p x subframe) (op p y subframe)
= fun v ->
compatible_elim p (op p x subframe) v (compatible p x v) (fun frame ->
p... | val frame_preserving_subframe
(#a: Type u#a)
(p: pcm a)
(x y: a)
(subframe: a{composable p x subframe /\ composable p y subframe})
(f: frame_preserving_upd p x y)
: frame_preserving_upd p (op p x subframe) (op p y subframe)
let frame_preserving_subframe
(#a: Type u#a)
(p: p... | false | null | false | fun v ->
compatible_elim p
(op p x subframe)
v
(compatible p x v)
(fun frame ->
p.comm x subframe;
p.assoc frame subframe x);
let w = f v in
let aux (frame: a{composable p (op p x subframe) frame})
: Lemma
(composable p (op p y subframe) frame /\
(op p (op p... | {
"checked_file": "FStar.PCM.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.PCM.fst"
} | [
"total"
] | [
"FStar.PCM.pcm",
"Prims.l_and",
"FStar.PCM.composable",
"FStar.PCM.frame_preserving_upd",
"FStar.PCM.__proj__Mkpcm__item__refine",
"FStar.PCM.compatible",
"FStar.PCM.op",
"Prims.unit",
"FStar.PCM.compatible_elim",
"Prims.eq2",
"FStar.PCM.__proj__Mkpcm__item__comm",
"Prims.l_True",
"Prims.squ... | [] | (*
Copyright 2020 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... | false | false | FStar.PCM.fst | {
"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... | null | val frame_preserving_subframe
(#a: Type u#a)
(p: pcm a)
(x y: a)
(subframe: a{composable p x subframe /\ composable p y subframe})
(f: frame_preserving_upd p x y)
: frame_preserving_upd p (op p x subframe) (op p y subframe) | [] | FStar.PCM.frame_preserving_subframe | {
"file_name": "ulib/FStar.PCM.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
p: FStar.PCM.pcm a ->
x: a ->
y: a ->
subframe: a{FStar.PCM.composable p x subframe /\ FStar.PCM.composable p y subframe} ->
f: FStar.PCM.frame_preserving_upd p x y
-> FStar.PCM.frame_preserving_upd p (FStar.PCM.op p x subframe) (FStar.PCM.op p y subframe) | {
"end_col": 5,
"end_line": 231,
"start_col": 4,
"start_line": 213
} |
Prims.Tot | val is_error (positionOrError: U64.t) : Tot bool | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "... | false | let is_error (positionOrError: U64.t) : Tot bool = positionOrError `U64.gt` validator_max_length | val is_error (positionOrError: U64.t) : Tot bool
let is_error (positionOrError: U64.t) : Tot bool = | false | null | false | positionOrError `U64.gt` validator_max_length | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"FStar.UInt64.t",
"FStar.UInt64.gt",
"LowParse.Low.ErrorCode.validator_max_length",
"Prims.bool"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
[@ CMacro ]
let max_uint32 :... | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val is_error (positionOrError: U64.t) : Tot bool | [] | LowParse.Low.ErrorCode.is_error | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | positionOrError: FStar.UInt64.t -> Prims.bool | {
"end_col": 96,
"end_line": 41,
"start_col": 51,
"start_line": 41
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "... | false | let pos_t = (pos: U64.t {is_success pos}) | let pos_t = | false | null | false | (pos: U64.t{is_success pos}) | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"FStar.UInt64.t",
"Prims.b2t",
"LowParse.Low.ErrorCode.is_success"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
[@ CMacro ]
let max_uint32 :... | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val pos_t : Type0 | [] | LowParse.Low.ErrorCode.pos_t | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type0 | {
"end_col": 41,
"end_line": 50,
"start_col": 12,
"start_line": 50
} | |
Prims.Tot | val max_uint32_as_uint64:U64.t | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "... | false | let max_uint32_as_uint64 : U64.t = _max_uint32_as_uint64 | val max_uint32_as_uint64:U64.t
let max_uint32_as_uint64:U64.t = | false | null | false | _max_uint32_as_uint64 | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"LowParse.Low.ErrorCode._max_uint32_as_uint64"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
[@ CMacro ]
let max_uint32 :... | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val max_uint32_as_uint64:U64.t | [] | LowParse.Low.ErrorCode.max_uint32_as_uint64 | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | FStar.UInt64.t | {
"end_col": 56,
"end_line": 35,
"start_col": 35,
"start_line": 35
} |
Prims.Tot | val max_uint32:U32.t | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "... | false | let max_uint32 : U32.t = 4294967295ul | val max_uint32:U32.t
let max_uint32:U32.t = | false | null | false | 4294967295ul | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"FStar.UInt32.__uint_to_t"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val max_uint32:U32.t | [] | LowParse.Low.ErrorCode.max_uint32 | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | FStar.UInt32.t | {
"end_col": 37,
"end_line": 21,
"start_col": 25,
"start_line": 21
} |
Prims.Tot | val is_success (positionOrError: U64.t) : Tot bool | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "... | false | let is_success (positionOrError: U64.t) : Tot bool = positionOrError `U64.lte` validator_max_length | val is_success (positionOrError: U64.t) : Tot bool
let is_success (positionOrError: U64.t) : Tot bool = | false | null | false | positionOrError `U64.lte` validator_max_length | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"FStar.UInt64.t",
"FStar.UInt64.lte",
"LowParse.Low.ErrorCode.validator_max_length",
"Prims.bool"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
[@ CMacro ]
let max_uint32 :... | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val is_success (positionOrError: U64.t) : Tot bool | [] | LowParse.Low.ErrorCode.is_success | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | positionOrError: FStar.UInt64.t -> Prims.bool | {
"end_col": 99,
"end_line": 44,
"start_col": 53,
"start_line": 44
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "LowParse.BitFields",
"short_module": "BF"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module... | false | let error_code = (c: U64.t { 0 < U64.v c /\ U64.v c < 65536 }) | let error_code = | false | null | false | (c: U64.t{0 < U64.v c /\ U64.v c < 65536}) | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"FStar.UInt64.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.UInt64.v"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
[@ CMacro ]
let max_uint32 :... | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val error_code : Type0 | [] | LowParse.Low.ErrorCode.error_code | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | Type0 | {
"end_col": 62,
"end_line": 122,
"start_col": 17,
"start_line": 122
} | |
Prims.Tot | val _max_uint32_as_uint64:U64.t | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "... | false | let _max_uint32_as_uint64 : U64.t = 4294967295uL | val _max_uint32_as_uint64:U64.t
let _max_uint32_as_uint64:U64.t = | false | null | false | 4294967295uL | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"FStar.UInt64.__uint_to_t"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
[@ CMacro ]
let max_uint32 :... | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val _max_uint32_as_uint64:U64.t | [] | LowParse.Low.ErrorCode._max_uint32_as_uint64 | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | FStar.UInt64.t | {
"end_col": 48,
"end_line": 31,
"start_col": 36,
"start_line": 31
} |
Prims.Tot | val validator_error_generic:validator_error | [
{
"abbrev": true,
"full_module": "LowParse.BitFields",
"short_module": "BF"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module... | false | let validator_error_generic : validator_error = normalize_term (set_validator_error_kind 0uL 1uL) | val validator_error_generic:validator_error
let validator_error_generic:validator_error = | false | null | false | normalize_term (set_validator_error_kind 0uL 1uL) | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"FStar.Pervasives.normalize_term",
"LowParse.Low.ErrorCode.validator_error",
"LowParse.Low.ErrorCode.set_validator_error_kind",
"FStar.UInt64.__uint_to_t"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
[@ CMacro ]
let max_uint32 :... | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val validator_error_generic:validator_error | [] | LowParse.Low.ErrorCode.validator_error_generic | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | LowParse.Low.ErrorCode.validator_error | {
"end_col": 97,
"end_line": 133,
"start_col": 48,
"start_line": 133
} |
Prims.Tot | val validator_error_not_enough_data:validator_error | [
{
"abbrev": true,
"full_module": "LowParse.BitFields",
"short_module": "BF"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module... | false | let validator_error_not_enough_data : validator_error = normalize_term (set_validator_error_kind 0uL 2uL) | val validator_error_not_enough_data:validator_error
let validator_error_not_enough_data:validator_error = | false | null | false | normalize_term (set_validator_error_kind 0uL 2uL) | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"FStar.Pervasives.normalize_term",
"LowParse.Low.ErrorCode.validator_error",
"LowParse.Low.ErrorCode.set_validator_error_kind",
"FStar.UInt64.__uint_to_t"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
[@ CMacro ]
let max_uint32 :... | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val validator_error_not_enough_data:validator_error | [] | LowParse.Low.ErrorCode.validator_error_not_enough_data | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | LowParse.Low.ErrorCode.validator_error | {
"end_col": 105,
"end_line": 136,
"start_col": 56,
"start_line": 136
} |
Prims.Tot | val set_validator_error_pos_and_code (error: validator_error) (position: pos_t) (code: error_code)
: Tot validator_error | [
{
"abbrev": true,
"full_module": "LowParse.BitFields",
"short_module": "BF"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module... | false | let set_validator_error_pos_and_code
(error: validator_error)
(position: pos_t)
(code: error_code)
: Tot validator_error
= set_validator_error_pos (set_validator_error_code error code) position | val set_validator_error_pos_and_code (error: validator_error) (position: pos_t) (code: error_code)
: Tot validator_error
let set_validator_error_pos_and_code (error: validator_error) (position: pos_t) (code: error_code)
: Tot validator_error = | false | null | false | set_validator_error_pos (set_validator_error_code error code) position | {
"checked_file": "LowParse.Low.ErrorCode.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.BitFields.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Int.Cast.fst.checked",
"FStar.Classical.fsti.checked"
],
... | [
"total"
] | [
"LowParse.Low.ErrorCode.validator_error",
"LowParse.Low.ErrorCode.pos_t",
"LowParse.Low.ErrorCode.error_code",
"LowParse.Low.ErrorCode.set_validator_error_pos",
"LowParse.Low.ErrorCode.set_validator_error_code"
] | [] | module LowParse.Low.ErrorCode
(*
Error codes for validators
TODO: replace with type classes
inline_for_extraction
let default_validator_cls : validator_cls = {
validator_max_length = 4294967279ul;
}
*)
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
[@ CMacro ]
let max_uint32 :... | false | true | LowParse.Low.ErrorCode.fst | {
"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... | null | val set_validator_error_pos_and_code (error: validator_error) (position: pos_t) (code: error_code)
: Tot validator_error | [] | LowParse.Low.ErrorCode.set_validator_error_pos_and_code | {
"file_name": "src/lowparse/LowParse.Low.ErrorCode.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
error: LowParse.Low.ErrorCode.validator_error ->
position: LowParse.Low.ErrorCode.pos_t ->
code: LowParse.Low.ErrorCode.error_code
-> LowParse.Low.ErrorCode.validator_error | {
"end_col": 72,
"end_line": 159,
"start_col": 2,
"start_line": 159
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.