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
FStar.HyperStack.ST.Stack
val get_bp_c_matrices: a:FP.frodo_alg -> ct:lbytes (crypto_ciphertextbytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> Stack unit (requires fun h -> live h ct /\ live h bp_matrix /\ live h c_matrix /\ disjoint bp_matrix ct /\ disjoint c_...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let get_bp_c_matrices a ct bp_matrix c_matrix = let c1 = sub ct 0ul (ct1bytes_len a) in let c2 = sub ct (ct1bytes_len a) (ct2bytes_len a) in frodo_unpack params_nbar (params_n a) (params_logq a) c1 bp_matrix; frodo_unpack params_nbar params_nbar (params_logq a) c2 c_matrix
val get_bp_c_matrices: a:FP.frodo_alg -> ct:lbytes (crypto_ciphertextbytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> Stack unit (requires fun h -> live h ct /\ live h bp_matrix /\ live h c_matrix /\ disjoint bp_matrix ct /\ disjoint c_...
true
null
false
let c1 = sub ct 0ul (ct1bytes_len a) in let c2 = sub ct (ct1bytes_len a) (ct2bytes_len a) in frodo_unpack params_nbar (params_n a) (params_logq a) c1 bp_matrix; frodo_unpack params_nbar params_nbar (params_logq a) c2 c_matrix
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.crypto_ciphertextbytes", "Hacl.Impl.Matrix.matrix_t", "Hacl.Impl.Frodo.Params.params_nbar", "Hacl.Impl.Frodo.Params.params_n", "Hacl.Impl.Frodo.Pack.frodo_unpack", "Hacl.Impl.Frodo.Params.params_logq", "Prims.unit", ...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 get_bp_c_matrices: a:FP.frodo_alg -> ct:lbytes (crypto_ciphertextbytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> Stack unit (requires fun h -> live h ct /\ live h bp_matrix /\ live h c_matrix /\ disjoint bp_matrix ct /\ disjoint c_...
[]
Hacl.Impl.Frodo.KEM.Decaps.get_bp_c_matrices
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> ct: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_ciphertextbytes a) -> bp_matrix: Hacl.Impl.Matrix.matrix_t Hacl.Impl.Frodo.Params.params_nbar (Hacl.Impl.Frodo.Params.params_n a) -> c_matrix: Hacl.Impl.Matrix.matrix_t Hacl.Impl.Frodo.Param...
{ "end_col": 66, "end_line": 48, "start_col": 47, "start_line": 44 }
FStar.HyperStack.ST.Stack
val crypto_kem_dec_ss0: a:FP.frodo_alg -> ct:lbytes (crypto_ciphertextbytes a) -> mask:uint16{v mask == 0 \/ v mask == v (ones U16 SEC)} -> kp:lbytes (crypto_bytes a) -> s:lbytes (crypto_bytes a) -> ss:lbytes (crypto_bytes a) -> Stack unit (requires fun h -> live h ct /\ live h kp /\ live h s ...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let crypto_kem_dec_ss0 a ct mask kp s ss = push_frame (); let kp_s = create (crypto_bytes a) (u8 0) in Lib.ByteBuffer.buf_mask_select kp s (to_u8 mask) kp_s; let ss_init_len = crypto_ciphertextbytes a +! crypto_bytes a in let ss_init = create ss_init_len (u8 0) in concat2 (crypto_ciphertextbytes a) ct (cry...
val crypto_kem_dec_ss0: a:FP.frodo_alg -> ct:lbytes (crypto_ciphertextbytes a) -> mask:uint16{v mask == 0 \/ v mask == v (ones U16 SEC)} -> kp:lbytes (crypto_bytes a) -> s:lbytes (crypto_bytes a) -> ss:lbytes (crypto_bytes a) -> Stack unit (requires fun h -> live h ct /\ live h kp /\ live h s ...
true
null
false
push_frame (); let kp_s = create (crypto_bytes a) (u8 0) in Lib.ByteBuffer.buf_mask_select kp s (to_u8 mask) kp_s; let ss_init_len = crypto_ciphertextbytes a +! crypto_bytes a in let ss_init = create ss_init_len (u8 0) in concat2 (crypto_ciphertextbytes a) ct (crypto_bytes a) kp_s ss_init; frodo_shake a ss_init_len ss_...
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.crypto_ciphertextbytes", "Lib.IntTypes.uint16", "Prims.l_or", "Prims.eq2", "Prims.int", "Lib.IntTypes.v", "Lib.IntTypes.U16", "Lib.IntTypes.SEC", "Lib.IntTypes.range_t", "Lib.IntTypes.ones", "Hacl.Impl.Frodo.Pa...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 crypto_kem_dec_ss0: a:FP.frodo_alg -> ct:lbytes (crypto_ciphertextbytes a) -> mask:uint16{v mask == 0 \/ v mask == v (ones U16 SEC)} -> kp:lbytes (crypto_bytes a) -> s:lbytes (crypto_bytes a) -> ss:lbytes (crypto_bytes a) -> Stack unit (requires fun h -> live h ct /\ live h kp /\ live h s ...
[]
Hacl.Impl.Frodo.KEM.Decaps.crypto_kem_dec_ss0
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> ct: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_ciphertextbytes a) -> mask: Lib.IntTypes.uint16 { Lib.IntTypes.v mask == 0 \/ Lib.IntTypes.v mask == Lib.IntTypes.v (Lib.IntTypes.ones Lib.IntTypes.U16 Lib.IntTypes.SEC) } -> k...
{ "end_col": 14, "end_line": 224, "start_col": 2, "start_line": 214 }
FStar.HyperStack.ST.Stack
val crypto_kem_dec_seed_se_k: a:FP.frodo_alg -> mu_decode:lbytes (bytes_mu a) -> sk:lbytes (crypto_secretkeybytes a) -> seed_se_k:lbytes (2ul *! crypto_bytes a) -> Stack unit (requires fun h -> live h mu_decode /\ live h sk /\ live h seed_se_k /\ disjoint mu_decode seed_se_k /\ disjoint sk s...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let crypto_kem_dec_seed_se_k a mu_decode sk seed_se_k = push_frame (); let pkh_mu_decode_len = bytes_pkhash a +! bytes_mu a in let pkh_mu_decode = create pkh_mu_decode_len (u8 0) in let pkh = sub sk (crypto_secretkeybytes a -! bytes_pkhash a) (bytes_pkhash a) in concat2 (bytes_pkhash a) pkh (bytes_mu a) mu_d...
val crypto_kem_dec_seed_se_k: a:FP.frodo_alg -> mu_decode:lbytes (bytes_mu a) -> sk:lbytes (crypto_secretkeybytes a) -> seed_se_k:lbytes (2ul *! crypto_bytes a) -> Stack unit (requires fun h -> live h mu_decode /\ live h sk /\ live h seed_se_k /\ disjoint mu_decode seed_se_k /\ disjoint sk s...
true
null
false
push_frame (); let pkh_mu_decode_len = bytes_pkhash a +! bytes_mu a in let pkh_mu_decode = create pkh_mu_decode_len (u8 0) in let pkh = sub sk (crypto_secretkeybytes a -! bytes_pkhash a) (bytes_pkhash a) in concat2 (bytes_pkhash a) pkh (bytes_mu a) mu_decode pkh_mu_decode; frodo_shake a pkh_mu_decode_len pkh_mu_decode ...
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.bytes_mu", "Hacl.Impl.Frodo.Params.crypto_secretkeybytes", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Frodo.Params.crypto_bytes", "FStar.HyperStack.ST....
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 crypto_kem_dec_seed_se_k: a:FP.frodo_alg -> mu_decode:lbytes (bytes_mu a) -> sk:lbytes (crypto_secretkeybytes a) -> seed_se_k:lbytes (2ul *! crypto_bytes a) -> Stack unit (requires fun h -> live h mu_decode /\ live h sk /\ live h seed_se_k /\ disjoint mu_decode seed_se_k /\ disjoint sk s...
[]
Hacl.Impl.Frodo.KEM.Decaps.crypto_kem_dec_seed_se_k
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> mu_decode: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.bytes_mu a) -> sk: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_secretkeybytes a) -> seed_se_k: Hacl.Impl.Matrix.lbytes (2ul *! Hacl.Impl.Frodo.Params.crypto_bytes a) -> FStar.HyperStack.ST.Stack Pr...
{ "end_col": 14, "end_line": 248, "start_col": 2, "start_line": 241 }
FStar.HyperStack.ST.Stack
val crypto_kem_dec0: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ss:lbytes (crypto_bytes a) -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> mu_decode:lbytes ...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let crypto_kem_dec0 a gen_a ss ct sk bp_matrix c_matrix mu_decode = crypto_kem_dec_mu a sk bp_matrix c_matrix mu_decode; crypto_kem_dec_ss2 a gen_a ct sk mu_decode bp_matrix c_matrix ss
val crypto_kem_dec0: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ss:lbytes (crypto_bytes a) -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> mu_decode:lbytes ...
true
null
false
crypto_kem_dec_mu a sk bp_matrix c_matrix mu_decode; crypto_kem_dec_ss2 a gen_a ct sk mu_decode bp_matrix c_matrix ss
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Spec.Frodo.Params.frodo_gen_a", "Prims.b2t", "Hacl.Impl.Frodo.Params.is_supported", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.crypto_bytes", "Hacl.Impl.Frodo.Params.crypto_ciphertextbytes", "Hacl.Impl.Frodo.Params.crypto_secretkeybytes", "Hacl.Impl.Matrix.mat...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 crypto_kem_dec0: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ss:lbytes (crypto_bytes a) -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> mu_decode:lbytes ...
[]
Hacl.Impl.Frodo.KEM.Decaps.crypto_kem_dec0
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> gen_a: Spec.Frodo.Params.frodo_gen_a{Hacl.Impl.Frodo.Params.is_supported gen_a} -> ss: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_bytes a) -> ct: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_ciphertextbytes a) -> sk: Hacl.Impl.Matrix.lbytes (H...
{ "end_col": 66, "end_line": 356, "start_col": 2, "start_line": 355 }
FStar.HyperStack.ST.Stack
val crypto_kem_dec1: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ss:lbytes (crypto_bytes a) -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> Stack unit (r...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let crypto_kem_dec1 a gen_a ss ct sk bp_matrix c_matrix = push_frame (); let mu_decode = create (bytes_mu a) (u8 0) in crypto_kem_dec0 a gen_a ss ct sk bp_matrix c_matrix mu_decode; clear_words_u8 mu_decode; pop_frame ()
val crypto_kem_dec1: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ss:lbytes (crypto_bytes a) -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> Stack unit (r...
true
null
false
push_frame (); let mu_decode = create (bytes_mu a) (u8 0) in crypto_kem_dec0 a gen_a ss ct sk bp_matrix c_matrix mu_decode; clear_words_u8 mu_decode; pop_frame ()
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Spec.Frodo.Params.frodo_gen_a", "Prims.b2t", "Hacl.Impl.Frodo.Params.is_supported", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.crypto_bytes", "Hacl.Impl.Frodo.Params.crypto_ciphertextbytes", "Hacl.Impl.Frodo.Params.crypto_secretkeybytes", "Hacl.Impl.Matrix.mat...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 crypto_kem_dec1: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ss:lbytes (crypto_bytes a) -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> Stack unit (r...
[]
Hacl.Impl.Frodo.KEM.Decaps.crypto_kem_dec1
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> gen_a: Spec.Frodo.Params.frodo_gen_a{Hacl.Impl.Frodo.Params.is_supported gen_a} -> ss: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_bytes a) -> ct: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_ciphertextbytes a) -> sk: Hacl.Impl.Matrix.lbytes (H...
{ "end_col": 14, "end_line": 382, "start_col": 2, "start_line": 378 }
FStar.HyperStack.ST.Stack
val crypto_kem_dec_ss1: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> mu_decode:lbytes (bytes_mu a) -> seed_se_k:lbytes (2ul *! crypto_bytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matr...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let crypto_kem_dec_ss1 a gen_a ct sk mu_decode seed_se_k bp_matrix c_matrix ss = let seed_se = sub seed_se_k 0ul (crypto_bytes a) in let kp = sub seed_se_k (crypto_bytes a) (crypto_bytes a) in let s = sub sk 0ul (crypto_bytes a) in let mask = crypto_kem_dec_kp_s a gen_a mu_decode seed_se sk bp_matrix c_matrix ...
val crypto_kem_dec_ss1: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> mu_decode:lbytes (bytes_mu a) -> seed_se_k:lbytes (2ul *! crypto_bytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matr...
true
null
false
let seed_se = sub seed_se_k 0ul (crypto_bytes a) in let kp = sub seed_se_k (crypto_bytes a) (crypto_bytes a) in let s = sub sk 0ul (crypto_bytes a) in let mask = crypto_kem_dec_kp_s a gen_a mu_decode seed_se sk bp_matrix c_matrix in crypto_kem_dec_ss0 a ct mask kp s ss
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Spec.Frodo.Params.frodo_gen_a", "Prims.b2t", "Hacl.Impl.Frodo.Params.is_supported", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.crypto_ciphertextbytes", "Hacl.Impl.Frodo.Params.crypto_secretkeybytes", "Hacl.Impl.Frodo.Params.bytes_mu", "Lib.IntTypes.op_Star_Ban...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 crypto_kem_dec_ss1: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> mu_decode:lbytes (bytes_mu a) -> seed_se_k:lbytes (2ul *! crypto_bytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matr...
[]
Hacl.Impl.Frodo.KEM.Decaps.crypto_kem_dec_ss1
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> gen_a: Spec.Frodo.Params.frodo_gen_a{Hacl.Impl.Frodo.Params.is_supported gen_a} -> ct: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_ciphertextbytes a) -> sk: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_secretkeybytes a) -> mu_decode: Hacl.Impl....
{ "end_col": 38, "end_line": 278, "start_col": 80, "start_line": 272 }
FStar.HyperStack.ST.Stack
val crypto_kem_dec: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ss:lbytes (crypto_bytes a) -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> Stack uint32 (requires fun h -> live h ss /\ live h ct /\ live h sk /\ disjoint ss ct /\ disjoint ...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let crypto_kem_dec a gen_a ss ct sk = push_frame (); let bp_matrix = matrix_create params_nbar (params_n a) in let c_matrix = matrix_create params_nbar params_nbar in get_bp_c_matrices a ct bp_matrix c_matrix; crypto_kem_dec1 a gen_a ss ct sk bp_matrix c_matrix; pop_frame (); u32 0
val crypto_kem_dec: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ss:lbytes (crypto_bytes a) -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> Stack uint32 (requires fun h -> live h ss /\ live h ct /\ live h sk /\ disjoint ss ct /\ disjoint ...
true
null
false
push_frame (); let bp_matrix = matrix_create params_nbar (params_n a) in let c_matrix = matrix_create params_nbar params_nbar in get_bp_c_matrices a ct bp_matrix c_matrix; crypto_kem_dec1 a gen_a ss ct sk bp_matrix c_matrix; pop_frame (); u32 0
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Spec.Frodo.Params.frodo_gen_a", "Prims.b2t", "Hacl.Impl.Frodo.Params.is_supported", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.crypto_bytes", "Hacl.Impl.Frodo.Params.crypto_ciphertextbytes", "Hacl.Impl.Frodo.Params.crypto_secretkeybytes", "Lib.IntTypes.u32", ...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 crypto_kem_dec: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ss:lbytes (crypto_bytes a) -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> Stack uint32 (requires fun h -> live h ss /\ live h ct /\ live h sk /\ disjoint ss ct /\ disjoint ...
[]
Hacl.Impl.Frodo.KEM.Decaps.crypto_kem_dec
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> gen_a: Spec.Frodo.Params.frodo_gen_a{Hacl.Impl.Frodo.Params.is_supported gen_a} -> ss: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_bytes a) -> ct: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_ciphertextbytes a) -> sk: Hacl.Impl.Matrix.lbytes (H...
{ "end_col": 7, "end_line": 407, "start_col": 2, "start_line": 400 }
FStar.HyperStack.ST.Stack
val crypto_kem_dec_kp_s: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> mu_decode:lbytes (bytes_mu a) -> seed_se:lbytes (crypto_bytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> Stack uint16 ...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let crypto_kem_dec_kp_s a gen_a mu_decode seed_se sk bp_matrix c_matrix = push_frame (); let bpp_matrix = matrix_create params_nbar (params_n a) in let cp_matrix = matrix_create params_nbar params_nbar in get_bpp_cp_matrices a gen_a mu_decode seed_se sk bpp_matrix cp_matrix; let mask = crypto_kem_dec_kp_s_co...
val crypto_kem_dec_kp_s: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> mu_decode:lbytes (bytes_mu a) -> seed_se:lbytes (crypto_bytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> Stack uint16 ...
true
null
false
push_frame (); let bpp_matrix = matrix_create params_nbar (params_n a) in let cp_matrix = matrix_create params_nbar params_nbar in get_bpp_cp_matrices a gen_a mu_decode seed_se sk bpp_matrix cp_matrix; let mask = crypto_kem_dec_kp_s_cond a bp_matrix bpp_matrix c_matrix cp_matrix in pop_frame (); mask
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Spec.Frodo.Params.frodo_gen_a", "Prims.b2t", "Hacl.Impl.Frodo.Params.is_supported", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.bytes_mu", "Hacl.Impl.Frodo.Params.crypto_bytes", "Hacl.Impl.Frodo.Params.crypto_secretkeybytes", "Hacl.Impl.Matrix.matrix_t", "Hac...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 crypto_kem_dec_kp_s: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> mu_decode:lbytes (bytes_mu a) -> seed_se:lbytes (crypto_bytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> Stack uint16 ...
[]
Hacl.Impl.Frodo.KEM.Decaps.crypto_kem_dec_kp_s
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> gen_a: Spec.Frodo.Params.frodo_gen_a{Hacl.Impl.Frodo.Params.is_supported gen_a} -> mu_decode: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.bytes_mu a) -> seed_se: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_bytes a) -> sk: Hacl.Impl.Matrix.lbytes (Hac...
{ "end_col": 6, "end_line": 194, "start_col": 2, "start_line": 188 }
FStar.HyperStack.ST.Stack
val crypto_kem_dec_ss2: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> mu_decode:lbytes (bytes_mu a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> ss:lbytes (c...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let crypto_kem_dec_ss2 a gen_a ct sk mu_decode bp_matrix c_matrix ss = push_frame (); let seed_se_k = create (2ul *! crypto_bytes a) (u8 0) in crypto_kem_dec_seed_se_k a mu_decode sk seed_se_k; crypto_kem_dec_ss1 a gen_a ct sk mu_decode seed_se_k bp_matrix c_matrix ss; clear_words_u8 seed_se_k; pop_frame ()
val crypto_kem_dec_ss2: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> mu_decode:lbytes (bytes_mu a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> ss:lbytes (c...
true
null
false
push_frame (); let seed_se_k = create (2ul *! crypto_bytes a) (u8 0) in crypto_kem_dec_seed_se_k a mu_decode sk seed_se_k; crypto_kem_dec_ss1 a gen_a ct sk mu_decode seed_se_k bp_matrix c_matrix ss; clear_words_u8 seed_se_k; pop_frame ()
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Spec.Frodo.Params.frodo_gen_a", "Prims.b2t", "Hacl.Impl.Frodo.Params.is_supported", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.crypto_ciphertextbytes", "Hacl.Impl.Frodo.Params.crypto_secretkeybytes", "Hacl.Impl.Frodo.Params.bytes_mu", "Hacl.Impl.Matrix.matrix_...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 crypto_kem_dec_ss2: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> ct:lbytes (crypto_ciphertextbytes a) -> sk:lbytes (crypto_secretkeybytes a) -> mu_decode:lbytes (bytes_mu a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> ss:lbytes (c...
[]
Hacl.Impl.Frodo.KEM.Decaps.crypto_kem_dec_ss2
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> gen_a: Spec.Frodo.Params.frodo_gen_a{Hacl.Impl.Frodo.Params.is_supported gen_a} -> ct: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_ciphertextbytes a) -> sk: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_secretkeybytes a) -> mu_decode: Hacl.Impl....
{ "end_col": 14, "end_line": 307, "start_col": 2, "start_line": 302 }
FStar.HyperStack.ST.Stack
val frodo_mu_decode: a:FP.frodo_alg -> s_bytes:lbytes (secretmatrixbytes_len a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> mu_decode:lbytes (bytes_mu a) -> Stack unit (requires fun h -> live h s_bytes /\ live h bp_matrix /\ live h c_matri...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let frodo_mu_decode a s_bytes bp_matrix c_matrix mu_decode = push_frame(); let s_matrix = matrix_create (params_n a) params_nbar in let m_matrix = matrix_create params_nbar params_nbar in matrix_from_lbytes s_bytes s_matrix; matrix_mul_s bp_matrix s_matrix m_matrix; matrix_sub c_matrix m_matrix; frodo_key...
val frodo_mu_decode: a:FP.frodo_alg -> s_bytes:lbytes (secretmatrixbytes_len a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> mu_decode:lbytes (bytes_mu a) -> Stack unit (requires fun h -> live h s_bytes /\ live h bp_matrix /\ live h c_matri...
true
null
false
push_frame (); let s_matrix = matrix_create (params_n a) params_nbar in let m_matrix = matrix_create params_nbar params_nbar in matrix_from_lbytes s_bytes s_matrix; matrix_mul_s bp_matrix s_matrix m_matrix; matrix_sub c_matrix m_matrix; frodo_key_decode (params_logq a) (params_extracted_bits a) params_nbar m_matrix mu_...
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.secretmatrixbytes_len", "Hacl.Impl.Matrix.matrix_t", "Hacl.Impl.Frodo.Params.params_nbar", "Hacl.Impl.Frodo.Params.params_n", "Hacl.Impl.Frodo.Params.bytes_mu", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Im...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 frodo_mu_decode: a:FP.frodo_alg -> s_bytes:lbytes (secretmatrixbytes_len a) -> bp_matrix:matrix_t params_nbar (params_n a) -> c_matrix:matrix_t params_nbar params_nbar -> mu_decode:lbytes (bytes_mu a) -> Stack unit (requires fun h -> live h s_bytes /\ live h bp_matrix /\ live h c_matri...
[]
Hacl.Impl.Frodo.KEM.Decaps.frodo_mu_decode
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> s_bytes: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.secretmatrixbytes_len a) -> bp_matrix: Hacl.Impl.Matrix.matrix_t Hacl.Impl.Frodo.Params.params_nbar (Hacl.Impl.Frodo.Params.params_n a) -> c_matrix: Hacl.Impl.Matrix.matrix_t Hacl.Impl.Frodo.P...
{ "end_col": 13, "end_line": 78, "start_col": 2, "start_line": 69 }
FStar.HyperStack.ST.Stack
val get_bpp_cp_matrices_: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> mu_decode:lbytes (bytes_mu a) -> sk:lbytes (crypto_secretkeybytes a) -> bpp_matrix:matrix_t params_nbar (params_n a) -> cp_matrix:matrix_t params_nbar params_nbar -> sp_matrix:matrix_t params_nbar (params_n a) -> e...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let get_bpp_cp_matrices_ a gen_a mu_decode sk bpp_matrix cp_matrix sp_matrix ep_matrix epp_matrix = FP.expand_crypto_secretkeybytes a; FP.expand_crypto_publickeybytes a; let pk = sub sk (crypto_bytes a) (crypto_publickeybytes a) in let seed_a = sub pk 0ul bytes_seed_a in let b = sub pk bytes_seed_a (crypto_pu...
val get_bpp_cp_matrices_: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> mu_decode:lbytes (bytes_mu a) -> sk:lbytes (crypto_secretkeybytes a) -> bpp_matrix:matrix_t params_nbar (params_n a) -> cp_matrix:matrix_t params_nbar params_nbar -> sp_matrix:matrix_t params_nbar (params_n a) -> e...
true
null
false
FP.expand_crypto_secretkeybytes a; FP.expand_crypto_publickeybytes a; let pk = sub sk (crypto_bytes a) (crypto_publickeybytes a) in let seed_a = sub pk 0ul bytes_seed_a in let b = sub pk bytes_seed_a (crypto_publickeybytes a -! bytes_seed_a) in frodo_mul_add_sa_plus_e a gen_a seed_a sp_matrix ep_matrix bpp_matrix; frod...
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Spec.Frodo.Params.frodo_gen_a", "Prims.b2t", "Hacl.Impl.Frodo.Params.is_supported", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.bytes_mu", "Hacl.Impl.Frodo.Params.crypto_secretkeybytes", "Hacl.Impl.Matrix.matrix_t", "Hacl.Impl.Frodo.Params.params_nbar", "Hacl...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 get_bpp_cp_matrices_: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> mu_decode:lbytes (bytes_mu a) -> sk:lbytes (crypto_secretkeybytes a) -> bpp_matrix:matrix_t params_nbar (params_n a) -> cp_matrix:matrix_t params_nbar params_nbar -> sp_matrix:matrix_t params_nbar (params_n a) -> e...
[]
Hacl.Impl.Frodo.KEM.Decaps.get_bpp_cp_matrices_
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> gen_a: Spec.Frodo.Params.frodo_gen_a{Hacl.Impl.Frodo.Params.is_supported gen_a} -> mu_decode: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.bytes_mu a) -> sk: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_secretkeybytes a) -> bpp_matrix: Hacl.Impl....
{ "end_col": 36, "end_line": 114, "start_col": 2, "start_line": 105 }
FStar.HyperStack.ST.Stack
val get_bpp_cp_matrices: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> mu_decode:lbytes (bytes_mu a) -> seed_se:lbytes (crypto_bytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bpp_matrix:matrix_t params_nbar (params_n a) -> cp_matrix:matrix_t params_nbar params_nbar -> Stack unit ...
[ { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "M" }, { "abbrev": true, "full_module": "Spec.Frodo.KEM.Decaps", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Impl.Frodo.KEM.KeyGen", "short_module": "KG" }, { "abbrev": true, "fu...
false
let get_bpp_cp_matrices a gen_a mu_decode seed_se sk bpp_matrix cp_matrix = push_frame (); let sp_matrix = matrix_create params_nbar (params_n a) in let ep_matrix = matrix_create params_nbar (params_n a) in let epp_matrix = matrix_create params_nbar params_nbar in get_sp_ep_epp_matrices a seed_se sp_matrix ...
val get_bpp_cp_matrices: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> mu_decode:lbytes (bytes_mu a) -> seed_se:lbytes (crypto_bytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bpp_matrix:matrix_t params_nbar (params_n a) -> cp_matrix:matrix_t params_nbar params_nbar -> Stack unit ...
true
null
false
push_frame (); let sp_matrix = matrix_create params_nbar (params_n a) in let ep_matrix = matrix_create params_nbar (params_n a) in let epp_matrix = matrix_create params_nbar params_nbar in get_sp_ep_epp_matrices a seed_se sp_matrix ep_matrix epp_matrix; get_bpp_cp_matrices_ a gen_a mu_decode sk bpp_matrix cp_matrix sp_...
{ "checked_file": "Hacl.Impl.Frodo.KEM.Decaps.fst.checked", "dependencies": [ "Spec.Matrix.fst.checked", "Spec.Frodo.Params.fst.checked", "Spec.Frodo.KEM.Decaps.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[]
[ "Spec.Frodo.Params.frodo_alg", "Spec.Frodo.Params.frodo_gen_a", "Prims.b2t", "Hacl.Impl.Frodo.Params.is_supported", "Hacl.Impl.Matrix.lbytes", "Hacl.Impl.Frodo.Params.bytes_mu", "Hacl.Impl.Frodo.Params.crypto_bytes", "Hacl.Impl.Frodo.Params.crypto_secretkeybytes", "Hacl.Impl.Matrix.matrix_t", "Hac...
[]
module Hacl.Impl.Frodo.KEM.Decaps open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Matrix open Hacl.Impl.Frodo.Params open Hacl.Impl.Frodo.KEM open Hacl.Impl.Frodo.KEM.Encaps open Hacl.Impl.Frodo.Encode open Hacl.Impl.Frodo.Pack open ...
false
false
Hacl.Impl.Frodo.KEM.Decaps.fst
{ "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 get_bpp_cp_matrices: a:FP.frodo_alg -> gen_a:FP.frodo_gen_a{is_supported gen_a} -> mu_decode:lbytes (bytes_mu a) -> seed_se:lbytes (crypto_bytes a) -> sk:lbytes (crypto_secretkeybytes a) -> bpp_matrix:matrix_t params_nbar (params_n a) -> cp_matrix:matrix_t params_nbar params_nbar -> Stack unit ...
[]
Hacl.Impl.Frodo.KEM.Decaps.get_bpp_cp_matrices
{ "file_name": "code/frodo/Hacl.Impl.Frodo.KEM.Decaps.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Frodo.Params.frodo_alg -> gen_a: Spec.Frodo.Params.frodo_gen_a{Hacl.Impl.Frodo.Params.is_supported gen_a} -> mu_decode: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.bytes_mu a) -> seed_se: Hacl.Impl.Matrix.lbytes (Hacl.Impl.Frodo.Params.crypto_bytes a) -> sk: Hacl.Impl.Matrix.lbytes (Hac...
{ "end_col": 14, "end_line": 144, "start_col": 2, "start_line": 137 }
Prims.Tot
val ffdhe_len (a: S.ffdhe_alg) : DH.size_pos
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let ffdhe_len (a:S.ffdhe_alg) : DH.size_pos = DH.ffdhe_len a
val ffdhe_len (a: S.ffdhe_alg) : DH.size_pos let ffdhe_len (a: S.ffdhe_alg) : DH.size_pos =
false
null
false
DH.ffdhe_len a
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Hacl.Impl.FFDHE.ffdhe_len", "Hacl.Impl.FFDHE.size_pos" ]
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract let ke (a:S.ffdhe_alg) =...
false
true
Hacl.FFDHE.fst
{ "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 ffdhe_len (a: S.ffdhe_alg) : DH.size_pos
[]
Hacl.FFDHE.ffdhe_len
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Impl.FFDHE.size_pos
{ "end_col": 60, "end_line": 35, "start_col": 46, "start_line": 35 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let t_limbs = U64
let t_limbs =
false
null
false
U64
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Lib.IntTypes.U64" ]
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
false
true
Hacl.FFDHE.fst
{ "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 t_limbs : Lib.IntTypes.inttype
[]
Hacl.FFDHE.t_limbs
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Lib.IntTypes.inttype
{ "end_col": 17, "end_line": 13, "start_col": 14, "start_line": 13 }
Prims.Tot
val ffdhe_precomp_p (a: S.ffdhe_alg) : DH.ffdhe_precomp_p_st t_limbs a (DH.ffdhe_len a) (ke a)
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let ffdhe_precomp_p (a:S.ffdhe_alg) : DH.ffdhe_precomp_p_st t_limbs a (DH.ffdhe_len a) (ke a) = DH.ffdhe_precomp_p a (DH.ffdhe_len a) (ke a)
val ffdhe_precomp_p (a: S.ffdhe_alg) : DH.ffdhe_precomp_p_st t_limbs a (DH.ffdhe_len a) (ke a) let ffdhe_precomp_p (a: S.ffdhe_alg) : DH.ffdhe_precomp_p_st t_limbs a (DH.ffdhe_len a) (ke a) =
false
null
false
DH.ffdhe_precomp_p a (DH.ffdhe_len a) (ke a)
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Hacl.Impl.FFDHE.ffdhe_precomp_p", "Hacl.FFDHE.t_limbs", "Hacl.Impl.FFDHE.ffdhe_len", "Hacl.FFDHE.ke", "Hacl.Impl.FFDHE.ffdhe_precomp_p_st" ]
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract let ke (a:S.ffdhe_alg) =...
false
false
Hacl.FFDHE.fst
{ "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 ffdhe_precomp_p (a: S.ffdhe_alg) : DH.ffdhe_precomp_p_st t_limbs a (DH.ffdhe_len a) (ke a)
[]
Hacl.FFDHE.ffdhe_precomp_p
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Impl.FFDHE.ffdhe_precomp_p_st Hacl.FFDHE.t_limbs a (Hacl.Impl.FFDHE.ffdhe_len a) (Hacl.FFDHE.ke a)
{ "end_col": 46, "end_line": 22, "start_col": 2, "start_line": 22 }
Prims.Tot
val ffdhe_compute_exp (a: S.ffdhe_alg) : DH.ffdhe_compute_exp_st t_limbs a (DH.ffdhe_len a) (ke a)
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let ffdhe_compute_exp (a:S.ffdhe_alg) : DH.ffdhe_compute_exp_st t_limbs a (DH.ffdhe_len a) (ke a) = DH.ffdhe_compute_exp a (DH.ffdhe_len a) (ke a)
val ffdhe_compute_exp (a: S.ffdhe_alg) : DH.ffdhe_compute_exp_st t_limbs a (DH.ffdhe_len a) (ke a) let ffdhe_compute_exp (a: S.ffdhe_alg) : DH.ffdhe_compute_exp_st t_limbs a (DH.ffdhe_len a) (ke a) =
false
null
false
DH.ffdhe_compute_exp a (DH.ffdhe_len a) (ke a)
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Hacl.Impl.FFDHE.ffdhe_compute_exp", "Hacl.FFDHE.t_limbs", "Hacl.Impl.FFDHE.ffdhe_len", "Hacl.FFDHE.ke", "Hacl.Impl.FFDHE.ffdhe_compute_exp_st" ]
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract let ke (a:S.ffdhe_alg) =...
false
false
Hacl.FFDHE.fst
{ "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 ffdhe_compute_exp (a: S.ffdhe_alg) : DH.ffdhe_compute_exp_st t_limbs a (DH.ffdhe_len a) (ke a)
[]
Hacl.FFDHE.ffdhe_compute_exp
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Impl.FFDHE.ffdhe_compute_exp_st Hacl.FFDHE.t_limbs a (Hacl.Impl.FFDHE.ffdhe_len a) (Hacl.FFDHE.ke a)
{ "end_col": 48, "end_line": 32, "start_col": 2, "start_line": 32 }
Prims.Tot
val ffdhe_check_pk (a: S.ffdhe_alg) : DH.ffdhe_check_pk_st t_limbs a (DH.ffdhe_len a)
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let ffdhe_check_pk (a:S.ffdhe_alg) : DH.ffdhe_check_pk_st t_limbs a (DH.ffdhe_len a) = DH.ffdhe_check_pk #t_limbs a (DH.ffdhe_len a)
val ffdhe_check_pk (a: S.ffdhe_alg) : DH.ffdhe_check_pk_st t_limbs a (DH.ffdhe_len a) let ffdhe_check_pk (a: S.ffdhe_alg) : DH.ffdhe_check_pk_st t_limbs a (DH.ffdhe_len a) =
false
null
false
DH.ffdhe_check_pk #t_limbs a (DH.ffdhe_len a)
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Hacl.Impl.FFDHE.ffdhe_check_pk", "Hacl.FFDHE.t_limbs", "Hacl.Impl.FFDHE.ffdhe_len", "Hacl.Impl.FFDHE.ffdhe_check_pk_st" ]
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract let ke (a:S.ffdhe_alg) =...
false
false
Hacl.FFDHE.fst
{ "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 ffdhe_check_pk (a: S.ffdhe_alg) : DH.ffdhe_check_pk_st t_limbs a (DH.ffdhe_len a)
[]
Hacl.FFDHE.ffdhe_check_pk
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Impl.FFDHE.ffdhe_check_pk_st Hacl.FFDHE.t_limbs a (Hacl.Impl.FFDHE.ffdhe_len a)
{ "end_col": 47, "end_line": 27, "start_col": 2, "start_line": 27 }
Prims.Tot
val new_ffdhe_precomp_p: a:S.ffdhe_alg -> DH.new_ffdhe_precomp_p_st t_limbs a (ffdhe_len a) (ke a)
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let new_ffdhe_precomp_p a = DH.new_ffdhe_precomp_p a (DH.ffdhe_len a) (ke a) (ffdhe_precomp_p a)
val new_ffdhe_precomp_p: a:S.ffdhe_alg -> DH.new_ffdhe_precomp_p_st t_limbs a (ffdhe_len a) (ke a) let new_ffdhe_precomp_p a =
false
null
false
DH.new_ffdhe_precomp_p a (DH.ffdhe_len a) (ke a) (ffdhe_precomp_p a)
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Hacl.Impl.FFDHE.new_ffdhe_precomp_p", "Hacl.FFDHE.t_limbs", "Hacl.Impl.FFDHE.ffdhe_len", "Hacl.FFDHE.ke", "Hacl.FFDHE.ffdhe_precomp_p", "Hacl.Impl.FFDHE.new_ffdhe_precomp_p_st", "Hacl.FFDHE.ffdhe_len" ]
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract let ke (a:S.ffdhe_alg) =...
false
false
Hacl.FFDHE.fst
{ "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 new_ffdhe_precomp_p: a:S.ffdhe_alg -> DH.new_ffdhe_precomp_p_st t_limbs a (ffdhe_len a) (ke a)
[]
Hacl.FFDHE.new_ffdhe_precomp_p
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Impl.FFDHE.new_ffdhe_precomp_p_st Hacl.FFDHE.t_limbs a (Hacl.FFDHE.ffdhe_len a) (Hacl.FFDHE.ke a)
{ "end_col": 70, "end_line": 41, "start_col": 2, "start_line": 41 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let ke (a:S.ffdhe_alg) = BE.mk_runtime_exp #t_limbs (BD.blocks (DH.ffdhe_len a) (size (numbytes t_limbs)))
let ke (a: S.ffdhe_alg) =
false
null
false
BE.mk_runtime_exp #t_limbs (BD.blocks (DH.ffdhe_len a) (size (numbytes t_limbs)))
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Hacl.Bignum.Exponentiation.mk_runtime_exp", "Hacl.FFDHE.t_limbs", "Hacl.Bignum.Definitions.blocks", "Hacl.Impl.FFDHE.ffdhe_len", "Lib.IntTypes.size", "Lib.IntTypes.numbytes", "Hacl.Bignum.Exponentiation.exp" ]
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract
false
true
Hacl.FFDHE.fst
{ "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 ke : a: Spec.FFDHE.ffdhe_alg -> Hacl.Bignum.Exponentiation.exp Hacl.FFDHE.t_limbs
[]
Hacl.FFDHE.ke
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Bignum.Exponentiation.exp Hacl.FFDHE.t_limbs
{ "end_col": 83, "end_line": 17, "start_col": 2, "start_line": 17 }
Prims.Tot
val ffdhe_secret_to_public: a:S.ffdhe_alg -> DH.ffdhe_secret_to_public_st t_limbs a (DH.ffdhe_len a) (ke a)
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let ffdhe_secret_to_public a sk pk = let len = DH.ffdhe_len a in DH.ffdhe_secret_to_public a len (ke a) (ffdhe_secret_to_public_precomp a) (ffdhe_precomp_p a) sk pk
val ffdhe_secret_to_public: a:S.ffdhe_alg -> DH.ffdhe_secret_to_public_st t_limbs a (DH.ffdhe_len a) (ke a) let ffdhe_secret_to_public a sk pk =
false
null
false
let len = DH.ffdhe_len a in DH.ffdhe_secret_to_public a len (ke a) (ffdhe_secret_to_public_precomp a) (ffdhe_precomp_p a) sk pk
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.Impl.FFDHE.ffdhe_len", "Hacl.Impl.FFDHE.ffdhe_secret_to_public", "Hacl.FFDHE.t_limbs", "Hacl.FFDHE.ke", "Hacl.FFDHE.ffdhe_secret_to_public_precomp", "Hacl.FFDHE.ffdhe_precomp_p", "Prims.unit", "Hacl.Impl.FFDHE.size_pos", ...
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract let ke (a:S.ffdhe_alg) =...
false
false
Hacl.FFDHE.fst
{ "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 ffdhe_secret_to_public: a:S.ffdhe_alg -> DH.ffdhe_secret_to_public_st t_limbs a (DH.ffdhe_len a) (ke a)
[]
Hacl.FFDHE.ffdhe_secret_to_public
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Impl.FFDHE.ffdhe_secret_to_public_st Hacl.FFDHE.t_limbs a (Hacl.Impl.FFDHE.ffdhe_len a) (Hacl.FFDHE.ke a)
{ "end_col": 101, "end_line": 55, "start_col": 36, "start_line": 53 }
Prims.Tot
val ffdhe_shared_secret: a:S.ffdhe_alg -> DH.ffdhe_shared_secret_st t_limbs a (DH.ffdhe_len a) (ke a)
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let ffdhe_shared_secret a sk pk ss = let len = DH.ffdhe_len a in DH.ffdhe_shared_secret a len (ke a) (ffdhe_shared_secret_precomp a) (ffdhe_precomp_p a) sk pk ss
val ffdhe_shared_secret: a:S.ffdhe_alg -> DH.ffdhe_shared_secret_st t_limbs a (DH.ffdhe_len a) (ke a) let ffdhe_shared_secret a sk pk ss =
false
null
false
let len = DH.ffdhe_len a in DH.ffdhe_shared_secret a len (ke a) (ffdhe_shared_secret_precomp a) (ffdhe_precomp_p a) sk pk ss
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.Impl.FFDHE.ffdhe_len", "Hacl.Impl.FFDHE.ffdhe_shared_secret", "Hacl.FFDHE.t_limbs", "Hacl.FFDHE.ke", "Hacl.FFDHE.ffdhe_shared_secret_precomp", "Hacl.FFDHE.ffdhe_precomp_p", "Hacl.Bignum.Definitions.limb", "Hacl.Impl.FFDHE....
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract let ke (a:S.ffdhe_alg) =...
false
false
Hacl.FFDHE.fst
{ "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 ffdhe_shared_secret: a:S.ffdhe_alg -> DH.ffdhe_shared_secret_st t_limbs a (DH.ffdhe_len a) (ke a)
[]
Hacl.FFDHE.ffdhe_shared_secret
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Impl.FFDHE.ffdhe_shared_secret_st Hacl.FFDHE.t_limbs a (Hacl.Impl.FFDHE.ffdhe_len a) (Hacl.FFDHE.ke a)
{ "end_col": 98, "end_line": 69, "start_col": 36, "start_line": 67 }
Prims.Tot
val ffdhe_secret_to_public_precomp: a:S.ffdhe_alg -> DH.ffdhe_secret_to_public_precomp_st t_limbs a (DH.ffdhe_len a) (ke a)
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let ffdhe_secret_to_public_precomp a p_r2_n sk pk = let len = DH.ffdhe_len a in DH.ffdhe_secret_to_public_precomp a len (ke a) (ffdhe_compute_exp a) p_r2_n sk pk
val ffdhe_secret_to_public_precomp: a:S.ffdhe_alg -> DH.ffdhe_secret_to_public_precomp_st t_limbs a (DH.ffdhe_len a) (ke a) let ffdhe_secret_to_public_precomp a p_r2_n sk pk =
false
null
false
let len = DH.ffdhe_len a in DH.ffdhe_secret_to_public_precomp a len (ke a) (ffdhe_compute_exp a) p_r2_n sk pk
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Hacl.Bignum.Definitions.lbignum", "Hacl.FFDHE.t_limbs", "Lib.IntTypes.op_Plus_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.Definitions.blocks", "Hacl.Impl.FFDHE.ffdhe_len", "Lib.IntTypes.size", "Lib.IntTypes.numbytes", "Lib.Buffer.lbuffer", "Lib.IntTypes...
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract let ke (a:S.ffdhe_alg) =...
false
false
Hacl.FFDHE.fst
{ "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 ffdhe_secret_to_public_precomp: a:S.ffdhe_alg -> DH.ffdhe_secret_to_public_precomp_st t_limbs a (DH.ffdhe_len a) (ke a)
[]
Hacl.FFDHE.ffdhe_secret_to_public_precomp
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Impl.FFDHE.ffdhe_secret_to_public_precomp_st Hacl.FFDHE.t_limbs a (Hacl.Impl.FFDHE.ffdhe_len a) (Hacl.FFDHE.ke a)
{ "end_col": 83, "end_line": 48, "start_col": 51, "start_line": 46 }
Prims.Tot
val ffdhe_shared_secret_precomp: a:S.ffdhe_alg -> DH.ffdhe_shared_secret_precomp_st t_limbs a (DH.ffdhe_len a) (ke a)
[ { "abbrev": true, "full_module": "Hacl.Bignum.Exponentiation", "short_module": "BE" }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Hacl.Impl.FFDHE", "short_module": "DH" }, { "abbrev": true,...
false
let ffdhe_shared_secret_precomp a p_r2_n sk pk ss = let len = DH.ffdhe_len a in DH.ffdhe_shared_secret_precomp a len (ke a) (ffdhe_check_pk a) (ffdhe_compute_exp a) p_r2_n sk pk ss
val ffdhe_shared_secret_precomp: a:S.ffdhe_alg -> DH.ffdhe_shared_secret_precomp_st t_limbs a (DH.ffdhe_len a) (ke a) let ffdhe_shared_secret_precomp a p_r2_n sk pk ss =
false
null
false
let len = DH.ffdhe_len a in DH.ffdhe_shared_secret_precomp a len (ke a) (ffdhe_check_pk a) (ffdhe_compute_exp a) p_r2_n sk pk ss
{ "checked_file": "Hacl.FFDHE.fst.checked", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Impl.FFDHE.fst.checked", "Hacl.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked" ], ...
[ "total" ]
[ "Spec.FFDHE.ffdhe_alg", "Hacl.Bignum.Definitions.lbignum", "Hacl.FFDHE.t_limbs", "Lib.IntTypes.op_Plus_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.Definitions.blocks", "Hacl.Impl.FFDHE.ffdhe_len", "Lib.IntTypes.size", "Lib.IntTypes.numbytes", "Lib.Buffer.lbuffer", "Lib.IntTypes...
[]
module Hacl.FFDHE open Lib.IntTypes module S = Spec.FFDHE module DH = Hacl.Impl.FFDHE module BD = Hacl.Bignum.Definitions module BE = Hacl.Bignum.Exponentiation #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs = U64 inline_for_extraction noextract let ke (a:S.ffdhe_alg) =...
false
false
Hacl.FFDHE.fst
{ "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 ffdhe_shared_secret_precomp: a:S.ffdhe_alg -> DH.ffdhe_shared_secret_precomp_st t_limbs a (DH.ffdhe_len a) (ke a)
[]
Hacl.FFDHE.ffdhe_shared_secret_precomp
{ "file_name": "code/ffdhe/Hacl.FFDHE.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.FFDHE.ffdhe_alg -> Hacl.Impl.FFDHE.ffdhe_shared_secret_precomp_st Hacl.FFDHE.t_limbs a (Hacl.Impl.FFDHE.ffdhe_len a) (Hacl.FFDHE.ke a)
{ "end_col": 102, "end_line": 62, "start_col": 51, "start_line": 60 }
Prims.Tot
val sqr (#t: Type) (k: comm_monoid t) (a: t) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.Exponentiation", "short_module": null }, { "abbrev": false, "full_m...
false
let sqr (#t:Type) (k:comm_monoid t) (a:t) : t = mul a a
val sqr (#t: Type) (k: comm_monoid t) (a: t) : t let sqr (#t: Type) (k: comm_monoid t) (a: t) : t =
false
null
false
mul a a
{ "checked_file": "Lib.Exponentiation.Definition.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.Expo...
[ "total" ]
[ "Lib.Exponentiation.Definition.comm_monoid", "Lib.Exponentiation.Definition.mul" ]
[]
module Lib.Exponentiation.Definition open FStar.Mul module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" //we don't require to have an inverse element to be an abelian group //so this is just commutative monoid inline_for_extraction class comm_monoid (t:Type) = { one: t; mul: t -> ...
false
false
Lib.Exponentiation.Definition.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 sqr (#t: Type) (k: comm_monoid t) (a: t) : t
[]
Lib.Exponentiation.Definition.sqr
{ "file_name": "lib/Lib.Exponentiation.Definition.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Lib.Exponentiation.Definition.comm_monoid t -> a: t -> t
{ "end_col": 55, "end_line": 28, "start_col": 48, "start_line": 28 }
Prims.Tot
val pow_neg (#t: Type) (k: abelian_group t) (x: t) (n: int) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.Exponentiation", "short_module": null }, { "abbrev": false, "full_m...
false
let pow_neg (#t:Type) (k:abelian_group t) (x:t) (n:int) : t = if n >= 0 then pow k.cm x n else k.inverse (pow k.cm x (- n))
val pow_neg (#t: Type) (k: abelian_group t) (x: t) (n: int) : t let pow_neg (#t: Type) (k: abelian_group t) (x: t) (n: int) : t =
false
null
false
if n >= 0 then pow k.cm x n else k.inverse (pow k.cm x (- n))
{ "checked_file": "Lib.Exponentiation.Definition.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.Expo...
[ "total" ]
[ "Lib.Exponentiation.Definition.abelian_group", "Prims.int", "Prims.op_GreaterThanOrEqual", "Lib.Exponentiation.Definition.pow", "Lib.Exponentiation.Definition.__proj__Mkabelian_group__item__cm", "Prims.bool", "Lib.Exponentiation.Definition.__proj__Mkabelian_group__item__inverse", "Prims.op_Minus" ]
[]
module Lib.Exponentiation.Definition open FStar.Mul module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" //we don't require to have an inverse element to be an abelian group //so this is just commutative monoid inline_for_extraction class comm_monoid (t:Type) = { one: t; mul: t -> ...
false
false
Lib.Exponentiation.Definition.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 pow_neg (#t: Type) (k: abelian_group t) (x: t) (n: int) : t
[]
Lib.Exponentiation.Definition.pow_neg
{ "file_name": "lib/Lib.Exponentiation.Definition.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Lib.Exponentiation.Definition.abelian_group t -> x: t -> n: Prims.int -> t
{ "end_col": 63, "end_line": 37, "start_col": 2, "start_line": 37 }
Prims.Tot
val pow (#t: Type) (k: comm_monoid t) (x: t) (n: nat) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.Exponentiation", "short_module": null }, { "abbrev": false, "full_m...
false
let rec pow (#t:Type) (k:comm_monoid t) (x:t) (n:nat) : t = if n = 0 then one else mul x (pow k x (n - 1))
val pow (#t: Type) (k: comm_monoid t) (x: t) (n: nat) : t let rec pow (#t: Type) (k: comm_monoid t) (x: t) (n: nat) : t =
false
null
false
if n = 0 then one else mul x (pow k x (n - 1))
{ "checked_file": "Lib.Exponentiation.Definition.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.LoopCombinators.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.Expo...
[ "total" ]
[ "Lib.Exponentiation.Definition.comm_monoid", "Prims.nat", "Prims.op_Equality", "Prims.int", "Lib.Exponentiation.Definition.one", "Prims.bool", "Lib.Exponentiation.Definition.mul", "Lib.Exponentiation.Definition.pow", "Prims.op_Subtraction" ]
[]
module Lib.Exponentiation.Definition open FStar.Mul module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" //we don't require to have an inverse element to be an abelian group //so this is just commutative monoid inline_for_extraction class comm_monoid (t:Type) = { one: t; mul: t -> ...
false
false
Lib.Exponentiation.Definition.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 pow (#t: Type) (k: comm_monoid t) (x: t) (n: nat) : t
[ "recursion" ]
Lib.Exponentiation.Definition.pow
{ "file_name": "lib/Lib.Exponentiation.Definition.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Lib.Exponentiation.Definition.comm_monoid t -> x: t -> n: Prims.nat -> t
{ "end_col": 30, "end_line": 34, "start_col": 2, "start_line": 33 }
FStar.HyperStack.ST.Stack
val mk_base_point: p:P.point -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ P.point_inv h1 p /\ P.point_eval h1 p == S.g)
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let mk_base_point p = P.make_g p
val mk_base_point: p:P.point -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ P.point_inv h1 p /\ P.point_eval h1 p == S.g) let mk_base_point p =
true
null
false
P.make_g p
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.Impl.K256.Point.point", "Hacl.Impl.K256.Point.make_g", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 mk_base_point: p:P.point -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ P.point_inv h1 p /\ P.point_eval h1 p == S.g)
[]
Hacl.EC.K256.mk_base_point
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Hacl.Impl.K256.Point.point -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 12, "end_line": 246, "start_col": 2, "start_line": 246 }
FStar.HyperStack.ST.Stack
val mk_point_at_inf: p:P.point -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ P.point_inv h1 p /\ S.to_aff_point (P.point_eval h1 p) == S.aff_point_at_inf)
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let mk_point_at_inf p = P.make_point_at_inf p
val mk_point_at_inf: p:P.point -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ P.point_inv h1 p /\ S.to_aff_point (P.point_eval h1 p) == S.aff_point_at_inf) let mk_point_at_inf p =
true
null
false
P.make_point_at_inf p
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.Impl.K256.Point.point", "Hacl.Impl.K256.Point.make_point_at_inf", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 mk_point_at_inf: p:P.point -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ P.point_inv h1 p /\ S.to_aff_point (P.point_eval h1 p) == S.aff_point_at_inf)
[]
Hacl.EC.K256.mk_point_at_inf
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Hacl.Impl.K256.Point.point -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 23, "end_line": 234, "start_col": 2, "start_line": 234 }
FStar.HyperStack.ST.Stack
val mk_felem_one: f:F.felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ F.inv_lazy_reduced2 h1 f /\ F.feval h1 f == S.one)
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let mk_felem_one f = Math.Lemmas.small_mod S.one S.prime; F.set_one f
val mk_felem_one: f:F.felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ F.inv_lazy_reduced2 h1 f /\ F.feval h1 f == S.one) let mk_felem_one f =
true
null
false
Math.Lemmas.small_mod S.one S.prime; F.set_one f
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.K256.Field.felem", "Hacl.K256.Field.set_one", "Prims.unit", "FStar.Math.Lemmas.small_mod", "Spec.K256.PointOps.one", "Spec.K256.PointOps.prime" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 mk_felem_one: f:F.felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ F.inv_lazy_reduced2 h1 f /\ F.feval h1 f == S.one)
[]
Hacl.EC.K256.mk_felem_one
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 13, "end_line": 59, "start_col": 2, "start_line": 58 }
FStar.HyperStack.ST.Stack
val point_double (p out:P.point) : Stack unit (requires fun h -> live h out /\ live h p /\ eq_or_disjoint p out /\ P.point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval h1 out == S.point_double (P.point_eval h0 p))
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let point_double p out = PD.point_double out p
val point_double (p out:P.point) : Stack unit (requires fun h -> live h out /\ live h p /\ eq_or_disjoint p out /\ P.point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval h1 out == S.point_double (P.point_eval h0 p)) let point_double p out =
true
null
false
PD.point_double out p
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.Impl.K256.Point.point", "Hacl.Impl.K256.PointDouble.point_double", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 point_double (p out:P.point) : Stack unit (requires fun h -> live h out /\ live h p /\ eq_or_disjoint p out /\ P.point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval h1 out == S.point_double (P.point_eval h0 p))
[]
Hacl.EC.K256.point_double
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Hacl.Impl.K256.Point.point -> out: Hacl.Impl.K256.Point.point -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 23, "end_line": 303, "start_col": 2, "start_line": 303 }
FStar.HyperStack.ST.Stack
val mk_felem_zero: f:F.felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ F.inv_lazy_reduced2 h1 f /\ F.feval h1 f == S.zero)
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let mk_felem_zero f = Math.Lemmas.small_mod S.zero S.prime; F.set_zero f
val mk_felem_zero: f:F.felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ F.inv_lazy_reduced2 h1 f /\ F.feval h1 f == S.zero) let mk_felem_zero f =
true
null
false
Math.Lemmas.small_mod S.zero S.prime; F.set_zero f
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.K256.Field.felem", "Hacl.K256.Field.set_zero", "Prims.unit", "FStar.Math.Lemmas.small_mod", "Spec.K256.PointOps.zero", "Spec.K256.PointOps.prime" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 mk_felem_zero: f:F.felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ F.inv_lazy_reduced2 h1 f /\ F.feval h1 f == S.zero)
[]
Hacl.EC.K256.mk_felem_zero
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 46, "start_col": 2, "start_line": 45 }
FStar.HyperStack.ST.Stack
val felem_inv (a out:F.felem) : Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out /\ F.inv_lazy_reduced2 h a) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 out /\ F.feval h1 out == S.finv (F.feval h0 a))
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let felem_inv a out = FI.finv out a
val felem_inv (a out:F.felem) : Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out /\ F.inv_lazy_reduced2 h a) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 out /\ F.feval h1 out == S.finv (F.feval h0 a)) let felem_inv a out =
true
null
false
FI.finv out a
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.K256.Field.felem", "Hacl.Impl.K256.Finv.finv", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 felem_inv (a out:F.felem) : Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out /\ F.inv_lazy_reduced2 h a) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 out /\ F.feval h1 out == S.finv (F.feval h0 a))
[]
Hacl.EC.K256.felem_inv
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.K256.Field.felem -> out: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 15, "end_line": 171, "start_col": 2, "start_line": 171 }
FStar.HyperStack.ST.Stack
val point_negate (p out:P.point) : Stack unit (requires fun h -> live h out /\ live h p /\ eq_or_disjoint out p /\ P.point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval h1 out == S.point_negate (P.point_eval h0 p))
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let point_negate p out = P.point_negate out p
val point_negate (p out:P.point) : Stack unit (requires fun h -> live h out /\ live h p /\ eq_or_disjoint out p /\ P.point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval h1 out == S.point_negate (P.point_eval h0 p)) let point_negate p out =
true
null
false
P.point_negate out p
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.Impl.K256.Point.point", "Hacl.Impl.K256.Point.point_negate", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 point_negate (p out:P.point) : Stack unit (requires fun h -> live h out /\ live h p /\ eq_or_disjoint out p /\ P.point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval h1 out == S.point_negate (P.point_eval h0 p))
[]
Hacl.EC.K256.point_negate
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Hacl.Impl.K256.Point.point -> out: Hacl.Impl.K256.Point.point -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 22, "end_line": 265, "start_col": 2, "start_line": 265 }
FStar.HyperStack.ST.Stack
val point_add (p q out:P.point) : Stack unit (requires fun h -> live h out /\ live h p /\ live h q /\ eq_or_disjoint p out /\ eq_or_disjoint q out /\ eq_or_disjoint p q /\ P.point_inv h p /\ P.point_inv h q) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval ...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let point_add p q out = PA.point_add out p q
val point_add (p q out:P.point) : Stack unit (requires fun h -> live h out /\ live h p /\ live h q /\ eq_or_disjoint p out /\ eq_or_disjoint q out /\ eq_or_disjoint p q /\ P.point_inv h p /\ P.point_inv h q) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval ...
true
null
false
PA.point_add out p q
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.Impl.K256.Point.point", "Hacl.Impl.K256.PointAdd.point_add", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 point_add (p q out:P.point) : Stack unit (requires fun h -> live h out /\ live h p /\ live h q /\ eq_or_disjoint p out /\ eq_or_disjoint q out /\ eq_or_disjoint p q /\ P.point_inv h p /\ P.point_inv h q) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval ...
[]
Hacl.EC.K256.point_add
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Hacl.Impl.K256.Point.point -> q: Hacl.Impl.K256.Point.point -> out: Hacl.Impl.K256.Point.point -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 22, "end_line": 285, "start_col": 2, "start_line": 285 }
FStar.HyperStack.ST.Stack
val felem_load: b:lbuffer uint8 32ul -> out:F.felem -> Stack unit (requires fun h -> live h b /\ live h out /\ disjoint b out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 out /\ F.feval h1 out == BSeq.nat_from_bytes_be (as_seq h0 b) % S.prime)
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let felem_load b out = F.load_felem out b
val felem_load: b:lbuffer uint8 32ul -> out:F.felem -> Stack unit (requires fun h -> live h b /\ live h out /\ disjoint b out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 out /\ F.feval h1 out == BSeq.nat_from_bytes_be (as_seq h0 b) % S.prime) let felem_load b out =
true
null
false
F.load_felem out b
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Hacl.K256.Field.felem", "Hacl.K256.Field.load_felem", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 felem_load: b:lbuffer uint8 32ul -> out:F.felem -> Stack unit (requires fun h -> live h b /\ live h out /\ disjoint b out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 out /\ F.feval h1 out == BSeq.nat_from_bytes_be (as_seq h0 b) % S.prime)
[]
Hacl.EC.K256.felem_load
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> out: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 20, "end_line": 189, "start_col": 2, "start_line": 189 }
FStar.HyperStack.ST.Stack
val point_load: b:lbuffer uint8 64ul -> out:P.point -> Stack unit (requires fun h -> live h out /\ live h b /\ disjoint b out /\ S.point_inv_bytes (as_seq h b)) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval h1 out == S.load_point_nocheck (as_seq h0 b))
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let point_load b out = P.load_point_nocheck out b
val point_load: b:lbuffer uint8 64ul -> out:P.point -> Stack unit (requires fun h -> live h out /\ live h b /\ disjoint b out /\ S.point_inv_bytes (as_seq h b)) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval h1 out == S.load_point_nocheck (as_seq h0 b)) let p...
true
null
false
P.load_point_nocheck out b
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Hacl.Impl.K256.Point.point", "Hacl.Impl.K256.Point.load_point_nocheck", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 point_load: b:lbuffer uint8 64ul -> out:P.point -> Stack unit (requires fun h -> live h out /\ live h b /\ disjoint b out /\ S.point_inv_bytes (as_seq h b)) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ P.point_inv h1 out /\ P.point_eval h1 out == S.load_point_nocheck (as_seq h0 b))
[]
Hacl.EC.K256.point_load
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul -> out: Hacl.Impl.K256.Point.point -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 28, "end_line": 376, "start_col": 2, "start_line": 376 }
FStar.HyperStack.ST.Stack
val point_store: p:P.point -> out:lbuffer uint8 64ul -> Stack unit (requires fun h -> live h out /\ live h p /\ disjoint p out /\ P.point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ as_seq h1 out == S.point_store (P.point_eval h0 p))
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let point_store p out = P.point_store out p
val point_store: p:P.point -> out:lbuffer uint8 64ul -> Stack unit (requires fun h -> live h out /\ live h p /\ disjoint p out /\ P.point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ as_seq h1 out == S.point_store (P.point_eval h0 p)) let point_store p out =
true
null
false
P.point_store out p
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.Impl.K256.Point.point", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Hacl.Impl.K256.Point.point_store", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 point_store: p:P.point -> out:lbuffer uint8 64ul -> Stack unit (requires fun h -> live h out /\ live h p /\ disjoint p out /\ P.point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ as_seq h1 out == S.point_store (P.point_eval h0 p))
[]
Hacl.EC.K256.point_store
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Hacl.Impl.K256.Point.point -> out: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 21, "end_line": 355, "start_col": 2, "start_line": 355 }
FStar.HyperStack.ST.Stack
val felem_add (a b out:F.felem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h out /\ eq_or_disjoint out a /\ eq_or_disjoint out b /\ eq_or_disjoint a b /\ F.inv_lazy_reduced2 h a /\ F.inv_lazy_reduced2 h b) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 ...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let felem_add a b out = let h0 = ST.get () in BL.fadd5_lemma (1,1,1,1,2) (1,1,1,1,2) (F.as_felem5 h0 a) (F.as_felem5 h0 b); F.fadd out a b; let h1 = ST.get () in assert (F.felem_fits5 (F.as_felem5 h1 out) (2,2,2,2,4)); BL.normalize_weak5_lemma (2,2,2,2,4) (F.as_felem5 h1 out); F.fnormalize_weak out out
val felem_add (a b out:F.felem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h out /\ eq_or_disjoint out a /\ eq_or_disjoint out b /\ eq_or_disjoint a b /\ F.inv_lazy_reduced2 h a /\ F.inv_lazy_reduced2 h b) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 ...
true
null
false
let h0 = ST.get () in BL.fadd5_lemma (1, 1, 1, 1, 2) (1, 1, 1, 1, 2) (F.as_felem5 h0 a) (F.as_felem5 h0 b); F.fadd out a b; let h1 = ST.get () in assert (F.felem_fits5 (F.as_felem5 h1 out) (2, 2, 2, 2, 4)); BL.normalize_weak5_lemma (2, 2, 2, 2, 4) (F.as_felem5 h1 out); F.fnormalize_weak out out
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.K256.Field.felem", "Hacl.K256.Field.fnormalize_weak", "Prims.unit", "Hacl.Spec.K256.Field52.Lemmas.normalize_weak5_lemma", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Hacl.K256.Field.as_felem5", "Prims._assert", "Hacl.Spec.K256.Field52.Definitions.felem_fits5", "FStar.Monotonic.HyperSt...
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 felem_add (a b out:F.felem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h out /\ eq_or_disjoint out a /\ eq_or_disjoint out b /\ eq_or_disjoint a b /\ F.inv_lazy_reduced2 h a /\ F.inv_lazy_reduced2 h b) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 ...
[]
Hacl.EC.K256.felem_add
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.K256.Field.felem -> b: Hacl.K256.Field.felem -> out: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 27, "end_line": 85, "start_col": 23, "start_line": 78 }
FStar.HyperStack.ST.Stack
val felem_sqr (a out:F.felem) : Stack unit (requires fun h -> live h a /\ live h out /\ eq_or_disjoint out a /\ F.inv_lazy_reduced2 h a) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 out /\ F.feval h1 out == S.fmul (F.feval h0 a) (F.feval h0 a))
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let felem_sqr a out = F.fsqr out a
val felem_sqr (a out:F.felem) : Stack unit (requires fun h -> live h a /\ live h out /\ eq_or_disjoint out a /\ F.inv_lazy_reduced2 h a) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 out /\ F.feval h1 out == S.fmul (F.feval h0 a) (F.feval h0 a)) let felem_sqr a out =
true
null
false
F.fsqr out a
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.K256.Field.felem", "Hacl.K256.Field.fsqr", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 felem_sqr (a out:F.felem) : Stack unit (requires fun h -> live h a /\ live h out /\ eq_or_disjoint out a /\ F.inv_lazy_reduced2 h a) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 out /\ F.feval h1 out == S.fmul (F.feval h0 a) (F.feval h0 a))
[]
Hacl.EC.K256.felem_sqr
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.K256.Field.felem -> out: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 150, "start_col": 2, "start_line": 150 }
FStar.HyperStack.ST.Stack
val felem_mul (a b out:F.felem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h out /\ eq_or_disjoint out a /\ eq_or_disjoint out b /\ eq_or_disjoint a b /\ F.inv_lazy_reduced2 h a /\ F.inv_lazy_reduced2 h b) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 ...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let felem_mul a b out = F.fmul out a b
val felem_mul (a b out:F.felem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h out /\ eq_or_disjoint out a /\ eq_or_disjoint out b /\ eq_or_disjoint a b /\ F.inv_lazy_reduced2 h a /\ F.inv_lazy_reduced2 h b) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 ...
true
null
false
F.fmul out a b
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.K256.Field.felem", "Hacl.K256.Field.fmul", "Prims.unit" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 felem_mul (a b out:F.felem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h out /\ eq_or_disjoint out a /\ eq_or_disjoint out b /\ eq_or_disjoint a b /\ F.inv_lazy_reduced2 h a /\ F.inv_lazy_reduced2 h b) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 ...
[]
Hacl.EC.K256.felem_mul
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.K256.Field.felem -> b: Hacl.K256.Field.felem -> out: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 16, "end_line": 131, "start_col": 2, "start_line": 131 }
FStar.HyperStack.ST.Stack
val felem_sub (a b out:F.felem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h out /\ eq_or_disjoint out a /\ eq_or_disjoint out b /\ eq_or_disjoint a b /\ F.inv_lazy_reduced2 h a /\ F.inv_lazy_reduced2 h b) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 ...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let felem_sub a b out = let h0 = ST.get () in BL.fsub5_lemma (1,1,1,1,2) (1,1,1,1,2) (F.as_felem5 h0 a) (F.as_felem5 h0 b) (u64 2); F.fsub out a b (u64 2); let h1 = ST.get () in assert (F.felem_fits5 (F.as_felem5 h1 out) (5,5,5,5,6)); BL.normalize_weak5_lemma (5,5,5,5,6) (F.as_felem5 h1 out); F.fnormalize...
val felem_sub (a b out:F.felem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h out /\ eq_or_disjoint out a /\ eq_or_disjoint out b /\ eq_or_disjoint a b /\ F.inv_lazy_reduced2 h a /\ F.inv_lazy_reduced2 h b) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 ...
true
null
false
let h0 = ST.get () in BL.fsub5_lemma (1, 1, 1, 1, 2) (1, 1, 1, 1, 2) (F.as_felem5 h0 a) (F.as_felem5 h0 b) (u64 2); F.fsub out a b (u64 2); let h1 = ST.get () in assert (F.felem_fits5 (F.as_felem5 h1 out) (5, 5, 5, 5, 6)); BL.normalize_weak5_lemma (5, 5, 5, 5, 6) (F.as_felem5 h1 out); F.fnormalize_weak out out
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.K256.Field.felem", "Hacl.K256.Field.fnormalize_weak", "Prims.unit", "Hacl.Spec.K256.Field52.Lemmas.normalize_weak5_lemma", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Hacl.K256.Field.as_felem5", "Prims._assert", "Hacl.Spec.K256.Field52.Definitions.felem_fits5", "FStar.Monotonic.HyperSt...
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 felem_sub (a b out:F.felem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h out /\ eq_or_disjoint out a /\ eq_or_disjoint out b /\ eq_or_disjoint a b /\ F.inv_lazy_reduced2 h a /\ F.inv_lazy_reduced2 h b) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ F.inv_lazy_reduced2 h1 ...
[]
Hacl.EC.K256.felem_sub
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.K256.Field.felem -> b: Hacl.K256.Field.felem -> out: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 27, "end_line": 111, "start_col": 23, "start_line": 104 }
FStar.HyperStack.ST.Stack
val is_point_valid: b:lbuffer uint8 64ul -> Stack bool (requires fun h -> live h b) (ensures fun h0 res h1 -> modifies0 h0 h1 /\ res <==> (S.point_inv_bytes (as_seq h0 b)))
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let is_point_valid b = push_frame (); let p = P.create_aff_point () in let res = P.aff_point_load_vartime p b in pop_frame (); res
val is_point_valid: b:lbuffer uint8 64ul -> Stack bool (requires fun h -> live h b) (ensures fun h0 res h1 -> modifies0 h0 h1 /\ res <==> (S.point_inv_bytes (as_seq h0 b))) let is_point_valid b =
true
null
false
push_frame (); let p = P.create_aff_point () in let res = P.aff_point_load_vartime p b in pop_frame (); res
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Prims.bool", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Hacl.Impl.K256.Point.aff_point_load_vartime", "Hacl.Impl.K256.Point.aff_point", "Hacl.Impl.K256.Point.create_aff_point", "FStar.HyperStack.ST.push_frame" ]
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 is_point_valid: b:lbuffer uint8 64ul -> Stack bool (requires fun h -> live h b) (ensures fun h0 res h1 -> modifies0 h0 h1 /\ res <==> (S.point_inv_bytes (as_seq h0 b)))
[]
Hacl.EC.K256.is_point_valid
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul -> FStar.HyperStack.ST.Stack Prims.bool
{ "end_col": 5, "end_line": 400, "start_col": 2, "start_line": 396 }
FStar.HyperStack.ST.Stack
val felem_store: a:F.felem -> out:lbuffer uint8 32ul -> Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out /\ F.inv_lazy_reduced2 h a) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ as_seq h1 out == BSeq.nat_to_bytes_be 32 (F.feval h0 a))
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let felem_store a out = push_frame (); let tmp = F.create_felem () in let h0 = ST.get () in BL.normalize5_lemma (1,1,1,1,2) (F.as_felem5 h0 a); F.fnormalize tmp a; F.store_felem out tmp; pop_frame ()
val felem_store: a:F.felem -> out:lbuffer uint8 32ul -> Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out /\ F.inv_lazy_reduced2 h a) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ as_seq h1 out == BSeq.nat_to_bytes_be 32 (F.feval h0 a)) let felem_store a out =
true
null
false
push_frame (); let tmp = F.create_felem () in let h0 = ST.get () in BL.normalize5_lemma (1, 1, 1, 1, 2) (F.as_felem5 h0 a); F.fnormalize tmp a; F.store_felem out tmp; pop_frame ()
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Hacl.K256.Field.felem", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.K256.Field.store_felem", "Hacl.K256.Field.fnormalize", "Hacl.Spec.K256.Field52.Lemmas.normalize5_lemma", "FStar.Pervasives.Native.Mktuple5", "Prim...
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 felem_store: a:F.felem -> out:lbuffer uint8 32ul -> Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out /\ F.inv_lazy_reduced2 h a) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ as_seq h1 out == BSeq.nat_to_bytes_be 32 (F.feval h0 a))
[]
Hacl.EC.K256.felem_store
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.K256.Field.felem -> out: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 214, "start_col": 2, "start_line": 208 }
FStar.HyperStack.ST.Stack
val point_mul: scalar:lbuffer uint8 32ul -> p:P.point -> out:P.point -> Stack unit (requires fun h -> live h scalar /\ live h p /\ live h out /\ disjoint out p /\ disjoint out scalar /\ disjoint p scalar /\ P.point_inv h p /\ BSeq.nat_from_bytes_be (as_seq h scalar) < S.q) // it's still safe to invoke...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointMul", "short_module": "PM" }, { "abbrev": true, "full_module": "Hacl.Impl.K256.PointDouble", "short_module": "PD" }, { "...
false
let point_mul scalar p out = push_frame (); let scalar_q = Q.create_qelem () in Q.load_qelem scalar_q scalar; PM.point_mul out scalar_q p; pop_frame ()
val point_mul: scalar:lbuffer uint8 32ul -> p:P.point -> out:P.point -> Stack unit (requires fun h -> live h scalar /\ live h p /\ live h out /\ disjoint out p /\ disjoint out scalar /\ disjoint p scalar /\ P.point_inv h p /\ BSeq.nat_from_bytes_be (as_seq h scalar) < S.q) // it's still safe to invoke...
true
null
false
push_frame (); let scalar_q = Q.create_qelem () in Q.load_qelem scalar_q scalar; PM.point_mul out scalar_q p; pop_frame ()
{ "checked_file": "Hacl.EC.K256.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Scalar.fsti.checked", "Hacl....
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Hacl.Impl.K256.Point.point", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Impl.K256.PointMul.point_mul", "Hacl.K256.Scalar.load_qelem", "Hacl.K256.Scalar.qelem", "Hacl.K256.Scalar.create_qelem", "FStar.HyperStack.ST...
[]
module Hacl.EC.K256 open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module BSeq = Lib.ByteSequence module S = Spec.K256 module F = Hacl.K256.Field module Q = Hacl.K256.Scalar module FI = Hacl.Impl.K256.Finv module P = Hacl.Impl.K256.P...
false
false
Hacl.EC.K256.fst
{ "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 point_mul: scalar:lbuffer uint8 32ul -> p:P.point -> out:P.point -> Stack unit (requires fun h -> live h scalar /\ live h p /\ live h out /\ disjoint out p /\ disjoint out scalar /\ disjoint p scalar /\ P.point_inv h p /\ BSeq.nat_from_bytes_be (as_seq h scalar) < S.q) // it's still safe to invoke...
[]
Hacl.EC.K256.point_mul
{ "file_name": "code/k256/Hacl.EC.K256.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
scalar: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> p: Hacl.Impl.K256.Point.point -> out: Hacl.Impl.K256.Point.point -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 333, "start_col": 2, "start_line": 329 }
FStar.Pervasives.Lemma
val pow_eq: a:nat -> n:nat -> Lemma (Fermat.pow a n == Lib.NatMod.pow a n)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "BE" }, { "abbr...
false
let rec pow_eq a n = if n = 0 then () else pow_eq a (n - 1)
val pow_eq: a:nat -> n:nat -> Lemma (Fermat.pow a n == Lib.NatMod.pow a n) let rec pow_eq a n =
false
null
true
if n = 0 then () else pow_eq a (n - 1)
{ "checked_file": "Hacl.Spec.Bignum.ModInv.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Exponenti...
[ "lemma" ]
[ "Prims.nat", "Prims.op_Equality", "Prims.int", "Prims.bool", "Hacl.Spec.Bignum.ModInv.pow_eq", "Prims.op_Subtraction", "Prims.unit" ]
[]
module Hacl.Spec.Bignum.ModInv open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.LoopCombinators open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module BE = Hacl.Spec.Bignum.Exponentiation module BM = Hacl.Spec.Bignum.Montgomery ...
false
false
Hacl.Spec.Bignum.ModInv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val pow_eq: a:nat -> n:nat -> Lemma (Fermat.pow a n == Lib.NatMod.pow a n)
[ "recursion" ]
Hacl.Spec.Bignum.ModInv.pow_eq
{ "file_name": "code/bignum/Hacl.Spec.Bignum.ModInv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Prims.nat -> n: Prims.nat -> FStar.Pervasives.Lemma (ensures FStar.Math.Fermat.pow a n == Lib.NatMod.pow a n)
{ "end_col": 23, "end_line": 25, "start_col": 2, "start_line": 24 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "BE" }, { "abbr...
false
let bn_mod_inv_prime_pre (#t:limb_t) (#len:BN.bn_len t) (n:lbignum t len) (a:lbignum t len) = bn_v n % 2 = 1 /\ 1 < bn_v n /\ 0 < bn_v a /\ bn_v a < bn_v n /\ Euclid.is_prime (bn_v n)
let bn_mod_inv_prime_pre (#t: limb_t) (#len: BN.bn_len t) (n a: lbignum t len) =
false
null
false
bn_v n % 2 = 1 /\ 1 < bn_v n /\ 0 < bn_v a /\ bn_v a < bn_v n /\ Euclid.is_prime (bn_v n)
{ "checked_file": "Hacl.Spec.Bignum.ModInv.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Exponenti...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Hacl.Spec.Bignum.bn_len", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.l_and", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Hacl.Spec.Bignum.Definitions.bn_v", "Prims.op_LessThan", "FStar.Math.Euclid.is_prime", "Prims.logical" ]
[]
module Hacl.Spec.Bignum.ModInv open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.LoopCombinators open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module BE = Hacl.Spec.Bignum.Exponentiation module BM = Hacl.Spec.Bignum.Montgomery ...
false
false
Hacl.Spec.Bignum.ModInv.fst
{ "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 bn_mod_inv_prime_pre : n: Hacl.Spec.Bignum.Definitions.lbignum t len -> a: Hacl.Spec.Bignum.Definitions.lbignum t len -> Prims.logical
[]
Hacl.Spec.Bignum.ModInv.bn_mod_inv_prime_pre
{ "file_name": "code/bignum/Hacl.Spec.Bignum.ModInv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Hacl.Spec.Bignum.Definitions.lbignum t len -> a: Hacl.Spec.Bignum.Definitions.lbignum t len -> Prims.logical
{ "end_col": 26, "end_line": 105, "start_col": 2, "start_line": 103 }
Prims.Pure
val bn_mod_inv_prime_n2: #t:limb_t -> #len:size_pos -> n:lbignum t len -> Pure (lbignum t len) (requires 1 < bn_v n) (ensures fun res -> bn_v res == bn_v n - 2)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "BE" }, { "abbr...
false
let bn_mod_inv_prime_n2 #t #len n = let c, n2 = bn_sub1 n (uint #t 2) in bn_sub1_lemma n (uint #t 2); assert (bn_v n2 - v c * pow2 (bits t * len) == bn_v n - 2); bn_eval_bound n2 len; bn_eval_bound n len; assert (v c = 0); assert (bn_v n2 == bn_v n - 2); n2
val bn_mod_inv_prime_n2: #t:limb_t -> #len:size_pos -> n:lbignum t len -> Pure (lbignum t len) (requires 1 < bn_v n) (ensures fun res -> bn_v res == bn_v n - 2) let bn_mod_inv_prime_n2 #t #len n =
false
null
false
let c, n2 = bn_sub1 n (uint #t 2) in bn_sub1_lemma n (uint #t 2); assert (bn_v n2 - v c * pow2 (bits t * len) == bn_v n - 2); bn_eval_bound n2 len; bn_eval_bound n len; assert (v c = 0); assert (bn_v n2 == bn_v n - 2); n2
{ "checked_file": "Hacl.Spec.Bignum.ModInv.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Exponenti...
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_pos", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Base.carry", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.int", "Hacl.Spec.Bignum.Definitions.bn_v", "Prims.op_Subtraction", "Prims.b2t", "Prims.op_Equality", "Lib....
[]
module Hacl.Spec.Bignum.ModInv open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.LoopCombinators open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module BE = Hacl.Spec.Bignum.Exponentiation module BM = Hacl.Spec.Bignum.Montgomery ...
false
false
Hacl.Spec.Bignum.ModInv.fst
{ "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 bn_mod_inv_prime_n2: #t:limb_t -> #len:size_pos -> n:lbignum t len -> Pure (lbignum t len) (requires 1 < bn_v n) (ensures fun res -> bn_v res == bn_v n - 2)
[]
Hacl.Spec.Bignum.ModInv.bn_mod_inv_prime_n2
{ "file_name": "code/bignum/Hacl.Spec.Bignum.ModInv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Hacl.Spec.Bignum.Definitions.lbignum t len -> Prims.Pure (Hacl.Spec.Bignum.Definitions.lbignum t len)
{ "end_col": 4, "end_line": 94, "start_col": 35, "start_line": 86 }
Prims.Tot
val bn_check_mod_inv_prime: #t:limb_t -> #len:BN.bn_len t -> n:lbignum t len -> a:lbignum t len -> res:limb t{ let b = bn_v n % 2 = 1 && 1 < bn_v n && 0 < bn_v a && bn_v a < bn_v n in v res == (if b then v (ones t SEC) else v (zeros t SEC))}
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "BE" }, { "abbr...
false
let bn_check_mod_inv_prime #t #len n a = let m0 = BM.bn_check_modulus n in let m1 = BN.bn_is_zero_mask a in BN.bn_is_zero_mask_lemma a; let m1' = lognot m1 in lognot_lemma m1; let m2 = BN.bn_lt_mask a n in BN.bn_lt_mask_lemma a n; logand_ones (m0 &. m1'); logand_zeros (m0 &. m1'); logand_ones m0; ...
val bn_check_mod_inv_prime: #t:limb_t -> #len:BN.bn_len t -> n:lbignum t len -> a:lbignum t len -> res:limb t{ let b = bn_v n % 2 = 1 && 1 < bn_v n && 0 < bn_v a && bn_v a < bn_v n in v res == (if b then v (ones t SEC) else v (zeros t SEC))} let bn_check_mod_inv_prime #t #len n a =
false
null
false
let m0 = BM.bn_check_modulus n in let m1 = BN.bn_is_zero_mask a in BN.bn_is_zero_mask_lemma a; let m1' = lognot m1 in lognot_lemma m1; let m2 = BN.bn_lt_mask a n in BN.bn_lt_mask_lemma a n; logand_ones (m0 &. m1'); logand_zeros (m0 &. m1'); logand_ones m0; logand_zeros m0; m0 &. m1' &. m2
{ "checked_file": "Hacl.Spec.Bignum.ModInv.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Exponenti...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Hacl.Spec.Bignum.bn_len", "Hacl.Spec.Bignum.Definitions.lbignum", "Lib.IntTypes.op_Amp_Dot", "Lib.IntTypes.SEC", "Prims.unit", "Lib.IntTypes.logand_zeros", "Lib.IntTypes.logand_ones", "Hacl.Spec.Bignum.bn_lt_mask_lemma", "Hacl.Spec.Bignum.Definitions.limb", ...
[]
module Hacl.Spec.Bignum.ModInv open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.LoopCombinators open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module BE = Hacl.Spec.Bignum.Exponentiation module BM = Hacl.Spec.Bignum.Montgomery ...
false
false
Hacl.Spec.Bignum.ModInv.fst
{ "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 bn_check_mod_inv_prime: #t:limb_t -> #len:BN.bn_len t -> n:lbignum t len -> a:lbignum t len -> res:limb t{ let b = bn_v n % 2 = 1 && 1 < bn_v n && 0 < bn_v a && bn_v a < bn_v n in v res == (if b then v (ones t SEC) else v (zeros t SEC))}
[]
Hacl.Spec.Bignum.ModInv.bn_check_mod_inv_prime
{ "file_name": "code/bignum/Hacl.Spec.Bignum.ModInv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Hacl.Spec.Bignum.Definitions.lbignum t len -> a: Hacl.Spec.Bignum.Definitions.lbignum t len -> res: Hacl.Spec.Bignum.Definitions.limb t { let b = Hacl.Spec.Bignum.Definitions.bn_v n % 2 = 1 && 1 < Hacl.Spec.Bignum.Definitions.bn_v n && 0 < Hacl.Spec.Bignum.Definitions.bn_v a && ...
{ "end_col": 17, "end_line": 74, "start_col": 40, "start_line": 62 }
Prims.Pure
val bn_mod_inv_prime: #t:limb_t -> #len:BN.bn_len t -> nBits:size_nat -> n:lbignum t len -> a:lbignum t len -> Pure (lbignum t len) (requires bn_mod_inv_prime_pre n a /\ nBits / bits t < len /\ pow2 nBits < bn_v n) (ensures fun res -> bn_v res * bn_v a % bn_v n = 1)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "BE" }, { "abbr...
false
let bn_mod_inv_prime #t #len nBits n a = let r2, mu = BM.bn_mont_precomp nBits n in let res = bn_mod_inv_prime_precomp #t #len n mu r2 a in mod_inv_prime_lemma (bn_v n) (bn_v a); res
val bn_mod_inv_prime: #t:limb_t -> #len:BN.bn_len t -> nBits:size_nat -> n:lbignum t len -> a:lbignum t len -> Pure (lbignum t len) (requires bn_mod_inv_prime_pre n a /\ nBits / bits t < len /\ pow2 nBits < bn_v n) (ensures fun res -> bn_v res * bn_v a % bn_v n = 1) let bn_mod_inv_prime #t...
false
null
false
let r2, mu = BM.bn_mont_precomp nBits n in let res = bn_mod_inv_prime_precomp #t #len n mu r2 a in mod_inv_prime_lemma (bn_v n) (bn_v a); res
{ "checked_file": "Hacl.Spec.Bignum.ModInv.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Exponenti...
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Hacl.Spec.Bignum.bn_len", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Definitions.limb", "Prims.unit", "Hacl.Spec.Bignum.ModInv.mod_inv_prime_lemma", "Hacl.Spec.Bignum.Definitions.bn_v", "Hacl.Spec.Bignum.ModInv.bn_mod_in...
[]
module Hacl.Spec.Bignum.ModInv open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.LoopCombinators open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module BE = Hacl.Spec.Bignum.Exponentiation module BM = Hacl.Spec.Bignum.Montgomery ...
false
false
Hacl.Spec.Bignum.ModInv.fst
{ "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 bn_mod_inv_prime: #t:limb_t -> #len:BN.bn_len t -> nBits:size_nat -> n:lbignum t len -> a:lbignum t len -> Pure (lbignum t len) (requires bn_mod_inv_prime_pre n a /\ nBits / bits t < len /\ pow2 nBits < bn_v n) (ensures fun res -> bn_v res * bn_v a % bn_v n = 1)
[]
Hacl.Spec.Bignum.ModInv.bn_mod_inv_prime
{ "file_name": "code/bignum/Hacl.Spec.Bignum.ModInv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
nBits: Lib.IntTypes.size_nat -> n: Hacl.Spec.Bignum.Definitions.lbignum t len -> a: Hacl.Spec.Bignum.Definitions.lbignum t len -> Prims.Pure (Hacl.Spec.Bignum.Definitions.lbignum t len)
{ "end_col": 5, "end_line": 149, "start_col": 40, "start_line": 145 }
Prims.Pure
val bn_mod_inv_prime_precomp: #t:limb_t -> #len:BN.bn_len t -> n:lbignum t len -> mu:limb t -> r2:lbignum t len -> a:lbignum t len -> Pure (lbignum t len) (requires bn_mod_inv_prime_pre n a /\ bn_v r2 == pow2 (2 * bits t * len) % bn_v n /\ (1 + bn_v n * v mu) % pow2 (bits t) == 0) (ensur...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "BE" }, { "abbr...
false
let bn_mod_inv_prime_precomp #t #len n mu r2 a = let n2 = bn_mod_inv_prime_n2 n in bn_eval_bound n len; let res = BE.bn_mod_exp_vartime_precompr2 len n r2 a (bits t * len) n2 in assert (bn_v res == Lib.NatMod.pow_mod #(bn_v n) (bn_v a) (bn_v n2)); mod_inv_prime_lemma (bn_v n) (bn_v a); res
val bn_mod_inv_prime_precomp: #t:limb_t -> #len:BN.bn_len t -> n:lbignum t len -> mu:limb t -> r2:lbignum t len -> a:lbignum t len -> Pure (lbignum t len) (requires bn_mod_inv_prime_pre n a /\ bn_v r2 == pow2 (2 * bits t * len) % bn_v n /\ (1 + bn_v n * v mu) % pow2 (bits t) == 0) (ensur...
false
null
false
let n2 = bn_mod_inv_prime_n2 n in bn_eval_bound n len; let res = BE.bn_mod_exp_vartime_precompr2 len n r2 a (bits t * len) n2 in assert (bn_v res == Lib.NatMod.pow_mod #(bn_v n) (bn_v a) (bn_v n2)); mod_inv_prime_lemma (bn_v n) (bn_v a); res
{ "checked_file": "Hacl.Spec.Bignum.ModInv.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Exponenti...
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Hacl.Spec.Bignum.bn_len", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Spec.Bignum.Definitions.limb", "Prims.unit", "Hacl.Spec.Bignum.ModInv.mod_inv_prime_lemma", "Hacl.Spec.Bignum.Definitions.bn_v", "Prims._assert", "Prims.eq2", "Prims.nat", "Lib.NatMod....
[]
module Hacl.Spec.Bignum.ModInv open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.LoopCombinators open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module BE = Hacl.Spec.Bignum.Exponentiation module BM = Hacl.Spec.Bignum.Montgomery ...
false
false
Hacl.Spec.Bignum.ModInv.fst
{ "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 bn_mod_inv_prime_precomp: #t:limb_t -> #len:BN.bn_len t -> n:lbignum t len -> mu:limb t -> r2:lbignum t len -> a:lbignum t len -> Pure (lbignum t len) (requires bn_mod_inv_prime_pre n a /\ bn_v r2 == pow2 (2 * bits t * len) % bn_v n /\ (1 + bn_v n * v mu) % pow2 (bits t) == 0) (ensur...
[]
Hacl.Spec.Bignum.ModInv.bn_mod_inv_prime_precomp
{ "file_name": "code/bignum/Hacl.Spec.Bignum.ModInv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Hacl.Spec.Bignum.Definitions.lbignum t len -> mu: Hacl.Spec.Bignum.Definitions.limb t -> r2: Hacl.Spec.Bignum.Definitions.lbignum t len -> a: Hacl.Spec.Bignum.Definitions.lbignum t len -> Prims.Pure (Hacl.Spec.Bignum.Definitions.lbignum t len)
{ "end_col": 5, "end_line": 129, "start_col": 48, "start_line": 123 }
FStar.Pervasives.Lemma
val mod_inv_prime_lemma: n:nat{1 < n /\ Euclid.is_prime n} -> a:pos{a < n} -> Lemma (Lib.NatMod.pow_mod #n a (n - 2) * a % n = 1)
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "BE" }, { "abbr...
false
let mod_inv_prime_lemma n a = Math.Lemmas.small_mod a n; assert (a == a % n); assert (a <> 0 /\ a % n <> 0); calc (==) { Lib.NatMod.pow_mod #n a (n - 2) * a % n; (==) { Lib.NatMod.lemma_pow_mod #n a (n - 2) } Lib.NatMod.pow a (n - 2) % n * a % n; (==) { Math.Lemmas.lemma_mod_mul_distr_l (Lib.Na...
val mod_inv_prime_lemma: n:nat{1 < n /\ Euclid.is_prime n} -> a:pos{a < n} -> Lemma (Lib.NatMod.pow_mod #n a (n - 2) * a % n = 1) let mod_inv_prime_lemma n a =
false
null
true
Math.Lemmas.small_mod a n; assert (a == a % n); assert (a <> 0 /\ a % n <> 0); calc ( == ) { Lib.NatMod.pow_mod #n a (n - 2) * a % n; ( == ) { Lib.NatMod.lemma_pow_mod #n a (n - 2) } (Lib.NatMod.pow a (n - 2) % n) * a % n; ( == ) { Math.Lemmas.lemma_mod_mul_distr_l (Lib.NatMod.pow a (n - 2)) a n } Lib.NatMod....
{ "checked_file": "Hacl.Spec.Bignum.ModInv.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Bignum.Montgomery.fsti.checked", "Hacl.Spec.Bignum.Exponenti...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.Math.Euclid.is_prime", "Prims.pos", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "FStar.Mul.op_Star", "Lib.NatMod.pow_mod", "Prims.op_Subtraction", "Prims.Cons", "FStar.Preorder.relation", "...
[]
module Hacl.Spec.Bignum.ModInv open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.LoopCombinators open Hacl.Spec.Bignum.Definitions open Hacl.Spec.Bignum module Fermat = FStar.Math.Fermat module Euclid = FStar.Math.Euclid module BE = Hacl.Spec.Bignum.Exponentiation module BM = Hacl.Spec.Bignum.Montgomery ...
false
false
Hacl.Spec.Bignum.ModInv.fst
{ "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 mod_inv_prime_lemma: n:nat{1 < n /\ Euclid.is_prime n} -> a:pos{a < n} -> Lemma (Lib.NatMod.pow_mod #n a (n - 2) * a % n = 1)
[]
Hacl.Spec.Bignum.ModInv.mod_inv_prime_lemma
{ "file_name": "code/bignum/Hacl.Spec.Bignum.ModInv.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Prims.nat{1 < n /\ FStar.Math.Euclid.is_prime n} -> a: Prims.pos{a < n} -> FStar.Pervasives.Lemma (ensures Lib.NatMod.pow_mod a (n - 2) * a % n = 1)
{ "end_col": 5, "end_line": 48, "start_col": 2, "start_line": 32 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let one_st (t:Type) (to:to_comm_monoid t) = unit -> Pure t (requires True) (ensures fun one -> to.refl one == to.comm_monoid.S.one)
let one_st (t: Type) (to: to_comm_monoid t) =
false
null
false
unit -> Pure t (requires True) (ensures fun one -> to.refl one == to.comm_monoid.S.one)
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.to_comm_monoid", "Prims.unit", "Prims.l_True", "Prims.eq2", "Spec.Exponentiation.__proj__Mkto_comm_monoid__item__a_spec", "Spec.Exponentiation.__proj__Mkto_comm_monoid__item__refl", "Lib.Exponentiation.Definition.__proj__Mkcomm_monoid__item__one", "Spec.Exponentiation.__proj__Mkto...
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 one_st : t: Type -> to: Spec.Exponentiation.to_comm_monoid t -> Type
[]
Spec.Exponentiation.one_st
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Type -> to: Spec.Exponentiation.to_comm_monoid t -> Type
{ "end_col": 40, "end_line": 55, "start_col": 44, "start_line": 52 }
Prims.Tot
val exp_rl (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let exp_rl (#t:Type) (k:concrete_ops t) (a:t) (bBits:nat) (b:nat{b < pow2 bBits}) : t = let one = k.one () in let (acc, c) = Loops.repeati bBits (exp_rl_f k bBits b) (one, a) in acc
val exp_rl (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) : t let exp_rl (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) : t =
false
null
false
let one = k.one () in let acc, c = Loops.repeati bBits (exp_rl_f k bBits b) (one, a) in acc
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "FStar.Pervasives.Native.tuple2", "Lib.LoopCombinators.repeati", "Spec.Exponentiation.exp_rl_f", "FStar.Pervasives.Native.Mktuple2", "Spec.Exponentiation.__proj__Mkconcrete_ops__item__one" ]
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 exp_rl (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) : t
[]
Spec.Exponentiation.exp_rl
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> a: t -> bBits: Prims.nat -> b: Prims.nat{b < Prims.pow2 bBits} -> t
{ "end_col": 5, "end_line": 93, "start_col": 87, "start_line": 90 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let sqr_st (t:Type) (to:to_comm_monoid t) = x:t -> Pure t (requires True) (ensures fun xy -> to.refl xy == to.comm_monoid.S.mul (to.refl x) (to.refl x))
let sqr_st (t: Type) (to: to_comm_monoid t) =
false
null
false
x: t -> Pure t (requires True) (ensures fun xy -> to.refl xy == to.comm_monoid.S.mul (to.refl x) (to.refl x))
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.to_comm_monoid", "Prims.l_True", "Prims.eq2", "Spec.Exponentiation.__proj__Mkto_comm_monoid__item__a_spec", "Spec.Exponentiation.__proj__Mkto_comm_monoid__item__refl", "Lib.Exponentiation.Definition.__proj__Mkcomm_monoid__item__mul", "Spec.Exponentiation.__proj__Mkto_comm_monoid__it...
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 sqr_st : t: Type -> to: Spec.Exponentiation.to_comm_monoid t -> Type
[]
Spec.Exponentiation.sqr_st
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Type -> to: Spec.Exponentiation.to_comm_monoid t -> Type
{ "end_col": 63, "end_line": 69, "start_col": 44, "start_line": 66 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let exp_rl_f (#t:Type) (k:concrete_ops t) (bBits:nat) (b:nat{b < pow2 bBits}) (i:nat{i < bBits}) ((acc, c) : tuple2 t t) : tuple2 t t = let acc = if (S.get_ith_bit bBits b i = 0) then acc else k.mul acc c in let c = k.sqr c in (acc, c)
let exp_rl_f (#t: Type) (k: concrete_ops t) (bBits: nat) (b: nat{b < pow2 bBits}) (i: nat{i < bBits}) (acc, c: tuple2 t t) : tuple2 t t =
false
null
false
let acc = if (S.get_ith_bit bBits b i = 0) then acc else k.mul acc c in let c = k.sqr c in (acc, c)
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Spec.Exponentiation.__proj__Mkconcrete_ops__item__sqr", "Prims.op_Equality", "Prims.int", "Lib.Exponentiation.get_ith_bit", "P...
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 exp_rl_f : k: Spec.Exponentiation.concrete_ops t -> bBits: Prims.nat -> b: Prims.nat{b < Prims.pow2 bBits} -> i: Prims.nat{i < bBits} -> _: (t * t) -> t * t
[]
Spec.Exponentiation.exp_rl_f
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> bBits: Prims.nat -> b: Prims.nat{b < Prims.pow2 bBits} -> i: Prims.nat{i < bBits} -> _: (t * t) -> t * t
{ "end_col": 10, "end_line": 87, "start_col": 2, "start_line": 84 }
Prims.Tot
val exp_mont_ladder_swap (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let exp_mont_ladder_swap (#t:Type) (k:concrete_ops t) (a:t) (bBits:nat) (b:nat{b < pow2 bBits}) : t = let (r0, r1, sw) = Loops.repeati bBits (exp_mont_ladder_swap_f k bBits b) (one (), a, 0) in let (r0, r1) = S.cswap sw r0 r1 in r0
val exp_mont_ladder_swap (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) : t let exp_mont_ladder_swap (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) : t =
false
null
false
let r0, r1, sw = Loops.repeati bBits (exp_mont_ladder_swap_f k bBits b) (one (), a, 0) in let r0, r1 = S.cswap sw r0 r1 in r0
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "FStar.Pervasives.Native.tuple2", "Lib.Exponentiation.cswap", "FStar.Pervasives.Native.tuple3", "Lib.LoopCombinators.repeati", "Spec.Exponentiation.exp_mont_ladder_swap_f", "FStar.Pervasives.Native.M...
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 exp_mont_ladder_swap (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) : t
[]
Spec.Exponentiation.exp_mont_ladder_swap
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> a: t -> bBits: Prims.nat -> b: Prims.nat{b < Prims.pow2 bBits} -> t
{ "end_col": 4, "end_line": 114, "start_col": 101, "start_line": 111 }
Prims.Tot
val exp_pow2 (#t: Type) (k: concrete_ops t) (a: t) (b: nat) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let exp_pow2 (#t:Type) (k:concrete_ops t) (a:t) (b:nat) : t = Loops.repeat b k.sqr a
val exp_pow2 (#t: Type) (k: concrete_ops t) (a: t) (b: nat) : t let exp_pow2 (#t: Type) (k: concrete_ops t) (a: t) (b: nat) : t =
false
null
false
Loops.repeat b k.sqr a
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Lib.LoopCombinators.repeat", "Spec.Exponentiation.__proj__Mkconcrete_ops__item__sqr" ]
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 exp_pow2 (#t: Type) (k: concrete_ops t) (a: t) (b: nat) : t
[]
Spec.Exponentiation.exp_pow2
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> a: t -> b: Prims.nat -> t
{ "end_col": 24, "end_line": 122, "start_col": 2, "start_line": 122 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let mul_st (t:Type) (to:to_comm_monoid t) = x:t -> y:t -> Pure t (requires True) (ensures fun xy -> to.refl xy == to.comm_monoid.S.mul (to.refl x) (to.refl y))
let mul_st (t: Type) (to: to_comm_monoid t) =
false
null
false
x: t -> y: t -> Pure t (requires True) (ensures fun xy -> to.refl xy == to.comm_monoid.S.mul (to.refl x) (to.refl y))
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.to_comm_monoid", "Prims.l_True", "Prims.eq2", "Spec.Exponentiation.__proj__Mkto_comm_monoid__item__a_spec", "Spec.Exponentiation.__proj__Mkto_comm_monoid__item__refl", "Lib.Exponentiation.Definition.__proj__Mkcomm_monoid__item__mul", "Spec.Exponentiation.__proj__Mkto_comm_monoid__it...
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 mul_st : t: Type -> to: Spec.Exponentiation.to_comm_monoid t -> Type
[]
Spec.Exponentiation.mul_st
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Type -> to: Spec.Exponentiation.to_comm_monoid t -> Type
{ "end_col": 63, "end_line": 62, "start_col": 44, "start_line": 59 }
Prims.Tot
val exp_fw_f (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (acc: t) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let exp_fw_f (#t:Type) (k:concrete_ops t) (a:t) (bBits:nat) (b:nat{b < pow2 bBits}) (l:pos) (i:nat{i < bBits / l}) (acc:t) : t = let acc1 = exp_pow2 k acc l in mul_acc_pow_a_bits_l k a bBits b l i acc1
val exp_fw_f (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (acc: t) : t let exp_fw_f (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos)...
false
null
false
let acc1 = exp_pow2 k acc l in mul_acc_pow_a_bits_l k a bBits b l i acc1
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "Prims.pos", "Prims.op_Division", "Spec.Exponentiation.mul_acc_pow_a_bits_l", "Spec.Exponentiation.exp_pow2" ]
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 exp_fw_f (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (acc: t) : t
[]
Spec.Exponentiation.exp_fw_f
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> a: t -> bBits: Prims.nat -> b: Prims.nat{b < Prims.pow2 bBits} -> l: Prims.pos -> i: Prims.nat{i < bBits / l} -> acc: t -> t
{ "end_col": 43, "end_line": 164, "start_col": 2, "start_line": 162 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let exp_mont_ladder_swap_f (#t:Type) (k:concrete_ops t) (bBits:nat) (b:nat{b < pow2 bBits}) (i:nat{i < bBits}) ((r0, r1, privbit) : tuple3 t t nat) : tuple3 t t nat = let bit = S.get_ith_bit bBits b (bBits - 1 - i) in let sw = (bit + privbit) % 2 in let r0, r1 = S.cswap sw r0 r1 in let r0, r1 = (k.sqr r0, ...
let exp_mont_ladder_swap_f (#t: Type) (k: concrete_ops t) (bBits: nat) (b: nat{b < pow2 bBits}) (i: nat{i < bBits}) (r0, r1, privbit: tuple3 t t nat) : tuple3 t t nat =
false
null
false
let bit = S.get_ith_bit bBits b (bBits - 1 - i) in let sw = (bit + privbit) % 2 in let r0, r1 = S.cswap sw r0 r1 in let r0, r1 = (k.sqr r0, k.mul r1 r0) in (r0, r1, bit)
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "FStar.Pervasives.Native.tuple3", "FStar.Pervasives.Native.Mktuple3", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Spec.Exponentiation.__proj__Mkconcrete_ops__item__sqr", "S...
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 exp_mont_ladder_swap_f : k: Spec.Exponentiation.concrete_ops t -> bBits: Prims.nat -> b: Prims.nat{b < Prims.pow2 bBits} -> i: Prims.nat{i < bBits} -> _: ((t * t) * Prims.nat) -> (t * t) * Prims.nat
[]
Spec.Exponentiation.exp_mont_ladder_swap_f
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> bBits: Prims.nat -> b: Prims.nat{b < Prims.pow2 bBits} -> i: Prims.nat{i < bBits} -> _: ((t * t) * Prims.nat) -> (t * t) * Prims.nat
{ "end_col": 15, "end_line": 108, "start_col": 2, "start_line": 103 }
Prims.Tot
val pow (#t: Type) (k: concrete_ops t) (a: t) (b: nat) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let rec pow (#t:Type) (k:concrete_ops t) (a:t) (b:nat) : t = if b = 0 then k.one () else k.mul a (pow k a (b - 1))
val pow (#t: Type) (k: concrete_ops t) (a: t) (b: nat) : t let rec pow (#t: Type) (k: concrete_ops t) (a: t) (b: nat) : t =
false
null
false
if b = 0 then k.one () else k.mul a (pow k a (b - 1))
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.op_Equality", "Prims.int", "Spec.Exponentiation.__proj__Mkconcrete_ops__item__one", "Prims.bool", "Spec.Exponentiation.__proj__Mkconcrete_ops__item__mul", "Spec.Exponentiation.pow", "Prims.op_Subtraction" ]
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 pow (#t: Type) (k: concrete_ops t) (a: t) (b: nat) : t
[ "recursion" ]
Spec.Exponentiation.pow
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> a: t -> b: Prims.nat -> t
{ "end_col": 32, "end_line": 132, "start_col": 2, "start_line": 131 }
Prims.Tot
val exp_double_fw_f (#t: Type) (k: concrete_ops t) (a1: t) (bBits: nat) (b1: nat{b1 < pow2 bBits}) (a2: t) (b2: nat{b2 < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (acc: t) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let exp_double_fw_f (#t:Type) (k:concrete_ops t) (a1:t) (bBits:nat) (b1:nat{b1 < pow2 bBits}) (a2:t) (b2:nat{b2 < pow2 bBits}) (l:pos) (i:nat{i < bBits / l}) (acc:t) : t = let acc1 = exp_fw_f k a2 bBits b2 l i acc in mul_acc_pow_a_bits_l k a1 bBits b1 l i acc1
val exp_double_fw_f (#t: Type) (k: concrete_ops t) (a1: t) (bBits: nat) (b1: nat{b1 < pow2 bBits}) (a2: t) (b2: nat{b2 < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (acc: t) : t let exp_double_fw_f (#t: Type) (k: concrete_ops t) (a1: t)...
false
null
false
let acc1 = exp_fw_f k a2 bBits b2 l i acc in mul_acc_pow_a_bits_l k a1 bBits b1 l i acc1
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "Prims.pos", "Prims.op_Division", "Spec.Exponentiation.mul_acc_pow_a_bits_l", "Spec.Exponentiation.exp_fw_f" ]
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 exp_double_fw_f (#t: Type) (k: concrete_ops t) (a1: t) (bBits: nat) (b1: nat{b1 < pow2 bBits}) (a2: t) (b2: nat{b2 < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (acc: t) : t
[]
Spec.Exponentiation.exp_double_fw_f
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> a1: t -> bBits: Prims.nat -> b1: Prims.nat{b1 < Prims.pow2 bBits} -> a2: t -> b2: Prims.nat{b2 < Prims.pow2 bBits} -> l: Prims.pos -> i: Prims.nat{i < bBits / l} -> acc: t -> t
{ "end_col": 45, "end_line": 196, "start_col": 2, "start_line": 194 }
Prims.Tot
val mul_acc_pow_a_bits_l (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (acc: t) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let mul_acc_pow_a_bits_l (#t:Type) (k:concrete_ops t) (a:t) (bBits:nat) (b:nat{b < pow2 bBits}) (l:pos) (i:nat{i < bBits / l}) (acc:t) : t = let bits_l = S.get_bits_l bBits b l i in k.mul acc (pow k a bits_l)
val mul_acc_pow_a_bits_l (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (acc: t) : t let mul_acc_pow_a_bits_l (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow...
false
null
false
let bits_l = S.get_bits_l bBits b l i in k.mul acc (pow k a bits_l)
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "Prims.pos", "Prims.op_Division", "Spec.Exponentiation.__proj__Mkconcrete_ops__item__mul", "Spec.Exponentiation.pow", "Lib.Exponentiation.get_bits_l" ]
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 mul_acc_pow_a_bits_l (#t: Type) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (acc: t) : t
[]
Spec.Exponentiation.mul_acc_pow_a_bits_l
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> a: t -> bBits: Prims.nat -> b: Prims.nat{b < Prims.pow2 bBits} -> l: Prims.pos -> i: Prims.nat{i < bBits / l} -> acc: t -> t
{ "end_col": 28, "end_line": 156, "start_col": 2, "start_line": 154 }
Prims.Tot
val exp_four_fw_f (#t: Type) (k: concrete_ops t) (a1: t) (bBits: nat) (b1: nat{b1 < pow2 bBits}) (a2: t) (b2: nat{b2 < pow2 bBits}) (a3: t) (b3: nat{b3 < pow2 bBits}) (a4: t) (b4: nat{b4 < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let exp_four_fw_f (#t:Type) (k:concrete_ops t) (a1:t) (bBits:nat) (b1:nat{b1 < pow2 bBits}) (a2:t) (b2:nat{b2 < pow2 bBits}) (a3:t) (b3:nat{b3 < pow2 bBits}) (a4:t) (b4:nat{b4 < pow2 bBits}) (l:pos) (i:nat{i < bBits / l}) (acc:t) : t = let acc = exp_fw_f k a4 bBits b4 l i acc in let acc = mul_acc_pow_a_b...
val exp_four_fw_f (#t: Type) (k: concrete_ops t) (a1: t) (bBits: nat) (b1: nat{b1 < pow2 bBits}) (a2: t) (b2: nat{b2 < pow2 bBits}) (a3: t) (b3: nat{b3 < pow2 bBits}) (a4: t) (b4: nat{b4 < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (...
false
null
false
let acc = exp_fw_f k a4 bBits b4 l i acc in let acc = mul_acc_pow_a_bits_l k a3 bBits b3 l i acc in let acc = mul_acc_pow_a_bits_l k a2 bBits b2 l i acc in let acc = mul_acc_pow_a_bits_l k a1 bBits b1 l i acc in acc
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "Prims.pos", "Prims.op_Division", "Spec.Exponentiation.mul_acc_pow_a_bits_l", "Spec.Exponentiation.exp_fw_f" ]
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 exp_four_fw_f (#t: Type) (k: concrete_ops t) (a1: t) (bBits: nat) (b1: nat{b1 < pow2 bBits}) (a2: t) (b2: nat{b2 < pow2 bBits}) (a3: t) (b3: nat{b3 < pow2 bBits}) (a4: t) (b4: nat{b4 < pow2 bBits}) (l: pos) (i: nat{i < bBits / l}) (...
[]
Spec.Exponentiation.exp_four_fw_f
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> a1: t -> bBits: Prims.nat -> b1: Prims.nat{b1 < Prims.pow2 bBits} -> a2: t -> b2: Prims.nat{b2 < Prims.pow2 bBits} -> a3: t -> b3: Prims.nat{b3 < Prims.pow2 bBits} -> a4: t -> b4: Prims.nat{b4 < Prims.pow2 bBits} -> l: Prims.pos -> ...
{ "end_col": 5, "end_line": 243, "start_col": 2, "start_line": 238 }
Prims.Tot
val exp_fw_acc0 (#t: Type0) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos{bBits % l <> 0}) : t
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_...
false
let exp_fw_acc0 (#t:Type0) (k:concrete_ops t) (a:t) (bBits:nat) (b:nat{b < pow2 bBits}) (l:pos{bBits % l <> 0}) : t = let bits_c = S.get_ith_lbits bBits b (bBits / l * l) l in pow k a bits_c
val exp_fw_acc0 (#t: Type0) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos{bBits % l <> 0}) : t let exp_fw_acc0 (#t: Type0) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos{bBits % l <> 0}) ...
false
null
false
let bits_c = S.get_ith_lbits bBits b ((bBits / l) * l) l in pow k a bits_c
{ "checked_file": "Spec.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "FStar.Tactics.Typeclasses.fsti.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Exponentiation.concrete_ops", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "Prims.pos", "Prims.op_disEquality", "Prims.int", "Prims.op_Modulus", "Spec.Exponentiation.pow", "Lib.Exponentiation.get_ith_lbits", "FStar.Mul.op_Star", "Prims.op_Division" ]
[]
module Spec.Exponentiation open FStar.Mul open Lib.IntTypes open Lib.Sequence module S = Lib.Exponentiation module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" (** This is a specification for generic exponentiation defined as a repeated application of a commutative monoid operation...
false
false
Spec.Exponentiation.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 exp_fw_acc0 (#t: Type0) (k: concrete_ops t) (a: t) (bBits: nat) (b: nat{b < pow2 bBits}) (l: pos{bBits % l <> 0}) : t
[]
Spec.Exponentiation.exp_fw_acc0
{ "file_name": "specs/Spec.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Exponentiation.concrete_ops t -> a: t -> bBits: Prims.nat -> b: Prims.nat{b < Prims.pow2 bBits} -> l: Prims.pos{bBits % l <> 0} -> t
{ "end_col": 16, "end_line": 149, "start_col": 2, "start_line": 147 }
FStar.Tactics.Effect.Tac
[ { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev...
false
let int_canon = fun _ -> norm [delta; zeta; iota]; int_semiring ()
let int_canon =
true
null
false
fun _ -> norm [delta; zeta; iota]; int_semiring ()
{ "checked_file": "Vale.Curve25519.FastUtil_helpers.fsti.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Curve25519.Fast_defs.fst.checked", "prims.fst.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", ...
[]
[ "FStar.Tactics.CanonCommSemiring.int_semiring", "Prims.unit", "FStar.Tactics.V1.Builtins.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta", "FStar.Pervasives.zeta", "FStar.Pervasives.iota", "Prims.Nil" ]
[]
module Vale.Curve25519.FastUtil_helpers open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Mul open FStar.Tactics open FStar.Tactics.CanonCommSemiring open Vale.Curve25519.Fast_defs
false
false
Vale.Curve25519.FastUtil_helpers.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 int_canon : _: _ -> FStar.Tactics.Effect.Tac Prims.unit
[]
Vale.Curve25519.FastUtil_helpers.int_canon
{ "file_name": "vale/code/crypto/ecc/curve25519/Vale.Curve25519.FastUtil_helpers.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: _ -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 66, "end_line": 10, "start_col": 16, "start_line": 10 }
Prims.Tot
val sub_carry (x y: nat64) (c: bit) : nat64 & bit
[ { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev...
false
let sub_carry (x y:nat64) (c:bit) : nat64 & bit = if x - (y + c) < 0 then (x - (y + c) + pow2_64, 1) else (x - (y + c)), 0
val sub_carry (x y: nat64) (c: bit) : nat64 & bit let sub_carry (x y: nat64) (c: bit) : nat64 & bit =
false
null
false
if x - (y + c) < 0 then (x - (y + c) + pow2_64, 1) else (x - (y + c)), 0
{ "checked_file": "Vale.Curve25519.FastUtil_helpers.fsti.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Curve25519.Fast_defs.fst.checked", "prims.fst.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", ...
[ "total" ]
[ "Vale.Def.Types_s.nat64", "Vale.Curve25519.Fast_defs.bit", "Prims.op_LessThan", "Prims.op_Subtraction", "Prims.op_Addition", "FStar.Pervasives.Native.Mktuple2", "Vale.Def.Words_s.pow2_64", "Prims.bool", "FStar.Pervasives.Native.tuple2" ]
[]
module Vale.Curve25519.FastUtil_helpers open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Mul open FStar.Tactics open FStar.Tactics.CanonCommSemiring open Vale.Curve25519.Fast_defs let int_canon = fun _ -> norm [delta; zeta; iota]; int_semiring () //; dump "Final" let sub_carry (x y:nat64) (c:bit) : nat64 & bit
false
true
Vale.Curve25519.FastUtil_helpers.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 sub_carry (x y: nat64) (c: bit) : nat64 & bit
[]
Vale.Curve25519.FastUtil_helpers.sub_carry
{ "file_name": "vale/code/crypto/ecc/curve25519/Vale.Curve25519.FastUtil_helpers.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.Def.Types_s.nat64 -> y: Vale.Def.Types_s.nat64 -> c: Vale.Curve25519.Fast_defs.bit -> Vale.Def.Types_s.nat64 * Vale.Curve25519.Fast_defs.bit
{ "end_col": 20, "end_line": 17, "start_col": 2, "start_line": 14 }
Prims.Tot
val ptr_of (#elt: Type) (a: array elt) : Tot (ptr elt)
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let ptr_of (#elt: Type) (a: array elt) : Tot (ptr elt) = match a with // dfst is not marked inline_for_extraction, so we need to reimplement it | (| p, _ |) -> p
val ptr_of (#elt: Type) (a: array elt) : Tot (ptr elt) let ptr_of (#elt: Type) (a: array elt) : Tot (ptr elt) =
false
null
false
match a with | (| p , _ |) -> p
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ "total" ]
[ "Steel.ST.Array.array", "Steel.ST.Array.ptr", "FStar.Ghost.erased", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Steel.ST.Array.offset", "FStar.Ghost.reveal", "Steel.ST.Array.base_len", "Steel.ST.Array.base" ]
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 ptr_of (#elt: Type) (a: array elt) : Tot (ptr elt)
[]
Steel.ST.Array.ptr_of
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> Steel.ST.Array.ptr elt
{ "end_col": 19, "end_line": 91, "start_col": 2, "start_line": 90 }
Prims.GTot
val length (#elt: Type) (a: array elt) : GTot nat
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let length (#elt: Type) (a: array elt) : GTot nat = dsnd a
val length (#elt: Type) (a: array elt) : GTot nat let length (#elt: Type) (a: array elt) : GTot nat =
false
null
false
dsnd a
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ "sometrivial" ]
[ "Steel.ST.Array.array", "FStar.Ghost.reveal", "Prims.nat", "FStar.Pervasives.dsnd", "Steel.ST.Array.ptr", "FStar.Ghost.erased", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Steel.ST.Array.offset", "Steel.ST.Array.base_len", "Steel.ST.Array.base" ]
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 length (#elt: Type) (a: array elt) : GTot nat
[]
Steel.ST.Array.length
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> Prims.GTot Prims.nat
{ "end_col": 8, "end_line": 103, "start_col": 2, "start_line": 103 }
Steel.ST.Effect.ST
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let alloc #elt = malloc #elt
let alloc #elt =
true
null
false
malloc #elt
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[]
[ "Steel.ST.Array.malloc", "FStar.SizeT.t", "Steel.ST.Array.array", "Steel.Effect.Common.emp", "Steel.ST.Array.pts_to", "Steel.FractionalPermission.full_perm", "FStar.Seq.Base.create", "FStar.SizeT.v", "Steel.Effect.Common.vprop", "Prims.l_True", "Prims.l_and", "Prims.eq2", "Prims.nat", "Ste...
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 alloc : x: elt -> n: FStar.SizeT.t -> Steel.ST.Effect.ST (Steel.ST.Array.array elt)
[]
Steel.ST.Array.alloc
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
x: elt -> n: FStar.SizeT.t -> Steel.ST.Effect.ST (Steel.ST.Array.array elt)
{ "end_col": 28, "end_line": 207, "start_col": 17, "start_line": 207 }
Steel.ST.Effect.ST
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let read #t #p = index #t #p
let read #t #p =
true
null
false
index #t #p
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[]
[ "Steel.FractionalPermission.perm", "Steel.ST.Array.index", "Steel.ST.Array.array", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "FStar.SizeT.t", "Steel.ST.Array.pts_to", "FStar.Ghost.reveal", "Steel.Effect.Common.vprop", "Prims.l_or", "Prims.b2t", "Prims.op_LessThan", "FStar.SizeT.v", "Stee...
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 read : a: Steel.ST.Array.array t -> i: FStar.SizeT.t -> Steel.ST.Effect.ST t
[]
Steel.ST.Array.read
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array t -> i: FStar.SizeT.t -> Steel.ST.Effect.ST t
{ "end_col": 28, "end_line": 268, "start_col": 17, "start_line": 268 }
Prims.Tot
val array ([@@@ strictly_positive]elt: Type0) : Tot Type0
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let array ([@@@strictly_positive] elt: Type0) : Tot Type0 = (p: ptr elt & (length: Ghost.erased nat {offset p + length <= base_len (base p)}))
val array ([@@@ strictly_positive]elt: Type0) : Tot Type0 let array ([@@@ strictly_positive]elt: Type0) : Tot Type0 =
false
null
false
(p: ptr elt & (length: Ghost.erased nat {offset p + length <= base_len (base p)}))
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ "total" ]
[ "Prims.dtuple2", "Steel.ST.Array.ptr", "FStar.Ghost.erased", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Steel.ST.Array.offset", "FStar.Ghost.reveal", "Steel.ST.Array.base_len", "Steel.ST.Array.base" ]
[]
(* Copyright 2020, 2021, 2022 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 ...
false
true
Steel.ST.Array.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 array ([@@@ strictly_positive]elt: Type0) : Tot Type0
[]
Steel.ST.Array.array
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
elt: Type0 -> Type0
{ "end_col": 84, "end_line": 76, "start_col": 2, "start_line": 76 }
Prims.Tot
val merge_into (#elt: Type) (a1 a2 a: array elt) : Tot prop
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let merge_into (#elt: Type) (a1 a2 a: array elt) : Tot prop = adjacent a1 a2 /\ merge a1 a2 == a
val merge_into (#elt: Type) (a1 a2 a: array elt) : Tot prop let merge_into (#elt: Type) (a1 a2 a: array elt) : Tot prop =
false
null
false
adjacent a1 a2 /\ merge a1 a2 == a
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ "total" ]
[ "Steel.ST.Array.array", "Prims.l_and", "Steel.ST.Array.adjacent", "Prims.eq2", "Steel.ST.Array.merge", "FStar.Ghost.hide", "Prims.prop" ]
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 merge_into (#elt: Type) (a1 a2 a: array elt) : Tot prop
[]
Steel.ST.Array.merge_into
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a1: Steel.ST.Array.array elt -> a2: Steel.ST.Array.array elt -> a: Steel.ST.Array.array elt -> Prims.prop
{ "end_col": 18, "end_line": 322, "start_col": 2, "start_line": 321 }
Steel.ST.Effect.STT
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let write #t = upd #t
let write #t =
true
null
false
upd #t
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[]
[ "Steel.ST.Array.upd", "Steel.ST.Array.array", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "FStar.SizeT.t", "Prims.b2t", "Prims.op_LessThan", "FStar.SizeT.v", "FStar.Seq.Base.length", "FStar.Ghost.reveal", "Prims.unit", "Steel.ST.Array.pts_to", "Steel.FractionalPermission.full_perm", "FStar...
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 write : a: Steel.ST.Array.array t -> i: FStar.SizeT.t{FStar.SizeT.v i < FStar.Seq.Base.length (FStar.Ghost.reveal s)} -> v: t -> Steel.ST.Effect.STT Prims.unit
[]
Steel.ST.Array.write
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array t -> i: FStar.SizeT.t{FStar.SizeT.v i < FStar.Seq.Base.length (FStar.Ghost.reveal s)} -> v: t -> Steel.ST.Effect.STT Prims.unit
{ "end_col": 21, "end_line": 286, "start_col": 15, "start_line": 286 }
Prims.Tot
val is_full_array (#elt: Type) (a: array elt) : Tot prop
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let is_full_array (#elt: Type) (a: array elt) : Tot prop = length a == base_len (base (ptr_of a))
val is_full_array (#elt: Type) (a: array elt) : Tot prop let is_full_array (#elt: Type) (a: array elt) : Tot prop =
false
null
false
length a == base_len (base (ptr_of a))
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ "total" ]
[ "Steel.ST.Array.array", "Prims.eq2", "Prims.nat", "Steel.ST.Array.length", "Steel.ST.Array.base_len", "Steel.ST.Array.base", "Steel.ST.Array.ptr_of", "Prims.prop" ]
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 is_full_array (#elt: Type) (a: array elt) : Tot prop
[]
Steel.ST.Array.is_full_array
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> Prims.prop
{ "end_col": 40, "end_line": 188, "start_col": 2, "start_line": 188 }
Prims.Tot
val adjacent (#elt: Type) (a1 a2: array elt) : Tot prop
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let adjacent (#elt: Type) (a1 a2: array elt) : Tot prop = base (ptr_of a1) == base (ptr_of a2) /\ offset (ptr_of a1) + (length a1) == offset (ptr_of a2)
val adjacent (#elt: Type) (a1 a2: array elt) : Tot prop let adjacent (#elt: Type) (a1 a2: array elt) : Tot prop =
false
null
false
base (ptr_of a1) == base (ptr_of a2) /\ offset (ptr_of a1) + (length a1) == offset (ptr_of a2)
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ "total" ]
[ "Steel.ST.Array.array", "Prims.l_and", "Prims.eq2", "Steel.ST.Array.base_t", "Steel.ST.Array.base", "Steel.ST.Array.ptr_of", "Prims.int", "Prims.op_Addition", "Steel.ST.Array.offset", "Steel.ST.Array.length", "Prims.prop" ]
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 adjacent (#elt: Type) (a1 a2: array elt) : Tot prop
[]
Steel.ST.Array.adjacent
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a1: Steel.ST.Array.array elt -> a2: Steel.ST.Array.array elt -> Prims.prop
{ "end_col": 56, "end_line": 293, "start_col": 2, "start_line": 292 }
Prims.Tot
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let larray (t:Type) (n:nat) = a:array t{ length a = n }
let larray (t: Type) (n: nat) =
false
null
false
a: array t {length a = n}
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ "total" ]
[ "Prims.nat", "Steel.ST.Array.array", "Prims.b2t", "Prims.op_Equality", "Steel.ST.Array.length" ]
[]
(* Copyright 2020, 2021, 2022 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 ...
false
true
Steel.ST.Array.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 larray : t: Type0 -> n: Prims.nat -> Type0
[]
Steel.ST.Array.larray
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: Type0 -> n: Prims.nat -> Type0
{ "end_col": 55, "end_line": 110, "start_col": 30, "start_line": 110 }
Prims.Tot
val null (#a: Type0) : array a
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let null (#a: Type0) : array a = (| null_ptr a, Ghost.hide 0 |)
val null (#a: Type0) : array a let null (#a: Type0) : array a =
false
null
false
(| null_ptr a, Ghost.hide 0 |)
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ "total" ]
[ "Prims.Mkdtuple2", "Steel.ST.Array.ptr", "FStar.Ghost.erased", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Steel.ST.Array.offset", "FStar.Ghost.reveal", "Steel.ST.Array.base_len", "Steel.ST.Array.base", "Steel.ST.Array.null_ptr", "FStar.Ghost.hide", "Steel.S...
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 null (#a: Type0) : array a
[]
Steel.ST.Array.null
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Steel.ST.Array.array a
{ "end_col": 32, "end_line": 81, "start_col": 2, "start_line": 81 }
Prims.Pure
val is_null (#a: Type0) (p: array a) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null))
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let is_null (#a: Type0) (p: array a) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null)) = is_null_ptr (ptr_of p)
val is_null (#a: Type0) (p: array a) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null)) let is_null (#a: Type0) (p: array a) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null)) =
false
null
false
is_null_ptr (ptr_of p)
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[]
[ "Steel.ST.Array.array", "Steel.ST.Array.is_null_ptr", "Steel.ST.Array.ptr_of", "Prims.bool", "Prims.l_True", "Prims.l_iff", "Prims.eq2", "Steel.ST.Array.null" ]
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 is_null (#a: Type0) (p: array a) : Pure bool (requires True) (ensures (fun res -> res == true <==> p == null))
[]
Steel.ST.Array.is_null
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p: Steel.ST.Array.array a -> Prims.Pure Prims.bool
{ "end_col": 24, "end_line": 98, "start_col": 2, "start_line": 98 }
Prims.Pure
val merge (#elt: Type) (a1: array elt) (a2: Ghost.erased (array elt)) : Pure (array elt) (requires (adjacent a1 a2)) (ensures (fun y -> length y == length a1 + length a2))
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let merge (#elt: Type) (a1: array elt) (a2: Ghost.erased (array elt)) : Pure (array elt) (requires (adjacent a1 a2)) (ensures (fun y -> length y == length a1 + length a2)) = (| ptr_of a1, Ghost.hide (length a1 + length a2) |)
val merge (#elt: Type) (a1: array elt) (a2: Ghost.erased (array elt)) : Pure (array elt) (requires (adjacent a1 a2)) (ensures (fun y -> length y == length a1 + length a2)) let merge (#elt: Type) (a1: array elt) (a2: Ghost.erased (array elt)) : Pure (array elt) (requires (adjacent a1 a2)) ...
false
null
false
(| ptr_of a1, Ghost.hide (length a1 + length a2) |)
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[]
[ "Steel.ST.Array.array", "FStar.Ghost.erased", "Prims.Mkdtuple2", "Steel.ST.Array.ptr", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Steel.ST.Array.offset", "FStar.Ghost.reveal", "Steel.ST.Array.base_len", "Steel.ST.Array.base", "Steel.ST.Array.ptr_of", "FStar...
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 merge (#elt: Type) (a1: array elt) (a2: Ghost.erased (array elt)) : Pure (array elt) (requires (adjacent a1 a2)) (ensures (fun y -> length y == length a1 + length a2))
[]
Steel.ST.Array.merge
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a1: Steel.ST.Array.array elt -> a2: FStar.Ghost.erased (Steel.ST.Array.array elt) -> Prims.Pure (Steel.ST.Array.array elt)
{ "end_col": 53, "end_line": 304, "start_col": 2, "start_line": 304 }
Prims.Pure
val split_l (#elt: Type) (a: array elt) (i: Ghost.erased US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> True))
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let split_l (#elt: Type) (a: array elt) (i: Ghost.erased US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> True)) = (| ptr_of a, Ghost.hide (US.v i) |)
val split_l (#elt: Type) (a: array elt) (i: Ghost.erased US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> True)) let split_l (#elt: Type) (a: array elt) (i: Ghost.erased US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> True)) =
false
null
false
(| ptr_of a, Ghost.hide (US.v i) |)
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[]
[ "Steel.ST.Array.array", "FStar.Ghost.erased", "FStar.SizeT.t", "Prims.Mkdtuple2", "Steel.ST.Array.ptr", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Steel.ST.Array.offset", "FStar.Ghost.reveal", "Steel.ST.Array.base_len", "Steel.ST.Array.base", "Steel.ST.Arra...
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 split_l (#elt: Type) (a: array elt) (i: Ghost.erased US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> True))
[]
Steel.ST.Array.split_l
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> i: FStar.Ghost.erased FStar.SizeT.t -> Prims.Pure (Steel.ST.Array.array elt)
{ "end_col": 37, "end_line": 374, "start_col": 2, "start_line": 374 }
FStar.Pervasives.Lemma
val ptr_shift_zero (#elt: Type) (p: ptr elt) : Lemma (ptr_shift p 0sz == p)
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let ptr_shift_zero (#elt: Type) (p: ptr elt) : Lemma (ptr_shift p 0sz == p) = ptr_base_offset_inj (ptr_shift p 0sz) p
val ptr_shift_zero (#elt: Type) (p: ptr elt) : Lemma (ptr_shift p 0sz == p) let ptr_shift_zero (#elt: Type) (p: ptr elt) : Lemma (ptr_shift p 0sz == p) =
false
null
true
ptr_base_offset_inj (ptr_shift p 0sz) p
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ "lemma" ]
[ "Steel.ST.Array.ptr", "Steel.ST.Array.ptr_base_offset_inj", "Steel.ST.Array.ptr_shift", "FStar.SizeT.__uint_to_t", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 ptr_shift_zero (#elt: Type) (p: ptr elt) : Lemma (ptr_shift p 0sz == p)
[]
Steel.ST.Array.ptr_shift_zero
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p: Steel.ST.Array.ptr elt -> FStar.Pervasives.Lemma (ensures Steel.ST.Array.ptr_shift p (FStar.SizeT.__uint_to_t 0) == p)
{ "end_col": 41, "end_line": 398, "start_col": 2, "start_line": 398 }
Prims.Pure
val split_r (#elt: Type) (a: array elt) (i: US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> merge_into (split_l a i) y a))
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let split_r (#elt: Type) (a: array elt) (i: US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> merge_into (split_l a i) y a)) = (| ptr_shift (ptr_of a) i, Ghost.hide (length a - US.v i) |)
val split_r (#elt: Type) (a: array elt) (i: US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> merge_into (split_l a i) y a)) let split_r (#elt: Type) (a: array elt) (i: US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> merge_into (split...
false
null
false
(| ptr_shift (ptr_of a) i, Ghost.hide (length a - US.v i) |)
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[]
[ "Steel.ST.Array.array", "FStar.SizeT.t", "Prims.Mkdtuple2", "Steel.ST.Array.ptr", "FStar.Ghost.erased", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Steel.ST.Array.offset", "FStar.Ghost.reveal", "Steel.ST.Array.base_len", "Steel.ST.Array.base", "Steel.ST.Arra...
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 split_r (#elt: Type) (a: array elt) (i: US.t) : Pure (array elt) (requires (US.v i <= length a)) (ensures (fun y -> merge_into (split_l a i) y a))
[]
Steel.ST.Array.split_r
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Steel.ST.Array.array elt -> i: FStar.SizeT.t -> Prims.Pure (Steel.ST.Array.array elt)
{ "end_col": 62, "end_line": 409, "start_col": 2, "start_line": 409 }
Steel.ST.Effect.Atomic.STAtomicBase
val join (#opened: _) (#elt: Type) (#x1 #x2: Ghost.erased (Seq.seq elt)) (#p: P.perm) (a1: array elt) (a2: Ghost.erased (array elt)) : STAtomicBase (array elt) false opened Unobservable ((pts_to a1 p x1) `star` (pts_to a2 p x2)) (fun res -> pts_to re...
[ { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": true, "full_module": "FStar.PtrdiffT", "short_module": "UP" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "US" }, { "abbrev": true, "full_module": "Stee...
false
let join (#opened: _) (#elt: Type) (#x1 #x2: Ghost.erased (Seq.seq elt)) (#p: P.perm) (a1: array elt) (a2: Ghost.erased (array elt)) : STAtomicBase (array elt) false opened Unobservable (pts_to a1 p x1 `star` pts_to a2 p x2) (fun res -> pts_to res p (x1 `Seq.append` x2)) (adjacent a1 a2) (fu...
val join (#opened: _) (#elt: Type) (#x1 #x2: Ghost.erased (Seq.seq elt)) (#p: P.perm) (a1: array elt) (a2: Ghost.erased (array elt)) : STAtomicBase (array elt) false opened Unobservable ((pts_to a1 p x1) `star` (pts_to a2 p x2)) (fun res -> pts_to re...
true
null
false
let _:squash (adjacent a1 a2) = () in ghost_join a1 a2 (); let res = merge a1 a2 in rewrite (pts_to (merge a1 (Ghost.hide (Ghost.reveal a2))) p (x1 `Seq.append` x2)) (pts_to res p (x1 `Seq.append` x2)); return res
{ "checked_file": "Steel.ST.Array.fsti.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.PtrdiffT.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar....
[]
[ "Steel.Memory.inames", "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Steel.FractionalPermission.perm", "Steel.ST.Array.array", "Steel.ST.Util.return", "Steel.ST.Array.pts_to", "FStar.Seq.Base.append", "FStar.Ghost.reveal", "Steel.Effect.Common.vprop", "Prims.unit", "Steel.ST.Util.rewrite", "S...
[]
(* Copyright 2020, 2021, 2022 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 ...
false
false
Steel.ST.Array.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 join (#opened: _) (#elt: Type) (#x1 #x2: Ghost.erased (Seq.seq elt)) (#p: P.perm) (a1: array elt) (a2: Ghost.erased (array elt)) : STAtomicBase (array elt) false opened Unobservable ((pts_to a1 p x1) `star` (pts_to a2 p x2)) (fun res -> pts_to re...
[]
Steel.ST.Array.join
{ "file_name": "lib/steel/Steel.ST.Array.fsti", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a1: Steel.ST.Array.array elt -> a2: FStar.Ghost.erased (Steel.ST.Array.array elt) -> Steel.ST.Effect.Atomic.STAtomicBase (Steel.ST.Array.array elt)
{ "end_col": 12, "end_line": 362, "start_col": 1, "start_line": 356 }
Prims.Tot
val parse_format_string (s: string) (parse_ext: extension_parser) : option (list dir)
[ { "abbrev": true, "full_module": "FStar.Integers", "short_module": "I" }, { "abbrev": false, "full_module": "FStar.String", "short_module": null }, { "abbrev": false, "full_module": "FStar.Char", "short_module": null }, { "abbrev": false, "full_module": "FStar...
false
let parse_format_string (s:string) (parse_ext:extension_parser) : option (list dir) = parse_format (list_of_string s) parse_ext
val parse_format_string (s: string) (parse_ext: extension_parser) : option (list dir) let parse_format_string (s: string) (parse_ext: extension_parser) : option (list dir) =
false
null
false
parse_format (list_of_string s) parse_ext
{ "checked_file": "FStar.Printf.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.String.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.ch...
[ "total" ]
[ "Prims.string", "FStar.Printf.extension_parser", "FStar.Printf.parse_format", "FStar.String.list_of_string", "FStar.Pervasives.Native.option", "Prims.list", "FStar.Printf.dir" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Printf.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 parse_format_string (s: string) (parse_ext: extension_parser) : option (list dir)
[]
FStar.Printf.parse_format_string
{ "file_name": "ulib/FStar.Printf.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
s: Prims.string -> parse_ext: FStar.Printf.extension_parser -> FStar.Pervasives.Native.option (Prims.list FStar.Printf.dir)
{ "end_col": 45, "end_line": 182, "start_col": 4, "start_line": 182 }
Prims.Tot
val no_extensions:extension_parser
[ { "abbrev": true, "full_module": "FStar.Integers", "short_module": "I" }, { "abbrev": false, "full_module": "FStar.String", "short_module": null }, { "abbrev": false, "full_module": "FStar.Char", "short_module": null }, { "abbrev": false, "full_module": "FStar...
false
let no_extensions : extension_parser = fun s -> None
val no_extensions:extension_parser let no_extensions:extension_parser =
false
null
false
fun s -> None
{ "checked_file": "FStar.Printf.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.String.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.ch...
[ "total" ]
[ "Prims.list", "FStar.String.char", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.tuple2", "FStar.Printf.extension", "Prims.precedes", "FStar.Pervasives.Native.option" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Printf.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_extensions:extension_parser
[]
FStar.Printf.no_extensions
{ "file_name": "ulib/FStar.Printf.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
FStar.Printf.extension_parser
{ "end_col": 52, "end_line": 184, "start_col": 39, "start_line": 184 }
Prims.Tot
val string_of_arg (#a: arg) (x: arg_type a) : string
[ { "abbrev": true, "full_module": "FStar.Integers", "short_module": "I" }, { "abbrev": false, "full_module": "FStar.String", "short_module": null }, { "abbrev": false, "full_module": "FStar.Char", "short_module": null }, { "abbrev": false, "full_module": "FStar...
false
let string_of_arg (#a:arg) (x:arg_type a) : string = match a with | Bool -> string_of_bool x | Int -> string_of_int x | Char -> string_of_char x | String -> x | U8 -> FStar.UInt8.to_string x | U16 -> FStar.UInt16.to_string x | U32 -> FStar.UInt32.to_string x | U64 ...
val string_of_arg (#a: arg) (x: arg_type a) : string let string_of_arg (#a: arg) (x: arg_type a) : string =
false
null
false
match a with | Bool -> string_of_bool x | Int -> string_of_int x | Char -> string_of_char x | String -> x | U8 -> FStar.UInt8.to_string x | U16 -> FStar.UInt16.to_string x | U32 -> FStar.UInt32.to_string x | U64 -> FStar.UInt64.to_string x | I8 -> FStar.Int8.to_string x | I16 -> FStar.Int16.to_string x | I32 -> FStar.I...
{ "checked_file": "FStar.Printf.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.String.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.ch...
[ "total" ]
[ "FStar.Printf.arg", "FStar.Printf.arg_type", "Prims.string_of_bool", "Prims.string_of_int", "FStar.String.string_of_char", "FStar.UInt8.to_string", "FStar.UInt16.to_string", "FStar.UInt32.to_string", "FStar.UInt64.to_string", "FStar.Int8.to_string", "FStar.Int16.to_string", "FStar.Int32.to_str...
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Printf.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 string_of_arg (#a: arg) (x: arg_type a) : string
[]
FStar.Printf.string_of_arg
{ "file_name": "ulib/FStar.Printf.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.Printf.arg_type a -> Prims.string
{ "end_col": 38, "end_line": 91, "start_col": 4, "start_line": 78 }
Prims.Tot
val arg_type (a: arg) : Tot Type0
[ { "abbrev": true, "full_module": "FStar.Integers", "short_module": "I" }, { "abbrev": false, "full_module": "FStar.String", "short_module": null }, { "abbrev": false, "full_module": "FStar.Char", "short_module": null }, { "abbrev": false, "full_module": "FStar...
false
let arg_type (a:arg) : Tot Type0 = match a with | Bool -> bool | Int -> int | Char -> char | String -> string | U8 -> FStar.UInt8.t | U16 -> FStar.UInt16.t | U32 -> FStar.UInt32.t | U64 -> FStar.UInt64.t | I8 -> FStar.Int8.t | I16 -> FStar.Int16.t | I32 -> FStar.Int...
val arg_type (a: arg) : Tot Type0 let arg_type (a: arg) : Tot Type0 =
false
null
false
match a with | Bool -> bool | Int -> int | Char -> char | String -> string | U8 -> FStar.UInt8.t | U16 -> FStar.UInt16.t | U32 -> FStar.UInt32.t | U64 -> FStar.UInt64.t | I8 -> FStar.Int8.t | I16 -> FStar.Int16.t | I32 -> FStar.Int32.t | I64 -> FStar.Int64.t | Extension (MkExtension #t _) -> t
{ "checked_file": "FStar.Printf.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.String.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.ch...
[ "total" ]
[ "FStar.Printf.arg", "Prims.bool", "Prims.int", "FStar.String.char", "Prims.string", "FStar.UInt8.t", "FStar.UInt16.t", "FStar.UInt32.t", "FStar.UInt64.t", "FStar.Int8.t", "FStar.Int16.t", "FStar.Int32.t", "FStar.Int64.t" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Printf.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 arg_type (a: arg) : Tot Type0
[]
FStar.Printf.arg_type
{ "file_name": "ulib/FStar.Printf.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Printf.arg -> Type0
{ "end_col": 38, "end_line": 75, "start_col": 2, "start_line": 62 }
Prims.Tot
val string_of_dirs (ds: list dir) (k: (string -> string)) : dir_type ds
[ { "abbrev": true, "full_module": "FStar.Integers", "short_module": "I" }, { "abbrev": false, "full_module": "FStar.String", "short_module": null }, { "abbrev": false, "full_module": "FStar.Char", "short_module": null }, { "abbrev": false, "full_module": "FStar...
false
let rec string_of_dirs (ds:list dir) (k:string -> string) : dir_type ds = match ds with | [] -> k "" | Lit c :: ds' -> string_of_dirs ds' (fun res -> k (string_of_char c ^ res)) <: normalize_term (dir_type ds') | Arg a :: ds' -> fun (x : arg_type a) -> string_of...
val string_of_dirs (ds: list dir) (k: (string -> string)) : dir_type ds let rec string_of_dirs (ds: list dir) (k: (string -> string)) : dir_type ds =
false
null
false
match ds with | [] -> k "" | Lit c :: ds' -> string_of_dirs ds' (fun res -> k (string_of_char c ^ res)) <: normalize_term (dir_type ds') | Arg a :: ds' -> fun (x: arg_type a) -> string_of_dirs ds' (fun res -> ((k "") ^ string_of_arg x ^ res))
{ "checked_file": "FStar.Printf.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.String.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.ch...
[ "total" ]
[ "Prims.list", "FStar.Printf.dir", "Prims.string", "FStar.String.char", "FStar.Printf.string_of_dirs", "Prims.op_Hat", "FStar.String.string_of_char", "FStar.Pervasives.normalize_term", "FStar.Printf.dir_type", "FStar.Printf.arg", "FStar.Printf.arg_type", "FStar.Printf.string_of_arg" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Printf.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 string_of_dirs (ds: list dir) (k: (string -> string)) : dir_type ds
[ "recursion" ]
FStar.Printf.string_of_dirs
{ "file_name": "ulib/FStar.Printf.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ds: Prims.list FStar.Printf.dir -> k: (_: Prims.string -> Prims.string) -> FStar.Printf.dir_type ds
{ "end_col": 44, "end_line": 123, "start_col": 4, "start_line": 114 }
Prims.Tot
val dir_type (ds: list dir) : Tot Type0
[ { "abbrev": true, "full_module": "FStar.Integers", "short_module": "I" }, { "abbrev": false, "full_module": "FStar.String", "short_module": null }, { "abbrev": false, "full_module": "FStar.Char", "short_module": null }, { "abbrev": false, "full_module": "FStar...
false
let rec dir_type (ds:list dir) : Tot Type0 = match ds with | [] -> string | Lit c :: ds' -> dir_type ds' | Arg a :: ds' -> arg_type a -> dir_type ds'
val dir_type (ds: list dir) : Tot Type0 let rec dir_type (ds: list dir) : Tot Type0 =
false
null
false
match ds with | [] -> string | Lit c :: ds' -> dir_type ds' | Arg a :: ds' -> arg_type a -> dir_type ds'
{ "checked_file": "FStar.Printf.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.String.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.ch...
[ "total" ]
[ "Prims.list", "FStar.Printf.dir", "Prims.string", "FStar.String.char", "FStar.Printf.dir_type", "FStar.Printf.arg", "FStar.Printf.arg_type" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Printf.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 dir_type (ds: list dir) : Tot Type0
[ "recursion" ]
FStar.Printf.dir_type
{ "file_name": "ulib/FStar.Printf.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ds: Prims.list FStar.Printf.dir -> Type0
{ "end_col": 46, "end_line": 105, "start_col": 2, "start_line": 102 }
Prims.Tot
val parse_format (s: list char) (parse_ext: extension_parser) : option (list dir)
[ { "abbrev": true, "full_module": "FStar.Integers", "short_module": "I" }, { "abbrev": false, "full_module": "FStar.String", "short_module": null }, { "abbrev": false, "full_module": "FStar.Char", "short_module": null }, { "abbrev": false, "full_module": "FStar...
false
let rec parse_format (s:list char) (parse_ext: extension_parser) : option (list dir) = let add_dir (d:dir) (ods : option (list dir)) : option (list dir) = match ods with | None -> None | Some ds -> Some (d::ds) in match s with | [] -> Some [] ...
val parse_format (s: list char) (parse_ext: extension_parser) : option (list dir) let rec parse_format (s: list char) (parse_ext: extension_parser) : option (list dir) =
false
null
false
let add_dir (d: dir) (ods: option (list dir)) : option (list dir) = match ods with | None -> None | Some ds -> Some (d :: ds) in match s with | [] -> Some [] | ['%'] -> None | '%' :: 'u' :: s' -> (match s' with | 'y' :: s'' -> add_dir (Arg U8) (parse_format s'' parse_ext) | 's' :: s'' -> add_dir (Arg U1...
{ "checked_file": "FStar.Printf.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.String.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.ch...
[ "total" ]
[ "Prims.list", "FStar.String.char", "FStar.Printf.extension_parser", "FStar.Pervasives.Native.Some", "FStar.Printf.dir", "Prims.Nil", "FStar.Pervasives.Native.None", "FStar.Printf.Arg", "FStar.Printf.U8", "FStar.Printf.parse_format", "FStar.Printf.U16", "FStar.Printf.U32", "FStar.Printf.U64",...
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Printf.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 parse_format (s: list char) (parse_ext: extension_parser) : option (list dir)
[ "recursion" ]
FStar.Printf.parse_format
{ "file_name": "ulib/FStar.Printf.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
s: Prims.list FStar.String.char -> parse_ext: FStar.Printf.extension_parser -> FStar.Pervasives.Native.option (Prims.list FStar.Printf.dir)
{ "end_col": 51, "end_line": 175, "start_col": 5, "start_line": 134 }
Prims.Tot
val sprintf (s: string{normalize_term (b2t (Some? (parse_format_string s no_extensions)))}) : normalize_term (dir_type (Some?.v (parse_format_string s no_extensions)))
[ { "abbrev": true, "full_module": "FStar.Integers", "short_module": "I" }, { "abbrev": false, "full_module": "FStar.String", "short_module": null }, { "abbrev": false, "full_module": "FStar.Char", "short_module": null }, { "abbrev": false, "full_module": "FStar...
false
let sprintf (s:string{normalize_term (b2t (Some? (parse_format_string s no_extensions)))}) : normalize_term (dir_type (Some?.v (parse_format_string s no_extensions))) = normalize_term (string_of_dirs (Some?.v (parse_format_string s no_extensions)) (fun s -> s))
val sprintf (s: string{normalize_term (b2t (Some? (parse_format_string s no_extensions)))}) : normalize_term (dir_type (Some?.v (parse_format_string s no_extensions))) let sprintf (s: string{normalize_term (b2t (Some? (parse_format_string s no_extensions)))}) : normalize_term (dir_type (Some?.v (parse_format_st...
false
null
false
normalize_term (string_of_dirs (Some?.v (parse_format_string s no_extensions)) (fun s -> s))
{ "checked_file": "FStar.Printf.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.String.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.ch...
[ "total" ]
[ "Prims.string", "FStar.Pervasives.normalize_term", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", "Prims.list", "FStar.Printf.dir", "FStar.Printf.parse_format_string", "FStar.Printf.no_extensions", "FStar.String.list_of_string", "FStar.Pervasives.Native.Some", "Prims.Nil", "FStar.Pervasi...
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Printf.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 sprintf (s: string{normalize_term (b2t (Some? (parse_format_string s no_extensions)))}) : normalize_term (dir_type (Some?.v (parse_format_string s no_extensions)))
[]
FStar.Printf.sprintf
{ "file_name": "ulib/FStar.Printf.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
s: Prims.string { FStar.Pervasives.normalize_term (Some? (FStar.Printf.parse_format_string s FStar.Printf.no_extensions)) } -> FStar.Pervasives.normalize_term (FStar.Printf.dir_type (Some?.v (FStar.Printf.parse_format_string s FStar.Printf.no_...
{ "end_col": 98, "end_line": 199, "start_col": 6, "start_line": 199 }
Prims.Tot
val ext_sprintf (parse_ext: extension_parser) (s: string{normalize_term (b2t (Some? (parse_format_string s parse_ext)))}) : normalize_term (dir_type (Some?.v (parse_format_string s parse_ext)))
[ { "abbrev": true, "full_module": "FStar.Integers", "short_module": "I" }, { "abbrev": false, "full_module": "FStar.String", "short_module": null }, { "abbrev": false, "full_module": "FStar.Char", "short_module": null }, { "abbrev": false, "full_module": "FStar...
false
let ext_sprintf (parse_ext: extension_parser) (s:string{normalize_term (b2t (Some? (parse_format_string s parse_ext)))}) : normalize_term (dir_type (Some?.v (parse_format_string s parse_ext))) = normalize_term (string_of_dirs (Some?.v (parse_format_string s parse_ext)) (fun s -> s))
val ext_sprintf (parse_ext: extension_parser) (s: string{normalize_term (b2t (Some? (parse_format_string s parse_ext)))}) : normalize_term (dir_type (Some?.v (parse_format_string s parse_ext))) let ext_sprintf (parse_ext: extension_parser) (s: string{normalize_term (b2t (Some? (parse_format_...
false
null
false
normalize_term (string_of_dirs (Some?.v (parse_format_string s parse_ext)) (fun s -> s))
{ "checked_file": "FStar.Printf.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.String.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Integers.fst.ch...
[ "total" ]
[ "FStar.Printf.extension_parser", "Prims.string", "FStar.Pervasives.normalize_term", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", "Prims.list", "FStar.Printf.dir", "FStar.Printf.parse_format_string", "FStar.String.list_of_string", "FStar.Pervasives.Native.Some", "Prims.Nil", "FStar.Perv...
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Printf.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 ext_sprintf (parse_ext: extension_parser) (s: string{normalize_term (b2t (Some? (parse_format_string s parse_ext)))}) : normalize_term (dir_type (Some?.v (parse_format_string s parse_ext)))
[]
FStar.Printf.ext_sprintf
{ "file_name": "ulib/FStar.Printf.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
parse_ext: FStar.Printf.extension_parser -> s: Prims.string {FStar.Pervasives.normalize_term (Some? (FStar.Printf.parse_format_string s parse_ext))} -> FStar.Pervasives.normalize_term (FStar.Printf.dir_type (Some?.v (FStar.Printf.parse_format_string s parse_e...
{ "end_col": 94, "end_line": 208, "start_col": 6, "start_line": 208 }
Prims.Tot
val key0:(b: B.buffer UInt8.t {B.length b = 32 /\ B.recallable b})
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "FSt...
false
let key0: (b: B.buffer UInt8.t { B.length b = 32 /\ B.recallable b }) = [@inline_let] let l = [ 0x1cuy; 0x92uy; 0x40uy; 0xa5uy; 0xebuy; 0x55uy; 0xd3uy; 0x8auy; 0xf3uy; 0x33uy; 0x88uy; 0x86uy; 0x04uy; 0xf6uy; 0xb5uy; 0xf0uy; 0x47uy; 0x39uy; 0x17uy; 0xc1uy; 0x40uy; 0x2buy; 0x80uy; 0x09uy; 0x9duy; 0xcauy; 0x5cuy; 0xbcuy...
val key0:(b: B.buffer UInt8.t {B.length b = 32 /\ B.recallable b}) let key0:(b: B.buffer UInt8.t {B.length b = 32 /\ B.recallable b}) =
false
null
false
[@@ inline_let ]let l = [ 0x1cuy; 0x92uy; 0x40uy; 0xa5uy; 0xebuy; 0x55uy; 0xd3uy; 0x8auy; 0xf3uy; 0x33uy; 0x88uy; 0x86uy; 0x04uy; 0xf6uy; 0xb5uy; 0xf0uy; 0x47uy; 0x39uy; 0x17uy; 0xc1uy; 0x40uy; 0x2buy; 0x80uy; 0x09uy; 0x9duy; 0xcauy; 0x5cuy; 0xbcuy; 0x20uy; 0x70uy; 0x75uy; 0xc0uy ] in assert_norm (List....
{ "checked_file": "Test.Vectors.Chacha20Poly1305.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.fst.checked" ], ...
[ "total" ]
[ "LowStar.Buffer.gcmalloc_of_list", "FStar.UInt8.t", "FStar.Monotonic.HyperHeap.root", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monotonic.Buffer.length", "FStar.Pervasives.normalize_term", "FStar.List.Tot.Base.length"...
[]
module Test.Vectors.Chacha20Poly1305 module B = LowStar.Buffer #set-options "--max_fuel 0 --max_ifuel 0"
false
false
Test.Vectors.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val key0:(b: B.buffer UInt8.t {B.length b = 32 /\ B.recallable b})
[]
Test.Vectors.Chacha20Poly1305.key0
{ "file_name": "providers/test/vectors/Test.Vectors.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: LowStar.Buffer.buffer FStar.UInt8.t {LowStar.Monotonic.Buffer.length b = 32 /\ LowStar.Monotonic.Buffer.recallable b}
{ "end_col": 38, "end_line": 10, "start_col": 2, "start_line": 8 }
Prims.Tot
val output1_len:(x: UInt32.t{UInt32.v x = B.length output1})
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "FSt...
false
let output1_len: (x:UInt32.t { UInt32.v x = B.length output1 }) = 16ul
val output1_len:(x: UInt32.t{UInt32.v x = B.length output1}) let output1_len:(x: UInt32.t{UInt32.v x = B.length output1}) =
false
null
false
16ul
{ "checked_file": "Test.Vectors.Chacha20Poly1305.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.fst.checked" ], ...
[ "total" ]
[ "FStar.UInt32.__uint_to_t" ]
[]
module Test.Vectors.Chacha20Poly1305 module B = LowStar.Buffer #set-options "--max_fuel 0 --max_ifuel 0" let key0: (b: B.buffer UInt8.t { B.length b = 32 /\ B.recallable b }) = [@inline_let] let l = [ 0x1cuy; 0x92uy; 0x40uy; 0xa5uy; 0xebuy; 0x55uy; 0xd3uy; 0x8auy; 0xf3uy; 0x33uy; 0x88uy; 0x86uy; 0x04uy; 0xf6uy; 0x...
false
false
Test.Vectors.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val output1_len:(x: UInt32.t{UInt32.v x = B.length output1})
[]
Test.Vectors.Chacha20Poly1305.output1_len
{ "file_name": "providers/test/vectors/Test.Vectors.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: FStar.UInt32.t {FStar.UInt32.v x = LowStar.Monotonic.Buffer.length Test.Vectors.Chacha20Poly1305.output1}
{ "end_col": 6, "end_line": 85, "start_col": 2, "start_line": 85 }
Prims.Tot
val aad0_len:(x: UInt32.t{UInt32.v x = B.length aad0})
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "FSt...
false
let aad0_len: (x:UInt32.t { UInt32.v x = B.length aad0 }) = 12ul
val aad0_len:(x: UInt32.t{UInt32.v x = B.length aad0}) let aad0_len:(x: UInt32.t{UInt32.v x = B.length aad0}) =
false
null
false
12ul
{ "checked_file": "Test.Vectors.Chacha20Poly1305.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.fst.checked" ], ...
[ "total" ]
[ "FStar.UInt32.__uint_to_t" ]
[]
module Test.Vectors.Chacha20Poly1305 module B = LowStar.Buffer #set-options "--max_fuel 0 --max_ifuel 0" let key0: (b: B.buffer UInt8.t { B.length b = 32 /\ B.recallable b }) = [@inline_let] let l = [ 0x1cuy; 0x92uy; 0x40uy; 0xa5uy; 0xebuy; 0x55uy; 0xd3uy; 0x8auy; 0xf3uy; 0x33uy; 0x88uy; 0x86uy; 0x04uy; 0xf6uy; 0x...
false
false
Test.Vectors.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val aad0_len:(x: UInt32.t{UInt32.v x = B.length aad0})
[]
Test.Vectors.Chacha20Poly1305.aad0_len
{ "file_name": "providers/test/vectors/Test.Vectors.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: FStar.UInt32.t {FStar.UInt32.v x = LowStar.Monotonic.Buffer.length Test.Vectors.Chacha20Poly1305.aad0}
{ "end_col": 6, "end_line": 29, "start_col": 2, "start_line": 29 }
Prims.Tot
val key2_len:(x: UInt32.t{UInt32.v x = B.length key2})
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "FSt...
false
let key2_len: (x:UInt32.t { UInt32.v x = B.length key2 }) = 32ul
val key2_len:(x: UInt32.t{UInt32.v x = B.length key2}) let key2_len:(x: UInt32.t{UInt32.v x = B.length key2}) =
false
null
false
32ul
{ "checked_file": "Test.Vectors.Chacha20Poly1305.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.fst.checked" ], ...
[ "total" ]
[ "FStar.UInt32.__uint_to_t" ]
[]
module Test.Vectors.Chacha20Poly1305 module B = LowStar.Buffer #set-options "--max_fuel 0 --max_ifuel 0" let key0: (b: B.buffer UInt8.t { B.length b = 32 /\ B.recallable b }) = [@inline_let] let l = [ 0x1cuy; 0x92uy; 0x40uy; 0xa5uy; 0xebuy; 0x55uy; 0xd3uy; 0x8auy; 0xf3uy; 0x33uy; 0x88uy; 0x86uy; 0x04uy; 0xf6uy; 0x...
false
false
Test.Vectors.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val key2_len:(x: UInt32.t{UInt32.v x = B.length key2})
[]
Test.Vectors.Chacha20Poly1305.key2_len
{ "file_name": "providers/test/vectors/Test.Vectors.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: FStar.UInt32.t {FStar.UInt32.v x = LowStar.Monotonic.Buffer.length Test.Vectors.Chacha20Poly1305.key2}
{ "end_col": 6, "end_line": 93, "start_col": 2, "start_line": 93 }
Prims.Tot
val aad3:(b: B.buffer UInt8.t {B.length b = 8 /\ B.recallable b})
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "FSt...
false
let aad3: (b: B.buffer UInt8.t { B.length b = 8 /\ B.recallable b }) = [@inline_let] let l = [ 0x6auy; 0xe2uy; 0xaduy; 0x3fuy; 0x88uy; 0x39uy; 0x5auy; 0x40uy; ] in assert_norm (List.Tot.length l = 8); B.gcmalloc_of_list HyperStack.root l
val aad3:(b: B.buffer UInt8.t {B.length b = 8 /\ B.recallable b}) let aad3:(b: B.buffer UInt8.t {B.length b = 8 /\ B.recallable b}) =
false
null
false
[@@ inline_let ]let l = [0x6auy; 0xe2uy; 0xaduy; 0x3fuy; 0x88uy; 0x39uy; 0x5auy; 0x40uy] in assert_norm (List.Tot.length l = 8); B.gcmalloc_of_list HyperStack.root l
{ "checked_file": "Test.Vectors.Chacha20Poly1305.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.fst.checked" ], ...
[ "total" ]
[ "LowStar.Buffer.gcmalloc_of_list", "FStar.UInt8.t", "FStar.Monotonic.HyperHeap.root", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.eq2", "Prims.nat", "LowStar.Monotonic.Buffer.length", "FStar.Pervasives.normalize_term", "FStar.List.Tot.Base.length"...
[]
module Test.Vectors.Chacha20Poly1305 module B = LowStar.Buffer #set-options "--max_fuel 0 --max_ifuel 0" let key0: (b: B.buffer UInt8.t { B.length b = 32 /\ B.recallable b }) = [@inline_let] let l = [ 0x1cuy; 0x92uy; 0x40uy; 0xa5uy; 0xebuy; 0x55uy; 0xd3uy; 0x8auy; 0xf3uy; 0x33uy; 0x88uy; 0x86uy; 0x04uy; 0xf6uy; 0x...
false
false
Test.Vectors.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val aad3:(b: B.buffer UInt8.t {B.length b = 8 /\ B.recallable b})
[]
Test.Vectors.Chacha20Poly1305.aad3
{ "file_name": "providers/test/vectors/Test.Vectors.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: LowStar.Buffer.buffer FStar.UInt8.t {LowStar.Monotonic.Buffer.length b = 8 /\ LowStar.Monotonic.Buffer.recallable b}
{ "end_col": 38, "end_line": 146, "start_col": 2, "start_line": 144 }
Prims.Tot
val nonce3_len:(x: UInt32.t{UInt32.v x = B.length nonce3})
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "FSt...
false
let nonce3_len: (x:UInt32.t { UInt32.v x = B.length nonce3 }) = 12ul
val nonce3_len:(x: UInt32.t{UInt32.v x = B.length nonce3}) let nonce3_len:(x: UInt32.t{UInt32.v x = B.length nonce3}) =
false
null
false
12ul
{ "checked_file": "Test.Vectors.Chacha20Poly1305.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.fst.checked" ], ...
[ "total" ]
[ "FStar.UInt32.__uint_to_t" ]
[]
module Test.Vectors.Chacha20Poly1305 module B = LowStar.Buffer #set-options "--max_fuel 0 --max_ifuel 0" let key0: (b: B.buffer UInt8.t { B.length b = 32 /\ B.recallable b }) = [@inline_let] let l = [ 0x1cuy; 0x92uy; 0x40uy; 0xa5uy; 0xebuy; 0x55uy; 0xd3uy; 0x8auy; 0xf3uy; 0x33uy; 0x88uy; 0x86uy; 0x04uy; 0xf6uy; 0x...
false
false
Test.Vectors.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val nonce3_len:(x: UInt32.t{UInt32.v x = B.length nonce3})
[]
Test.Vectors.Chacha20Poly1305.nonce3_len
{ "file_name": "providers/test/vectors/Test.Vectors.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: FStar.UInt32.t {FStar.UInt32.v x = LowStar.Monotonic.Buffer.length Test.Vectors.Chacha20Poly1305.nonce3}
{ "end_col": 6, "end_line": 141, "start_col": 2, "start_line": 141 }
Prims.Tot
val output5_len:(x: UInt32.t{UInt32.v x = B.length output5})
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "Test.Vectors", "short_module": null }, { "abbrev": false, "full_module": "FSt...
false
let output5_len: (x:UInt32.t { UInt32.v x = B.length output5 }) = 145ul
val output5_len:(x: UInt32.t{UInt32.v x = B.length output5}) let output5_len:(x: UInt32.t{UInt32.v x = B.length output5}) =
false
null
false
145ul
{ "checked_file": "Test.Vectors.Chacha20Poly1305.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.HyperStack.fst.checked" ], ...
[ "total" ]
[ "FStar.UInt32.__uint_to_t" ]
[]
module Test.Vectors.Chacha20Poly1305 module B = LowStar.Buffer #set-options "--max_fuel 0 --max_ifuel 0" let key0: (b: B.buffer UInt8.t { B.length b = 32 /\ B.recallable b }) = [@inline_let] let l = [ 0x1cuy; 0x92uy; 0x40uy; 0xa5uy; 0xebuy; 0x55uy; 0xd3uy; 0x8auy; 0xf3uy; 0x33uy; 0x88uy; 0x86uy; 0x04uy; 0xf6uy; 0x...
false
false
Test.Vectors.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val output5_len:(x: UInt32.t{UInt32.v x = B.length output5})
[]
Test.Vectors.Chacha20Poly1305.output5_len
{ "file_name": "providers/test/vectors/Test.Vectors.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: FStar.UInt32.t {FStar.UInt32.v x = LowStar.Monotonic.Buffer.length Test.Vectors.Chacha20Poly1305.output5}
{ "end_col": 7, "end_line": 245, "start_col": 2, "start_line": 245 }