file_name stringlengths 5 52 | name stringlengths 4 95 | original_source_type stringlengths 0 23k | source_type stringlengths 9 23k | source_definition stringlengths 9 57.9k | source dict | source_range dict | file_context stringlengths 0 721k | dependencies dict | opens_and_abbrevs listlengths 2 94 | vconfig dict | interleaved bool 1
class | verbose_type stringlengths 1 7.42k | effect stringclasses 118
values | effect_flags listlengths 0 2 | mutual_with listlengths 0 11 | ideal_premises listlengths 0 236 | proof_features listlengths 0 1 | is_simple_lemma bool 2
classes | is_div bool 2
classes | is_proof bool 2
classes | is_simply_typed bool 2
classes | is_type bool 2
classes | partial_definition stringlengths 5 3.99k | completed_definiton stringlengths 1 1.63M | isa_cross_project_example bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Steel.ST.Array.fst | Steel.ST.Array.intro_fits_ptrdiff32 | val intro_fits_ptrdiff32 (_:unit)
: STT (squash (UP.fits (FStar.Int.max_int 32)))
emp (fun _ -> emp) | val intro_fits_ptrdiff32 (_:unit)
: STT (squash (UP.fits (FStar.Int.max_int 32)))
emp (fun _ -> emp) | let intro_fits_ptrdiff32 () = H.intro_fits_ptrdiff32 () | {
"file_name": "lib/steel/Steel.ST.Array.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 55,
"end_line": 539,
"start_col": 0,
"start_line": 539
} | (*
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 ... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Reference.fsti.checked",
"Steel.ST.Loops.fsti.checked",
"Steel.ST.HigherArray.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.SizeT.fsti.checked",
"FStar.Seq.fst.che... | [
{
"abbrev": true,
"full_module": "Steel.ST.Reference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "Steel.ST.HigherArray",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "FStar.SizeT",
"short_module": "US"
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Prims.unit -> Steel.ST.Effect.STT (Prims.squash (FStar.PtrdiffT.fits (FStar.Int.max_int 32))) | Steel.ST.Effect.STT | [] | [] | [
"Prims.unit",
"Steel.ST.HigherArray.intro_fits_ptrdiff32",
"Prims.squash",
"FStar.PtrdiffT.fits",
"FStar.Int.max_int"
] | [] | false | true | true | false | false | let intro_fits_ptrdiff32 () =
| H.intro_fits_ptrdiff32 () | false |
Steel.ST.Array.fst | Steel.ST.Array.array_slice | val array_slice (#elt: Type0) (a: array elt) (i j: nat) (sq: squash (i <= j /\ j <= length a))
: Ghost (array elt) (requires True) (ensures (fun a' -> length a' == j - i)) | val array_slice (#elt: Type0) (a: array elt) (i j: nat) (sq: squash (i <= j /\ j <= length a))
: Ghost (array elt) (requires True) (ensures (fun a' -> length a' == j - i)) | let array_slice
(#elt: Type0)
(a: array elt)
(i j: nat)
(sq: squash (i <= j /\ j <= length a))
: Ghost (array elt)
(requires True)
(ensures (fun a' -> length a' == j - i))
= length_fits a;
split_l (split_r a (US.uint_to_t i)) (US.uint_to_t (j - i)) | {
"file_name": "lib/steel/Steel.ST.Array.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 61,
"end_line": 567,
"start_col": 0,
"start_line": 558
} | (*
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 ... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Reference.fsti.checked",
"Steel.ST.Loops.fsti.checked",
"Steel.ST.HigherArray.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.SizeT.fsti.checked",
"FStar.Seq.fst.che... | [
{
"abbrev": true,
"full_module": "Steel.ST.Reference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "Steel.ST.HigherArray",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "FStar.SizeT",
"short_module": "US"
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
a: Steel.ST.Array.array elt ->
i: Prims.nat ->
j: Prims.nat ->
sq: Prims.squash (i <= j /\ j <= Steel.ST.Array.length a)
-> Prims.Ghost (Steel.ST.Array.array elt) | Prims.Ghost | [] | [] | [
"Steel.ST.Array.array",
"Prims.nat",
"Prims.squash",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Steel.ST.Array.length",
"Steel.ST.Array.split_l",
"Steel.ST.Array.split_r",
"FStar.SizeT.uint_to_t",
"FStar.Ghost.hide",
"FStar.SizeT.t",
"Prims.op_Subtraction",
"Prims.unit",
"S... | [] | false | false | false | false | false | let array_slice (#elt: Type0) (a: array elt) (i j: nat) (sq: squash (i <= j /\ j <= length a))
: Ghost (array elt) (requires True) (ensures (fun a' -> length a' == j - i)) =
| length_fits a;
split_l (split_r a (US.uint_to_t i)) (US.uint_to_t (j - i)) | false |
Steel.ST.Reference.fst | Steel.ST.Reference.atomic_write_u32 | val atomic_write_u32 (#opened:_)
(#v:erased U32.t)
(r:ref U32.t)
(x:U32.t)
: STAtomicT unit opened
(pts_to r full_perm v)
(fun _ -> pts_to r full_perm x) | val atomic_write_u32 (#opened:_)
(#v:erased U32.t)
(r:ref U32.t)
(x:U32.t)
: STAtomicT unit opened
(pts_to r full_perm v)
(fun _ -> pts_to r full_perm x) | let atomic_write_u32 r x =
coerce_atomic (fun _ -> R.atomic_write_pt_u32 r x);
return () | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 11,
"end_line": 204,
"start_col": 0,
"start_line": 202
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.ST.Reference.ref FStar.UInt32.t -> x: FStar.UInt32.t
-> Steel.ST.Effect.Atomic.STAtomicT Prims.unit | Steel.ST.Effect.Atomic.STAtomicT | [] | [] | [
"Steel.Memory.inames",
"FStar.Ghost.erased",
"FStar.UInt32.t",
"Steel.ST.Reference.ref",
"Steel.ST.Util.return",
"Prims.unit",
"Steel.ST.Reference.pts_to",
"Steel.FractionalPermission.full_perm",
"Steel.Effect.Common.vprop",
"Steel.ST.Coercions.coerce_atomic",
"Steel.Effect.Common.Observable",
... | [] | false | true | false | false | false | let atomic_write_u32 r x =
| coerce_atomic (fun _ -> R.atomic_write_pt_u32 r x);
return () | false |
Hacl.Spec.K256.Field52.Lemmas1.fst | Hacl.Spec.K256.Field52.Lemmas1.store_felem5_lemma_as_nat | val store_felem5_lemma_as_nat: f:felem5 -> s:felem4 -> Lemma
(requires
(let (f0,f1,f2,f3,f4) = f in
let (s0,s1,s2,s3) = s in
felem_fits5 f (1,1,1,1,1) /\
v s0 == v f0 + v f1 % pow2 12 * pow2 52 /\
v s1 == v f1 / pow2 12 + v f2 % pow2 24 * pow2 40 /\
v s2 == v f2 / pow2 24 + v f3 % pow2 36 * pow... | val store_felem5_lemma_as_nat: f:felem5 -> s:felem4 -> Lemma
(requires
(let (f0,f1,f2,f3,f4) = f in
let (s0,s1,s2,s3) = s in
felem_fits5 f (1,1,1,1,1) /\
v s0 == v f0 + v f1 % pow2 12 * pow2 52 /\
v s1 == v f1 / pow2 12 + v f2 % pow2 24 * pow2 40 /\
v s2 == v f2 / pow2 24 + v f3 % pow2 36 * pow... | let store_felem5_lemma_as_nat f s =
let (f0,f1,f2,f3,f4) = f in
let (s0,s1,s2,s3) = s in
assert (as_nat4 s == v s0 + v s1 * pow2 64 + v s2 * pow2 128 + v s3 * pow2 192);
calc (==) {
v s0 + v s1 * pow2 64 + v s2 * pow2 128 + v s3 * pow2 192;
(==) { }
v f0 + v f1 % pow2 12 * pow2 52 + (v f1 / pow2 12... | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 5,
"end_line": 168,
"start_col": 0,
"start_line": 151
} | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | {
"checked_file": "/",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Per... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | f: Hacl.Spec.K256.Field52.Definitions.felem5 -> s: Hacl.Spec.K256.Field52.Definitions.felem4
-> FStar.Pervasives.Lemma
(requires
(let _ = f in
(let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ f0 f1 f2 f3 f4 = _ in
let _ = s in
(let FStar.Pervasives.Native.Mktuple4 #... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.K256.Field52.Definitions.felem5",
"Hacl.Spec.K256.Field52.Definitions.felem4",
"Lib.IntTypes.uint64",
"FStar.Calc.calc_finish",
"Prims.int",
"Prims.eq2",
"Prims.op_Addition",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"FStar.Mul.op_Star",
"Prims.pow2",
"Prims.Cons",... | [] | false | false | true | false | false | let store_felem5_lemma_as_nat f s =
| let f0, f1, f2, f3, f4 = f in
let s0, s1, s2, s3 = s in
assert (as_nat4 s == v s0 + v s1 * pow2 64 + v s2 * pow2 128 + v s3 * pow2 192);
calc ( == ) {
v s0 + v s1 * pow2 64 + v s2 * pow2 128 + v s3 * pow2 192;
( == ) { () }
v f0 + (v f1 % pow2 12) * pow2 52 + (v f1 / pow2 12 + (v f2 % pow2 24) * pow2 40) * pow2 6... | false |
Steel.ST.Array.fst | Steel.ST.Array.intro_fits_ptrdiff64 | val intro_fits_ptrdiff64 (_:unit)
: STT (squash (UP.fits (FStar.Int.max_int 64)))
emp (fun _ -> emp) | val intro_fits_ptrdiff64 (_:unit)
: STT (squash (UP.fits (FStar.Int.max_int 64)))
emp (fun _ -> emp) | let intro_fits_ptrdiff64 () = H.intro_fits_ptrdiff64 () | {
"file_name": "lib/steel/Steel.ST.Array.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 55,
"end_line": 540,
"start_col": 0,
"start_line": 540
} | (*
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 ... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Reference.fsti.checked",
"Steel.ST.Loops.fsti.checked",
"Steel.ST.HigherArray.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.SizeT.fsti.checked",
"FStar.Seq.fst.che... | [
{
"abbrev": true,
"full_module": "Steel.ST.Reference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "Steel.ST.HigherArray",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "FStar.SizeT",
"short_module": "US"
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Prims.unit -> Steel.ST.Effect.STT (Prims.squash (FStar.PtrdiffT.fits (FStar.Int.max_int 64))) | Steel.ST.Effect.STT | [] | [] | [
"Prims.unit",
"Steel.ST.HigherArray.intro_fits_ptrdiff64",
"Prims.squash",
"FStar.PtrdiffT.fits",
"FStar.Int.max_int"
] | [] | false | true | true | false | false | let intro_fits_ptrdiff64 () =
| H.intro_fits_ptrdiff64 () | false |
Hacl.Test.K256.fst | Hacl.Test.K256.u8 | val u8: n:nat{n < 0x100} -> uint8 | val u8: n:nat{n < 0x100} -> uint8 | let u8 n = u8 n | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 15,
"end_line": 16,
"start_col": 0,
"start_line": 16
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | n: Prims.nat{n < 0x100} -> Lib.IntTypes.uint8 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.u8",
"Lib.IntTypes.uint8"
] | [] | false | false | false | false | false | let u8 n =
| u8 n | false |
Hacl.Test.K256.fst | Hacl.Test.K256.msg1 | val msg1:b: lbuffer uint8 6ul {recallable b} | val msg1:b: lbuffer uint8 6ul {recallable b} | let msg1: b:lbuffer uint8 6ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8 [ 0x31; 0x32; 0x33; 0x34; 0x30; 0x30]) in
assert_norm (List.Tot.length l == 6);
createL_mglobal l | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 37,
"start_col": 0,
"start_line": 32
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(6ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let msg1:b: lbuffer uint8 6ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8 [0x31; 0x32; 0x33; 0x34; 0x30; 0x30])
in
assert_norm (List.Tot.length l == 6);
createL_mglobal l | false |
Steel.ST.Array.fst | Steel.ST.Array.extend_equal_up_to_lemma | val extend_equal_up_to_lemma
(#t: Type0)
(s0 s1: Seq.seq t)
(i: nat{i < Seq.length s0 /\ Seq.length s0 == Seq.length s1})
: Lemma
(requires Seq.equal (Seq.slice s0 0 i) (Seq.slice s1 0 i) /\ Seq.index s0 i == Seq.index s1 i)
(ensures Seq.equal (Seq.slice s0 0 (i + 1)) (Seq.slice s1 0 (... | val extend_equal_up_to_lemma
(#t: Type0)
(s0 s1: Seq.seq t)
(i: nat{i < Seq.length s0 /\ Seq.length s0 == Seq.length s1})
: Lemma
(requires Seq.equal (Seq.slice s0 0 i) (Seq.slice s1 0 i) /\ Seq.index s0 i == Seq.index s1 i)
(ensures Seq.equal (Seq.slice s0 0 (i + 1)) (Seq.slice s1 0 (... | let extend_equal_up_to_lemma (#t:Type0)
(s0:Seq.seq t)
(s1:Seq.seq t)
(i:nat{ i < Seq.length s0 /\ Seq.length s0 == Seq.length s1 })
: Lemma
(requires
Seq.equal (Seq.slice s0 0 i) (Seq.slice s1 0 i) /\
Seq.index s0 ... | {
"file_name": "lib/steel/Steel.ST.Array.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 76,
"end_line": 383,
"start_col": 0,
"start_line": 372
} | (*
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 ... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Reference.fsti.checked",
"Steel.ST.Loops.fsti.checked",
"Steel.ST.HigherArray.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.SizeT.fsti.checked",
"FStar.Seq.fst.che... | [
{
"abbrev": true,
"full_module": "Steel.ST.Reference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "Steel.ST.HigherArray",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "FStar.SizeT",
"short_module": "US"
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
s0: FStar.Seq.Base.seq t ->
s1: FStar.Seq.Base.seq t ->
i:
Prims.nat
{i < FStar.Seq.Base.length s0 /\ FStar.Seq.Base.length s0 == FStar.Seq.Base.length s1}
-> FStar.Pervasives.Lemma
(requires
FStar.Seq.Base.equal (FStar.Seq.Base.slice s0 0 i) (FStar.Seq.Base.slice s1 0 i) /\
... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Seq.Base.seq",
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.Seq.Base.length",
"Prims.eq2",
"Prims._assert",
"Prims.l_Forall",
"Prims.int",
"Prims.op_GreaterThanOrEqual",
"FStar.Seq.Base.slice",
"Prims.l_imp",
"FStar.Seq.Base.index",
"Prims.unit",
"FStar.S... | [] | false | false | true | false | false | let extend_equal_up_to_lemma
(#t: Type0)
(s0 s1: Seq.seq t)
(i: nat{i < Seq.length s0 /\ Seq.length s0 == Seq.length s1})
: Lemma
(requires Seq.equal (Seq.slice s0 0 i) (Seq.slice s1 0 i) /\ Seq.index s0 i == Seq.index s1 i)
(ensures Seq.equal (Seq.slice s0 0 (i + 1)) (Seq.slice s1 0 (... | assert (forall k.
k < i ==>
Seq.index s0 k == Seq.index (Seq.slice s0 0 i) k /\
Seq.index s1 k == Seq.index (Seq.slice s1 0 i) k) | false |
Steel.ST.Array.fst | Steel.ST.Array.array_slice_impl | val array_slice_impl
(#elt: Type0)
(a: array elt)
(i: US.t)
(j: Ghost.erased nat)
(sq: squash (US.v i <= j /\ j <= length a))
: Pure (array elt) (requires True) (ensures (fun a' -> a' == array_slice a (US.v i) j sq)) | val array_slice_impl
(#elt: Type0)
(a: array elt)
(i: US.t)
(j: Ghost.erased nat)
(sq: squash (US.v i <= j /\ j <= length a))
: Pure (array elt) (requires True) (ensures (fun a' -> a' == array_slice a (US.v i) j sq)) | let array_slice_impl
(#elt: Type0)
(a: array elt)
(i: US.t)
(j: Ghost.erased nat)
(sq: squash (US.v i <= j /\ j <= length a))
: Pure (array elt)
(requires True)
(ensures (fun a' -> a' == array_slice a (US.v i) j sq))
= length_fits a;
split_l (split_r a i) (US.uint_to_t (j - US.v i)) | {
"file_name": "lib/steel/Steel.ST.Array.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 51,
"end_line": 669,
"start_col": 0,
"start_line": 659
} | (*
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 ... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Reference.fsti.checked",
"Steel.ST.Loops.fsti.checked",
"Steel.ST.HigherArray.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.SizeT.fsti.checked",
"FStar.Seq.fst.che... | [
{
"abbrev": true,
"full_module": "Steel.ST.Reference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "Steel.ST.HigherArray",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "FStar.SizeT",
"short_module": "US"
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
a: Steel.ST.Array.array elt ->
i: FStar.SizeT.t ->
j: FStar.Ghost.erased Prims.nat ->
sq:
Prims.squash (FStar.SizeT.v i <= FStar.Ghost.reveal j /\
FStar.Ghost.reveal j <= Steel.ST.Array.length a)
-> Prims.Pure (Steel.ST.Array.array elt) | Prims.Pure | [] | [] | [
"Steel.ST.Array.array",
"FStar.SizeT.t",
"FStar.Ghost.erased",
"Prims.nat",
"Prims.squash",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.SizeT.v",
"FStar.Ghost.reveal",
"Steel.ST.Array.length",
"Steel.ST.Array.split_l",
"Steel.ST.Array.split_r",
"FStar.Ghost.hide",
"FSt... | [] | false | false | false | false | false | let array_slice_impl
(#elt: Type0)
(a: array elt)
(i: US.t)
(j: Ghost.erased nat)
(sq: squash (US.v i <= j /\ j <= length a))
: Pure (array elt) (requires True) (ensures (fun a' -> a' == array_slice a (US.v i) j sq)) =
| length_fits a;
split_l (split_r a i) (US.uint_to_t (j - US.v i)) | false |
Hacl.HMAC.Blake2b_256.fst | Hacl.HMAC.Blake2b_256.compute_blake2b_256 | val compute_blake2b_256:compute_st Blake2B | val compute_blake2b_256:compute_st Blake2B | let compute_blake2b_256: compute_st Blake2B =
mk_compute (D.mk_impl Blake2B Hacl.Impl.Blake2.Core.M256)
hash alloca init update_multi update_last finish | {
"file_name": "code/hmac/Hacl.HMAC.Blake2b_256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 61,
"end_line": 24,
"start_col": 0,
"start_line": 22
} | module Hacl.HMAC.Blake2b_256
module B = LowStar.Buffer
module D = Hacl.Hash.Definitions
open Spec.Agile.HMAC
open Spec.Hash.Definitions
open FStar.HyperStack.ST
open Lib.IntTypes
open EverCrypt.Helpers
open Hacl.HMAC
open Hacl.Hash.Blake2b_256
#set-options "--z3rlimit 25 --fuel 0 --ifuel 0"
[@@ Comment "Write the... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.HMAC.fsti.checked",
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Impl.Blake2.Core.fsti.checked",
"Hacl.HMAC.fsti.checked",
"Hacl.Hash.Definitions.fst.che... | [
{
"abbrev": false,
"full_module": "Hacl.Hash.Blake2b_256",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.HMAC",
"short_module": null
},
{
"abbrev": false,
"full_module": "EverCrypt.Helpers",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Hacl.HMAC.compute_st Spec.Hash.Definitions.Blake2B | Prims.Tot | [
"total"
] | [] | [
"Hacl.HMAC.mk_compute",
"Hacl.Hash.Definitions.mk_impl",
"Spec.Hash.Definitions.Blake2B",
"Hacl.Impl.Blake2.Core.M256",
"Hacl.Hash.Blake2b_256.hash",
"Hacl.Hash.Blake2b_256.alloca",
"Hacl.Hash.Blake2b_256.init",
"Hacl.Hash.Blake2b_256.update_multi",
"Hacl.Hash.Blake2b_256.update_last",
"Hacl.Hash.... | [] | false | false | false | true | false | let compute_blake2b_256:compute_st Blake2B =
| mk_compute (D.mk_impl Blake2B Hacl.Impl.Blake2.Core.M256)
hash
alloca
init
update_multi
update_last
finish | false |
Hacl.Test.K256.fst | Hacl.Test.K256.sk2 | val sk2:b: lbuffer uint8 32ul {recallable b} | val sk2:b: lbuffer uint8 32ul {recallable b} | let sk2: b:lbuffer uint8 32ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8 [
0xeb; 0xb2; 0xc0; 0x82; 0xfd; 0x77; 0x27; 0x89; 0x0a; 0x28; 0xac; 0x82; 0xf6; 0xbd; 0xf9; 0x7b;
0xad; 0x8d; 0xe9; 0xf5; 0xd7; 0xc9; 0x02; 0x86; 0x92; 0xde; 0x1a; 0x25; 0x5c; 0xad; 0x3e... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 61,
"start_col": 0,
"start_line": 54
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(32ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let sk2:b: lbuffer uint8 32ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xeb; 0xb2; 0xc0; 0x82; 0xfd; 0x77; 0x27; 0x89; 0x0a; 0x28; 0xac; 0x82; 0xf6; 0xbd; 0xf9;
0x7b; 0xad; 0x8d; 0xe9; 0xf5; 0xd7; 0xc9; 0x02; 0x86; 0x92; 0xde; 0x1a; 0x25; 0x5c; 0xad;
0x3e; 0x0f
])
in
assert... | false |
Hacl.Test.K256.fst | Hacl.Test.K256.nonce2 | val nonce2:b: lbuffer uint8 32ul {recallable b} | val nonce2:b: lbuffer uint8 32ul {recallable b} | let nonce2: b:lbuffer uint8 32ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8 [
0x49; 0xa0; 0xd7; 0xb7; 0x86; 0xec; 0x9c; 0xde; 0x0d; 0x07; 0x21; 0xd7; 0x28; 0x04; 0xbe; 0xfd;
0x06; 0x57; 0x1c; 0x97; 0x4b; 0x19; 0x1e; 0xfb; 0x42; 0xec; 0xf3; 0x22; 0xba; 0x9d; 0... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 83,
"start_col": 0,
"start_line": 76
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(32ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let nonce2:b: lbuffer uint8 32ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x49; 0xa0; 0xd7; 0xb7; 0x86; 0xec; 0x9c; 0xde; 0x0d; 0x07; 0x21; 0xd7; 0x28; 0x04; 0xbe;
0xfd; 0x06; 0x57; 0x1c; 0x97; 0x4b; 0x19; 0x1e; 0xfb; 0x42; 0xec; 0xf3; 0x22; 0xba; 0x9d;
0xdd; 0x9a
])
in
assert... | false |
Hacl.Test.K256.fst | Hacl.Test.K256.msgHash2 | val msgHash2:b: lbuffer uint8 32ul {recallable b} | val msgHash2:b: lbuffer uint8 32ul {recallable b} | let msgHash2: b:lbuffer uint8 32ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8 [
0x4b; 0x68; 0x8d; 0xf4; 0x0b; 0xce; 0xdb; 0xe6; 0x41; 0xdd; 0xb1; 0x6f; 0xf0; 0xa1; 0x84; 0x2d;
0x9c; 0x67; 0xea; 0x1c; 0x3b; 0xf6; 0x3f; 0x3e; 0x04; 0x71; 0xba; 0xa6; 0x64; 0x53;... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 93,
"start_col": 0,
"start_line": 86
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(32ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let msgHash2:b: lbuffer uint8 32ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x4b; 0x68; 0x8d; 0xf4; 0x0b; 0xce; 0xdb; 0xe6; 0x41; 0xdd; 0xb1; 0x6f; 0xf0; 0xa1; 0x84;
0x2d; 0x9c; 0x67; 0xea; 0x1c; 0x3b; 0xf6; 0x3f; 0x3e; 0x04; 0x71; 0xba; 0xa6; 0x64; 0x53;
0x1d; 0x1a
])
in
assert... | false |
Steel.ST.Array.fst | Steel.ST.Array.pts_to_length | val pts_to_length
(#opened: _)
(#elt: Type0)
(#p: P.perm)
(a: array elt)
(s: Seq.seq elt)
: STGhost unit opened
(pts_to a p s)
(fun _ -> pts_to a p s)
(True)
(fun _ -> Seq.length s == length a) | val pts_to_length
(#opened: _)
(#elt: Type0)
(#p: P.perm)
(a: array elt)
(s: Seq.seq elt)
: STGhost unit opened
(pts_to a p s)
(fun _ -> pts_to a p s)
(True)
(fun _ -> Seq.length s == length a) | let pts_to_length a s =
H.pts_to_length a _ | {
"file_name": "lib/steel/Steel.ST.Array.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 21,
"end_line": 100,
"start_col": 0,
"start_line": 99
} | (*
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 ... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Reference.fsti.checked",
"Steel.ST.Loops.fsti.checked",
"Steel.ST.HigherArray.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.SizeT.fsti.checked",
"FStar.Seq.fst.che... | [
{
"abbrev": true,
"full_module": "Steel.ST.HigherArray",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "FStar.SizeT",
"short_module": "US"
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": ... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Steel.ST.Array.array elt -> s: FStar.Seq.Base.seq elt -> Steel.ST.Effect.Ghost.STGhost Prims.unit | Steel.ST.Effect.Ghost.STGhost | [] | [] | [
"Steel.Memory.inames",
"Steel.FractionalPermission.perm",
"Steel.ST.Array.array",
"FStar.Seq.Base.seq",
"Steel.ST.HigherArray.pts_to_length",
"Steel.ST.Array.raise_t",
"Steel.ST.Array.seq_map",
"Steel.ST.Array.raise",
"Prims.unit"
] | [] | false | true | false | false | false | let pts_to_length a s =
| H.pts_to_length a _ | false |
Hacl.Test.K256.fst | Hacl.Test.K256.pk1 | val pk1:b: lbuffer uint8 64ul {recallable b} | val pk1:b: lbuffer uint8 64ul {recallable b} | let pk1: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8 [
0xb8; 0x38; 0xff; 0x44; 0xe5; 0xbc; 0x17; 0x7b; 0xf2; 0x11; 0x89; 0xd0; 0x76; 0x60; 0x82; 0xfc;
0x9d; 0x84; 0x32; 0x26; 0x88; 0x7f; 0xc9; 0x76; 0x03; 0x71; 0x10; 0x0b; 0x7e; 0xe2; 0x0a... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 29,
"start_col": 0,
"start_line": 20
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1 | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(64ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let pk1:b: lbuffer uint8 64ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xb8; 0x38; 0xff; 0x44; 0xe5; 0xbc; 0x17; 0x7b; 0xf2; 0x11; 0x89; 0xd0; 0x76; 0x60; 0x82;
0xfc; 0x9d; 0x84; 0x32; 0x26; 0x88; 0x7f; 0xc9; 0x76; 0x03; 0x71; 0x10; 0x0b; 0x7e; 0xe2;
0x0a; 0x6f; 0xf0; 0xc9; 0xd7; 0... | false |
Steel.ST.Reference.fst | Steel.ST.Reference.pts_to_not_null | val pts_to_not_null (#a:Type)
(#opened:inames)
(#p:perm)
(#v:a)
(r:ref a)
: STGhost unit opened
(pts_to r p v)
(fun _ -> pts_to r p v)
(requires True)
(ensures fun _ -> r =!= null) | val pts_to_not_null (#a:Type)
(#opened:inames)
(#p:perm)
(#v:a)
(r:ref a)
: STGhost unit opened
(pts_to r p v)
(fun _ -> pts_to r p v)
(requires True)
(ensures fun _ -> r =!= null) | let pts_to_not_null #a #opened #p #v r
= extract_fact #opened (pts_to r p v) (r =!= null) (R.pts_to_not_null r p v);
() | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 6,
"end_line": 58,
"start_col": 0,
"start_line": 56
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.ST.Reference.ref a -> Steel.ST.Effect.Ghost.STGhost Prims.unit | Steel.ST.Effect.Ghost.STGhost | [] | [] | [
"Steel.Memory.inames",
"Steel.FractionalPermission.perm",
"Steel.ST.Reference.ref",
"Prims.unit",
"Steel.ST.Effect.Ghost.extract_fact",
"Steel.ST.Reference.pts_to",
"Prims.l_not",
"Prims.eq2",
"Steel.ST.Reference.null",
"Steel.Reference.pts_to_not_null"
] | [] | false | true | false | false | false | let pts_to_not_null #a #opened #p #v r =
| extract_fact #opened (pts_to r p v) (r =!= null) (R.pts_to_not_null r p v);
() | false |
Hacl.Test.K256.fst | Hacl.Test.K256.test_verify_hashed | val test_verify_hashed:
msgHash:lbuffer uint8 32ul
-> pk:lbuffer uint8 64ul
-> sgnt:lbuffer uint8 64ul
-> Stack unit
(requires fun h -> live h msgHash /\ live h pk /\ live h sgnt)
(ensures fun h0 r h1 -> modifies0 h0 h1) | val test_verify_hashed:
msgHash:lbuffer uint8 32ul
-> pk:lbuffer uint8 64ul
-> sgnt:lbuffer uint8 64ul
-> Stack unit
(requires fun h -> live h msgHash /\ live h pk /\ live h sgnt)
(ensures fun h0 r h1 -> modifies0 h0 h1) | let test_verify_hashed msgHash pk sgnt =
let b = K256.ecdsa_verify_hashed_msg msgHash pk sgnt in
C.String.print (C.String.of_literal "\n Test K256 ecdsa verification: ");
if b then C.String.print (C.String.of_literal "Success!\n")
else (C.String.print (C.String.of_literal "Failure :(\n"); C.exit 255l) | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 73,
"end_line": 157,
"start_col": 0,
"start_line": 152
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
msgHash: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
pk: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul ->
sgnt: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul
-> FStar.HyperStack.ST.Stack Prims.unit | FStar.HyperStack.ST.Stack | [] | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"C.String.print",
"C.String.of_literal",
"Prims.unit",
"Prims.bool",
"C.exit",
"FStar.Int32.__int_to_t",
"Hacl.K256.ECDSA.ecdsa_verify_hashed_msg"
] | [] | false | true | false | false | false | let test_verify_hashed msgHash pk sgnt =
| let b = K256.ecdsa_verify_hashed_msg msgHash pk sgnt in
C.String.print (C.String.of_literal "\n Test K256 ecdsa verification: ");
if b
then C.String.print (C.String.of_literal "Success!\n")
else
(C.String.print (C.String.of_literal "Failure :(\n");
C.exit 255l) | false |
Hacl.Test.K256.fst | Hacl.Test.K256.pk2 | val pk2:b: lbuffer uint8 64ul {recallable b} | val pk2:b: lbuffer uint8 64ul {recallable b} | let pk2: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8 [
0x77; 0x9d; 0xd1; 0x97; 0xa5; 0xdf; 0x97; 0x7e; 0xd2; 0xcf; 0x6c; 0xb3; 0x1d; 0x82; 0xd4; 0x33;
0x28; 0xb7; 0x90; 0xdc; 0x6b; 0x3b; 0x7d; 0x44; 0x37; 0xa4; 0x27; 0xbd; 0x58; 0x47; 0xdf... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 73,
"start_col": 0,
"start_line": 64
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(64ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let pk2:b: lbuffer uint8 64ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x77; 0x9d; 0xd1; 0x97; 0xa5; 0xdf; 0x97; 0x7e; 0xd2; 0xcf; 0x6c; 0xb3; 0x1d; 0x82; 0xd4;
0x33; 0x28; 0xb7; 0x90; 0xdc; 0x6b; 0x3b; 0x7d; 0x44; 0x37; 0xa4; 0x27; 0xbd; 0x58; 0x47;
0xdf; 0xcd; 0xe9; 0x4b; 0x72; 0... | false |
Hacl.Test.K256.fst | Hacl.Test.K256.test_verify_sha256 | val test_verify_sha256:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> pk:lbuffer uint8 64ul
-> sgnt:lbuffer uint8 64ul
-> Stack unit
(requires fun h -> live h msg /\ live h pk /\ live h sgnt)
(ensures fun h0 r h1 -> modifies0 h0 h1) | val test_verify_sha256:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> pk:lbuffer uint8 64ul
-> sgnt:lbuffer uint8 64ul
-> Stack unit
(requires fun h -> live h msg /\ live h pk /\ live h sgnt)
(ensures fun h0 r h1 -> modifies0 h0 h1) | let test_verify_sha256 msg_len msg pk sgnt =
let b = K256.ecdsa_verify_sha256 msg_len msg pk sgnt in
C.String.print (C.String.of_literal "\n Test K256 ecdsa verification: ");
if b then C.String.print (C.String.of_literal "Success!\n")
else (C.String.print (C.String.of_literal "Failure :(\n"); C.exit 255l) | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 73,
"end_line": 141,
"start_col": 0,
"start_line": 136
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
msg_len: Lib.IntTypes.size_t ->
msg: Lib.Buffer.lbuffer Lib.IntTypes.uint8 msg_len ->
pk: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul ->
sgnt: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul
-> FStar.HyperStack.ST.Stack Prims.unit | FStar.HyperStack.ST.Stack | [] | [] | [
"Lib.IntTypes.size_t",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"C.String.print",
"C.String.of_literal",
"Prims.unit",
"Prims.bool",
"C.exit",
"FStar.Int32.__int_to_t",
"Hacl.K256.ECDSA.ecdsa_verify_sha256"
] | [] | false | true | false | false | false | let test_verify_sha256 msg_len msg pk sgnt =
| let b = K256.ecdsa_verify_sha256 msg_len msg pk sgnt in
C.String.print (C.String.of_literal "\n Test K256 ecdsa verification: ");
if b
then C.String.print (C.String.of_literal "Success!\n")
else
(C.String.print (C.String.of_literal "Failure :(\n");
C.exit 255l) | false |
Steel.ST.Reference.fst | Steel.ST.Reference._push_frame | val _push_frame: Prims.unit -> STT unit emp (fun _ -> _stack_frame) | val _push_frame: Prims.unit -> STT unit emp (fun _ -> _stack_frame) | let _push_frame () : STT unit emp (fun _ -> _stack_frame) =
rewrite (pure True) _stack_frame | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 34,
"end_line": 109,
"start_col": 0,
"start_line": 108
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Prims.unit -> Steel.ST.Effect.STT Prims.unit | Steel.ST.Effect.STT | [] | [] | [
"Prims.unit",
"Steel.ST.Util.rewrite",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.ST.Util.pure",
"Prims.l_True",
"Steel.ST.Reference._stack_frame",
"Steel.Effect.Common.emp",
"Steel.Effect.Common.vprop"
] | [] | false | true | false | false | false | let _push_frame () : STT unit emp (fun _ -> _stack_frame) =
| rewrite (pure True) _stack_frame | false |
Hacl.Test.K256.fst | Hacl.Test.K256.sgnt1 | val sgnt1:b: lbuffer uint8 64ul {recallable b} | val sgnt1:b: lbuffer uint8 64ul {recallable b} | let sgnt1: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8 [
0x81; 0x3e; 0xf7; 0x9c; 0xce; 0xfa; 0x9a; 0x56; 0xf7; 0xba; 0x80; 0x5f; 0x0e; 0x47; 0x85; 0x84;
0xfe; 0x5f; 0x0d; 0xd5; 0xf5; 0x67; 0xbc; 0x09; 0xb5; 0x12; 0x3c; 0xcb; 0xc9; 0x83; 0x... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 49,
"start_col": 0,
"start_line": 40
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(64ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let sgnt1:b: lbuffer uint8 64ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x81; 0x3e; 0xf7; 0x9c; 0xce; 0xfa; 0x9a; 0x56; 0xf7; 0xba; 0x80; 0x5f; 0x0e; 0x47; 0x85;
0x84; 0xfe; 0x5f; 0x0d; 0xd5; 0xf5; 0x67; 0xbc; 0x09; 0xb5; 0x12; 0x3c; 0xcb; 0xc9; 0x83;
0x23; 0x65; 0x6f; 0xf1; 0x8a; 0... | false |
Hacl.Test.K256.fst | Hacl.Test.K256.sgnt2 | val sgnt2:b: lbuffer uint8 64ul {recallable b} | val sgnt2:b: lbuffer uint8 64ul {recallable b} | let sgnt2: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8 [
0x24; 0x10; 0x97; 0xef; 0xbf; 0x8b; 0x63; 0xbf; 0x14; 0x5c; 0x89; 0x61; 0xdb; 0xdf; 0x10; 0xc3;
0x10; 0xef; 0xbb; 0x3b; 0x26; 0x76; 0xbb; 0xc0; 0xf8; 0xb0; 0x85; 0x05; 0xc9; 0xe2; 0x... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 105,
"start_col": 0,
"start_line": 96
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(64ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let sgnt2:b: lbuffer uint8 64ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x24; 0x10; 0x97; 0xef; 0xbf; 0x8b; 0x63; 0xbf; 0x14; 0x5c; 0x89; 0x61; 0xdb; 0xdf; 0x10;
0xc3; 0x10; 0xef; 0xbb; 0x3b; 0x26; 0x76; 0xbb; 0xc0; 0xf8; 0xb0; 0x85; 0x05; 0xc9; 0xe2;
0xf7; 0x95; 0x02; 0x10; 0x06; 0... | false |
Hacl.Spec.K256.Field52.Lemmas1.fst | Hacl.Spec.K256.Field52.Lemmas1.mul15_lemma | val mul15_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma
(requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536))
(ensures (let r = mul15 f c in
as_nat5 r == v c * as_nat5 f /\ felem_fits5 r (m1 ** mk_nat5 m2))) | val mul15_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma
(requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536))
(ensures (let r = mul15 f c in
as_nat5 r == v c * as_nat5 f /\ felem_fits5 r (m1 ** mk_nat5 m2))) | let mul15_lemma m1 m2 f c =
let (f0,f1,f2,f3,f4) = f in
let (mf0,mf1,mf2,mf3,mf4) = m1 in
let (r0,r1,r2,r3,r4) = mul15 f c in
mul15_fits_lemma m1 m2 f c;
assert (felem_fits5 (r0,r1,r2,r3,r4) (m1 ** mk_nat5 m2));
calc (==) { //as_nat5 (r0,r1,r2,r3,r4);
v r0 + v r1 * pow52 + v r2 * pow104 + v r3 * pow156... | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 328,
"start_col": 0,
"start_line": 306
} | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | {
"checked_file": "/",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Per... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m1: Hacl.Spec.K256.Field52.Definitions.scale64_5 ->
m2: Prims.nat ->
f: Hacl.Spec.K256.Field52.Definitions.felem5 ->
c: Lib.IntTypes.uint64
-> FStar.Pervasives.Lemma
(requires
Hacl.Spec.K256.Field52.Definitions.felem_fits5 f m1 /\ Lib.IntTypes.v c <= m2 /\
m1 ** Hacl.Spec.K256.F... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.K256.Field52.Definitions.scale64_5",
"Prims.nat",
"Hacl.Spec.K256.Field52.Definitions.felem5",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.eq2",
"Prims.int",
"Hacl.Spec.K256.Field52.Definitions.as_nat5",
"FStar.Pervasives.Native.Mktuple5",
"FStar.Mul.op_Star",
"Lib.IntTypes.v",
"... | [] | false | false | true | false | false | let mul15_lemma m1 m2 f c =
| let f0, f1, f2, f3, f4 = f in
let mf0, mf1, mf2, mf3, mf4 = m1 in
let r0, r1, r2, r3, r4 = mul15 f c in
mul15_fits_lemma m1 m2 f c;
assert (felem_fits5 (r0, r1, r2, r3, r4) (m1 ** mk_nat5 m2));
calc ( == ) {
v r0 + v r1 * pow52 + v r2 * pow104 + v r3 * pow156 + v r4 * pow208;
( == ) { mul15_lemma1 mf0 m2 f0 c }
v... | false |
Hacl.Test.K256.fst | Hacl.Test.K256.test_sign_and_verify_hashed | val test_sign_and_verify_hashed:
msgHash:lbuffer uint8 32ul
-> sk:lbuffer uint8 32ul
-> nonce:lbuffer uint8 32ul
-> pk:lbuffer uint8 64ul
-> expected_sgnt:lbuffer uint8 64ul
-> Stack unit
(requires fun h ->
live h msgHash /\ live h sk /\ live h nonce /\
live h pk /\ live h expected_sgnt)
... | val test_sign_and_verify_hashed:
msgHash:lbuffer uint8 32ul
-> sk:lbuffer uint8 32ul
-> nonce:lbuffer uint8 32ul
-> pk:lbuffer uint8 64ul
-> expected_sgnt:lbuffer uint8 64ul
-> Stack unit
(requires fun h ->
live h msgHash /\ live h sk /\ live h nonce /\
live h pk /\ live h expected_sgnt)
... | let test_sign_and_verify_hashed msgHash sk nonce pk expected_sgnt =
test_verify_hashed msgHash pk expected_sgnt;
test_sign_hashed msgHash sk nonce expected_sgnt | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 49,
"end_line": 194,
"start_col": 0,
"start_line": 192
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
msgHash: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
sk: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
nonce: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
pk: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul ->
expected_sgnt: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul
-> FStar.HyperStack.ST.Stack Pr... | FStar.HyperStack.ST.Stack | [] | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"Hacl.Test.K256.test_sign_hashed",
"Prims.unit",
"Hacl.Test.K256.test_verify_hashed"
] | [] | false | true | false | false | false | let test_sign_and_verify_hashed msgHash sk nonce pk expected_sgnt =
| test_verify_hashed msgHash pk expected_sgnt;
test_sign_hashed msgHash sk nonce expected_sgnt | false |
OWGCounter.ST.fst | OWGCounter.ST.acquire | val acquire
(r: R.ref int)
(r_mine r_other: GR.ref int)
(b: G.erased bool)
(l: lock (lock_inv r (if b then r_mine else r_other) (if b then r_other else r_mine)))
: STT unit emp (fun _ -> lock_inv r r_mine r_other) | val acquire
(r: R.ref int)
(r_mine r_other: GR.ref int)
(b: G.erased bool)
(l: lock (lock_inv r (if b then r_mine else r_other) (if b then r_other else r_mine)))
: STT unit emp (fun _ -> lock_inv r r_mine r_other) | let acquire (r:R.ref int) (r_mine r_other:GR.ref int) (b:G.erased bool)
(l:lock (lock_inv r (if b then r_mine else r_other)
(if b then r_other else r_mine)))
: STT unit
emp
(fun _ -> lock_inv r r_mine r_other)
= acquire l;
if b returns STGhostT unit
... | {
"file_name": "share/steel/examples/steel/OWGCounter.ST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 7,
"end_line": 117,
"start_col": 0,
"start_line": 86
} | (*
Copyright 2019 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.SpinLock.fsti.checked",
"Steel.ST.Reference.fsti.checked",
"Steel.ST.GhostReference.fsti.checked",
"Steel.ST.Effect.Atomic.fsti.checked",
"Steel.ST.Effect.fsti.checked",
"Steel.Memory.fsti.checked",
"Ste... | [
{
"abbrev": true,
"full_module": "Steel.ST.GhostReference",
"short_module": "GR"
},
{
"abbrev": true,
"full_module": "Steel.ST.Reference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
r: Steel.ST.Reference.ref Prims.int ->
r_mine: Steel.ST.GhostReference.ref Prims.int ->
r_other: Steel.ST.GhostReference.ref Prims.int ->
b: FStar.Ghost.erased Prims.bool ->
l:
Steel.ST.SpinLock.lock (OWGCounter.ST.lock_inv r
(match FStar.Ghost.reveal b with
| true -... | Steel.ST.Effect.STT | [] | [] | [
"Steel.ST.Reference.ref",
"Prims.int",
"Steel.ST.GhostReference.ref",
"FStar.Ghost.erased",
"Prims.bool",
"Steel.ST.SpinLock.lock",
"OWGCounter.ST.lock_inv",
"FStar.Ghost.reveal",
"Prims.unit",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.ST.Util.exi... | [] | false | true | false | false | false | let acquire
(r: R.ref int)
(r_mine r_other: GR.ref int)
(b: G.erased bool)
(l: lock (lock_inv r (if b then r_mine else r_other) (if b then r_other else r_mine)))
: STT unit emp (fun _ -> lock_inv r r_mine r_other) =
| acquire l;
if b
returns STGhostT unit Set.empty _ (fun _ -> lock_inv r r_mine r_other)
then rewrite (lock_inv _ _ _) (lock_inv r r_mine r_other)
else
(rewrite (lock_inv _ _ _) (lock_inv r r_other r_mine);
let w = elim_exists () in
rewrite (((GR.pts_to r_other _ _) `star` (GR.pts_to r_mine _ _)) `star` (R.pts... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_3_7_11_body | val va_code_Loop_rounds_3_7_11_body : i:nat -> msg:va_operand_vec_opr -> Tot va_code | val va_code_Loop_rounds_3_7_11_body : i:nat -> msg:va_operand_vec_opr -> Tot va_code | let va_code_Loop_rounds_3_7_11_body i msg =
(va_Block (va_CCons (va_code_Load128_byte16_buffer (va_op_heaplet_mem_heaplet 0) msg
(va_op_reg_opr_reg 4) Secret) (va_CCons (va_code_AddImm (va_op_reg_opr_reg 4)
(va_op_reg_opr_reg 4) 16) (va_CNil ())))) | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 45,
"end_line": 33,
"start_col": 0,
"start_line": 30
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> msg: Vale.PPC64LE.Decls.va_operand_vec_opr -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.PPC64LE.InsVector.va_code_Load128_byte16_buffer",
"Vale.PPC64LE.Decls.va_op_heaplet_mem_heaplet",
"Vale.PPC64LE.Decls.va_op_reg_opr_reg",
"Vale.Arch.HeapTypes_s.Secret",
"Vale.PP... | [] | false | false | false | true | false | let va_code_Loop_rounds_3_7_11_body i msg =
| (va_Block (va_CCons (va_code_Load128_byte16_buffer (va_op_heaplet_mem_heaplet 0)
msg
(va_op_reg_opr_reg 4)
Secret)
(va_CCons (va_code_AddImm (va_op_reg_opr_reg 4) (va_op_reg_opr_reg 4) 16) (va_CNil ())))) | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_3_7_11_body | val va_qcode_Loop_rounds_3_7_11_body
(va_mods: va_mods_t)
(i: nat)
(msg: vec_opr)
(in_b: buffer128)
(offset: nat)
: (va_quickCode unit (va_code_Loop_rounds_3_7_11_body i msg)) | val va_qcode_Loop_rounds_3_7_11_body
(va_mods: va_mods_t)
(i: nat)
(msg: vec_opr)
(in_b: buffer128)
(offset: nat)
: (va_quickCode unit (va_code_Loop_rounds_3_7_11_body i msg)) | let va_qcode_Loop_rounds_3_7_11_body (va_mods:va_mods_t) (i:nat) (msg:vec_opr) (in_b:buffer128)
(offset:nat) : (va_quickCode unit (va_code_Loop_rounds_3_7_11_body i msg)) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 79 column 2... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 88,
"end_line": 49,
"start_col": 0,
"start_line": 42
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_mods: Vale.PPC64LE.QuickCode.va_mods_t ->
i: Prims.nat ->
msg: Vale.PPC64LE.Decls.vec_opr ->
in_b: Vale.PPC64LE.Memory.buffer128 ->
offset: Prims.nat
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_3_7_11_body i msg) | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Prims.nat",
"Vale.PPC64LE.Decls.vec_opr",
"Vale.PPC64LE.Memory.buffer128",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.InsVector.va_code_Load128_byte16_buffer",
"Vale.PPC64LE.Decls.va_op_heaplet_mem_... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_3_7_11_body
(va_mods: va_mods_t)
(i: nat)
(msg: vec_opr)
(in_b: buffer128)
(offset: nat)
: (va_quickCode unit (va_code_Loop_rounds_3_7_11_body i msg)) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 79 column 26 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_quic... | false |
Steel.ST.Reference.fst | Steel.ST.Reference.share | val share (#a:Type0)
(#uses:_)
(#p:perm)
(#v:erased a)
(r:ref a)
: STGhostT unit uses
(pts_to r p v)
(fun _ -> pts_to r (half_perm p) v `star` pts_to r (half_perm p) v) | val share (#a:Type0)
(#uses:_)
(#p:perm)
(#v:erased a)
(r:ref a)
: STGhostT unit uses
(pts_to r p v)
(fun _ -> pts_to r (half_perm p) v `star` pts_to r (half_perm p) v) | let share (#a:Type0)
(#uses:_)
(#p:perm)
(#v:erased a)
(r:ref a)
: STGhostT unit uses
(pts_to r p v)
(fun _ -> pts_to r (half_perm p) v `star` pts_to r (half_perm p) v)
= coerce_ghost (fun _ -> R.share_pt r) | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 40,
"end_line": 184,
"start_col": 0,
"start_line": 176
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.ST.Reference.ref a -> Steel.ST.Effect.Ghost.STGhostT Prims.unit | Steel.ST.Effect.Ghost.STGhostT | [] | [] | [
"Steel.Memory.inames",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.ST.Reference.ref",
"Steel.ST.Coercions.coerce_ghost",
"Prims.unit",
"Steel.Reference.pts_to",
"FStar.Ghost.reveal",
"Steel.Effect.Common.star",
"Steel.FractionalPermission.half_perm",
"Steel.Effect.Common.vpro... | [] | false | true | false | false | false | let share (#a: Type0) (#uses: _) (#p: perm) (#v: erased a) (r: ref a)
: STGhostT unit
uses
(pts_to r p v)
(fun _ -> (pts_to r (half_perm p) v) `star` (pts_to r (half_perm p) v)) =
| coerce_ghost (fun _ -> R.share_pt r) | false |
Hacl.Test.K256.fst | Hacl.Test.K256.main | val main: unit -> St C.exit_code | val main: unit -> St C.exit_code | let main () =
C.String.print (C.String.of_literal "\nTEST 1. K256\n");
recall msg1;
recall pk1;
recall sgnt1;
test_verify_sha256 6ul msg1 pk1 sgnt1;
C.String.print (C.String.of_literal "\nTEST 2. K256\n");
recall msgHash2;
recall sk2;
recall nonce2;
recall pk2;
recall sgnt2;
test_sign_and_verif... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 260,
"start_col": 0,
"start_line": 236
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Prims.unit -> FStar.HyperStack.ST.St C.exit_code | FStar.HyperStack.ST.St | [] | [] | [
"Prims.unit",
"C.EXIT_SUCCESS",
"C.exit_code",
"Hacl.Test.K256.test_secret_to_public",
"Hacl.Test.K256.sk2",
"Hacl.Test.K256.pk2",
"C.String.print",
"C.String.of_literal",
"Hacl.Test.K256.test_public_key_uncompressed",
"Hacl.Test.K256.pk1",
"Hacl.Test.K256.test_public_key_compressed",
"Hacl.Te... | [] | false | true | false | false | false | let main () =
| C.String.print (C.String.of_literal "\nTEST 1. K256\n");
recall msg1;
recall pk1;
recall sgnt1;
test_verify_sha256 6ul msg1 pk1 sgnt1;
C.String.print (C.String.of_literal "\nTEST 2. K256\n");
recall msgHash2;
recall sk2;
recall nonce2;
recall pk2;
recall sgnt2;
test_sign_and_verify_hashed msgHash2 sk2 nonce2 pk2 sgnt2;... | false |
Vale.AES.X64.AESGCM.fst | Vale.AES.X64.AESGCM.va_lemma_Loop6x_loop_while0 | val va_lemma_Loop6x_loop_while0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_count:nat -> va_in_ctr_BE_orig:quad32 -> va_in_h_LE:quad32 ->
va_in_hkeys_b:buffer128 -> va_in_in0_b:buffer128 -> va_in_in_b:buffer128 -> va_in_iv_b:buffer128
-> va_in_key_words:(seq nat32) -> va_in_keys... | val va_lemma_Loop6x_loop_while0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_count:nat -> va_in_ctr_BE_orig:quad32 -> va_in_h_LE:quad32 ->
va_in_hkeys_b:buffer128 -> va_in_in0_b:buffer128 -> va_in_in_b:buffer128 -> va_in_iv_b:buffer128
-> va_in_key_words:(seq nat32) -> va_in_keys... | let va_lemma_Loop6x_loop_while0 va_b0 va_s0 va_old alg va_in_count va_in_ctr_BE_orig va_in_h_LE
va_in_hkeys_b va_in_in0_b va_in_in_b va_in_iv_b va_in_key_words va_in_keys_b va_in_out_b
va_in_plain_quads va_in_round_keys va_in_scratch_b va_in_y_orig va_in_ctr va_in_iter va_in_y_cur =
let va_old = va_expand_state v... | {
"file_name": "obj/Vale.AES.X64.AESGCM.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 34,
"end_line": 4340,
"start_col": 0,
"start_line": 4141
} | module Vale.AES.X64.AESGCM
open FStar.Mul
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
op... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.InsMem.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.GHash",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_count: Prims.nat ->
va_in_ctr_BE_orig: Vale.X64.Decls.quad32 ->
va_in_h_LE: Vale.X64.Decls.quad32 ->
va_in_hkeys_b: Vale.X64.Memory.buffer1... | Prims.Ghost | [] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Prims.nat",
"Vale.X64.Decls.quad32",
"Vale.X64.Memory.buffer128",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.QuickCodes.fuel",
"FStar.Pervasives.Native.tuple3",
"FStar.Pervasives.Native.Mktuple... | [] | false | false | false | false | false | let va_lemma_Loop6x_loop_while0
va_b0
va_s0
va_old
alg
va_in_count
va_in_ctr_BE_orig
va_in_h_LE
va_in_hkeys_b
va_in_in0_b
va_in_in_b
va_in_iv_b
va_in_key_words
va_in_keys_b
va_in_out_b
va_in_plain_quads
va_in_round_keys
... | let va_old = va_expand_state va_old in
let va_mods:va_mods_t =
[
va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3;
va_Mod_xmm 2; va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 11;
va_Mod_xmm 10; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg6... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_3_7_11_body | val va_codegen_success_Loop_rounds_3_7_11_body : i:nat -> msg:va_operand_vec_opr -> Tot va_pbool | val va_codegen_success_Loop_rounds_3_7_11_body : i:nat -> msg:va_operand_vec_opr -> Tot va_pbool | let va_codegen_success_Loop_rounds_3_7_11_body i msg =
(va_pbool_and (va_codegen_success_Load128_byte16_buffer (va_op_heaplet_mem_heaplet 0) msg
(va_op_reg_opr_reg 4) Secret) (va_pbool_and (va_codegen_success_AddImm (va_op_reg_opr_reg 4)
(va_op_reg_opr_reg 4) 16) (va_ttrue ()))) | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 45,
"end_line": 39,
"start_col": 0,
"start_line": 36
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> msg: Vale.PPC64LE.Decls.va_operand_vec_opr -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.PPC64LE.InsVector.va_codegen_success_Load128_byte16_buffer",
"Vale.PPC64LE.Decls.va_op_heaplet_mem_heaplet",
"Vale.PPC64LE.Decls.va_op_reg_opr_reg",
"Vale.Arch.HeapTypes_s.Secret",
"Vale.PPC64LE.InsBasic.va_... | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_3_7_11_body i msg =
| (va_pbool_and (va_codegen_success_Load128_byte16_buffer (va_op_heaplet_mem_heaplet 0)
msg
(va_op_reg_opr_reg 4)
Secret)
(va_pbool_and (va_codegen_success_AddImm (va_op_reg_opr_reg 4) (va_op_reg_opr_reg 4) 16)
(va_ttrue ()))) | false |
Hacl.Test.K256.fst | Hacl.Test.K256.test_secret_to_public | val test_secret_to_public:
sk:lbuffer uint8 32ul
-> pk:lbuffer uint8 64ul
-> Stack unit
(requires fun h -> live h sk /\ live h pk)
(ensures fun h0 _ h1 -> modifies0 h0 h1) | val test_secret_to_public:
sk:lbuffer uint8 32ul
-> pk:lbuffer uint8 64ul
-> Stack unit
(requires fun h -> live h sk /\ live h pk)
(ensures fun h0 _ h1 -> modifies0 h0 h1) | let test_secret_to_public sk pk =
push_frame ();
let pk_comp = create 64ul (u8 0) in
let b = K256.secret_to_public pk_comp sk in
C.String.print (C.String.of_literal "\n Test K256 secret_to_public: ");
let is_eq = result_compare_display 64ul (to_const pk) (to_const pk_comp) in
if (is_eq && b) then C.String.... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 14,
"end_line": 124,
"start_col": 0,
"start_line": 115
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | sk: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> pk: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul
-> FStar.HyperStack.ST.Stack Prims.unit | FStar.HyperStack.ST.Stack | [] | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Prims.op_AmpAmp",
"C.String.print",
"C.String.of_literal",
"Prims.bool",
"C.exit",
"FStar.Int32.__int_to_t",
"Lib.PrintBuffer.result_compare_display",
"Lib.Buffer.to_const"... | [] | false | true | false | false | false | let test_secret_to_public sk pk =
| push_frame ();
let pk_comp = create 64ul (u8 0) in
let b = K256.secret_to_public pk_comp sk in
C.String.print (C.String.of_literal "\n Test K256 secret_to_public: ");
let is_eq = result_compare_display 64ul (to_const pk) (to_const pk_comp) in
if (is_eq && b)
then C.String.print (C.String.of_literal "Success!\n")
else
... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body | val va_code_Loop_rounds_1_15_shift_body : i:nat -> msg0:va_operand_vec_opr ->
msg1:va_operand_vec_opr -> Tot va_code | val va_code_Loop_rounds_1_15_shift_body : i:nat -> msg0:va_operand_vec_opr ->
msg1:va_operand_vec_opr -> Tot va_code | let va_code_Loop_rounds_1_15_shift_body i msg0 msg1 =
(va_Block (va_CCons (if (i `op_Modulus` 4 = 1) then va_Block (va_CCons (va_code_Vsldoi msg0 msg1
msg1 4) (va_CNil ())) else va_Block (va_CCons (if (i `op_Modulus` 4 = 2) then va_Block
(va_CCons (va_code_Vsldoi msg0 msg1 msg1 8) (va_CNil ())) else va_Block ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 76,
"end_line": 92,
"start_col": 0,
"start_line": 87
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr
-> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"Vale.PPC64LE.InsVector.va_code_Vsldoi",
"Vale.PPC64LE.Decls.va_CNil",
"Prims.bool",
"Vale.PPC64LE.Decls.va_code"
] | [] | false | false | false | true | false | let va_code_Loop_rounds_1_15_shift_body i msg0 msg1 =
| (va_Block (va_CCons (if (i `op_Modulus` 4 = 1)
then va_Block (va_CCons (va_code_Vsldoi msg0 msg1 msg1 4) (va_CNil ()))
else
va_Block (va_CCons (if (i `op_Modulus` 4 = 2)
then va_Block (va_CCons (va_code_Vsldoi msg0 msg1 msg1 8) (va_CNil ()))
else
... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_1_15_shift_body | val va_codegen_success_Loop_rounds_1_15_shift_body : i:nat -> msg0:va_operand_vec_opr ->
msg1:va_operand_vec_opr -> Tot va_pbool | val va_codegen_success_Loop_rounds_1_15_shift_body : i:nat -> msg0:va_operand_vec_opr ->
msg1:va_operand_vec_opr -> Tot va_pbool | let va_codegen_success_Loop_rounds_1_15_shift_body i msg0 msg1 =
(va_pbool_and (if (i `op_Modulus` 4 = 1) then va_pbool_and (va_codegen_success_Vsldoi msg0 msg1
msg1 4) (va_ttrue ()) else va_pbool_and (if (i `op_Modulus` 4 = 2) then va_pbool_and
(va_codegen_success_Vsldoi msg0 msg1 msg1 8) (va_ttrue ()) else ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 70,
"end_line": 102,
"start_col": 0,
"start_line": 97
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr
-> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Decls.va_pbool_and",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"Vale.PPC64LE.InsVector.va_codegen_success_Vsldoi",
"Vale.PPC64LE.Decls.va_ttrue",
"Prims.bool",
"Vale.PPC64LE.Decls.va_pbool"
] | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_1_15_shift_body i msg0 msg1 =
| (va_pbool_and (if (i `op_Modulus` 4 = 1)
then va_pbool_and (va_codegen_success_Vsldoi msg0 msg1 msg1 4) (va_ttrue ())
else
va_pbool_and (if (i `op_Modulus` 4 = 2)
then va_pbool_and (va_codegen_success_Vsldoi msg0 msg1 msg1 8) (va_ttrue ())
else
va_pbool_and (if ... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_1_15_shift_body | val va_qcode_Loop_rounds_1_15_shift_body
(va_mods: va_mods_t)
(i: nat)
(msg0 msg1: vec_opr)
(block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) | val va_qcode_Loop_rounds_1_15_shift_body
(va_mods: va_mods_t)
(i: nat)
(msg0 msg1: vec_opr)
(block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) | let va_qcode_Loop_rounds_1_15_shift_body (va_mods:va_mods_t) (i:nat) (msg0:vec_opr) (msg1:vec_opr)
(block:block_w) : (va_quickCode unit (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QBind va_range1
"***** PRECONDITION NOT MET AT... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 69,
"end_line": 126,
"start_col": 0,
"start_line": 105
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_mods: Vale.PPC64LE.QuickCode.va_mods_t ->
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.vec_opr ->
msg1: Vale.PPC64LE.Decls.vec_opr ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_bod... | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Prims.nat",
"Vale.PPC64LE.Decls.vec_opr",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.QuickCodes.if_code",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modu... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_1_15_shift_body
(va_mods: va_mods_t)
(i: nat)
(msg0 msg1: vec_opr)
(block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QBind va_range1
"***** PRECONDITION NOT MET AT line 100 column 15 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qI... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_16_63_body | val va_codegen_success_Loop_rounds_16_63_body : i:nat -> msg0:va_operand_vec_opr ->
msg1:va_operand_vec_opr -> msg2:va_operand_vec_opr -> msg3:va_operand_vec_opr -> Tot va_pbool | val va_codegen_success_Loop_rounds_16_63_body : i:nat -> msg0:va_operand_vec_opr ->
msg1:va_operand_vec_opr -> msg2:va_operand_vec_opr -> msg3:va_operand_vec_opr -> Tot va_pbool | let va_codegen_success_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 =
(va_pbool_and (va_pbool_and (va_codegen_success_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1)
(va_codegen_success_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1)) (va_pbool_and (va_pbool_and
(va_codegen_success_Vadduwm msg0 msg0 (va_op_vec_opr_vec ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 219,
"start_col": 0,
"start_line": 210
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg2: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg3: Vale.PPC64LE.Decls.va_operand_vec_opr
-> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.PPC64LE.InsVector.va_codegen_success_SHA256_sigma0",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.InsVector.va_codegen_success_Vadduwm",
"Vale.PPC64LE.InsVector.va_codegen_success_SHA256_sigma1",
"V... | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 =
| (va_pbool_and (va_pbool_and (va_codegen_success_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1)
(va_codegen_success_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1))
(va_pbool_and (va_pbool_and (va_codegen_success_Vadduwm msg0 msg0 (va_op_vec_opr_vec 25))
(va_codegen_success_Vadduwm msg0 msg0 (va_op_vec_op... | false |
Steel.ST.Reference.fst | Steel.ST.Reference.atomic_read_u32 | val atomic_read_u32 (#opened:_)
(#p:perm)
(#v:erased U32.t)
(r:ref U32.t)
: STAtomic U32.t opened
(pts_to r p v)
(fun x -> pts_to r p v)
(requires True)
(ensures fun x -> x == Ghost.reveal v) | val atomic_read_u32 (#opened:_)
(#p:perm)
(#v:erased U32.t)
(r:ref U32.t)
: STAtomic U32.t opened
(pts_to r p v)
(fun x -> pts_to r p v)
(requires True)
(ensures fun x -> x == Ghost.reveal v) | let atomic_read_u32 r =
let u = coerce_atomic (fun _ -> R.atomic_read_pt_u32 r) in
return u | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 10,
"end_line": 200,
"start_col": 0,
"start_line": 198
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.ST.Reference.ref FStar.UInt32.t -> Steel.ST.Effect.Atomic.STAtomic FStar.UInt32.t | Steel.ST.Effect.Atomic.STAtomic | [] | [] | [
"Steel.Memory.inames",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"FStar.UInt32.t",
"Steel.ST.Reference.ref",
"Steel.ST.Util.return",
"Steel.ST.Reference.pts_to",
"FStar.Ghost.reveal",
"Steel.Effect.Common.vprop",
"Steel.ST.Coercions.coerce_atomic",
"Steel.Effect.Common.Observable"... | [] | false | true | false | false | false | let atomic_read_u32 r =
| let u = coerce_atomic (fun _ -> R.atomic_read_pt_u32 r) in
return u | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_16_63_body | val va_code_Loop_rounds_16_63_body : i:nat -> msg0:va_operand_vec_opr -> msg1:va_operand_vec_opr ->
msg2:va_operand_vec_opr -> msg3:va_operand_vec_opr -> Tot va_code | val va_code_Loop_rounds_16_63_body : i:nat -> msg0:va_operand_vec_opr -> msg1:va_operand_vec_opr ->
msg2:va_operand_vec_opr -> msg3:va_operand_vec_opr -> Tot va_code | let va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 =
(va_Block (va_CCons (va_code_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1) (va_CCons
(va_code_Vadduwm msg0 msg0 (va_op_vec_opr_vec 25)) (va_CCons (va_code_SHA256_sigma1
(va_op_vec_opr_vec 26) msg3) (va_CCons (va_code_Vadduwm msg0 msg0 (va_op_vec_opr_vec ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 207,
"start_col": 0,
"start_line": 203
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg2: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg3: Vale.PPC64LE.Decls.va_operand_vec_opr
-> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.PPC64LE.InsVector.va_code_SHA256_sigma0",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.InsVector.va_code_Vadduwm",
"Vale.PPC64LE.InsVector.va_code_SHA256_sigma1",
"Vale.... | [] | false | false | false | true | false | let va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 =
| (va_Block (va_CCons (va_code_SHA256_sigma0 (va_op_vec_opr_vec 25) msg1)
(va_CCons (va_code_Vadduwm msg0 msg0 (va_op_vec_opr_vec 25))
(va_CCons (va_code_SHA256_sigma1 (va_op_vec_opr_vec 26) msg3)
(va_CCons (va_code_Vadduwm msg0 msg0 (va_op_vec_opr_vec 26))
(va_CCon... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body | val va_code_Loop_rounds_0_63_body : i:nat -> msg:va_operand_vec_opr -> a_vec:va_operand_vec_opr ->
b_vec:va_operand_vec_opr -> c_vec:va_operand_vec_opr -> d_vec:va_operand_vec_opr ->
e_vec:va_operand_vec_opr -> f_vec:va_operand_vec_opr -> g_vec:va_operand_vec_opr ->
h_vec:va_operand_vec_opr -> Tot va_code | val va_code_Loop_rounds_0_63_body : i:nat -> msg:va_operand_vec_opr -> a_vec:va_operand_vec_opr ->
b_vec:va_operand_vec_opr -> c_vec:va_operand_vec_opr -> d_vec:va_operand_vec_opr ->
e_vec:va_operand_vec_opr -> f_vec:va_operand_vec_opr -> g_vec:va_operand_vec_opr ->
h_vec:va_operand_vec_opr -> Tot va_code | let va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec =
(va_Block (va_CCons (va_code_Vadduwm h_vec h_vec msg) (va_CCons (va_code_Vsel (va_op_vec_opr_vec
25) g_vec f_vec e_vec) (va_CCons (if op_disEquality i 63 then va_Block (va_CCons
(va_code_Vadduwm g_vec g_vec (va_op_vec_op... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 80,
"end_line": 297,
"start_col": 0,
"start_line": 286
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg: Vale.PPC64LE.Decls.va_operand_vec_opr ->
a_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
b_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
c_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
d_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
e_vec: Vale.PPC64LE.Decls.va_operand_... | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.PPC64LE.InsVector.va_code_Vadduwm",
"Vale.PPC64LE.InsVector.va_code_Vsel",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Prims.op_disEquality",
"Prims.int",
"Vale.PPC64LE.Decls.va_C... | [] | false | false | false | true | false | let va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec =
| (va_Block (va_CCons (va_code_Vadduwm h_vec h_vec msg)
(va_CCons (va_code_Vsel (va_op_vec_opr_vec 25) g_vec f_vec e_vec)
(va_CCons (if op_disEquality i 63
then
va_Block (va_CCons (va_code_Vadduwm g_vec g_vec (va_op_vec_opr_vec 24))
(va_C... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_63_body | val va_codegen_success_Loop_rounds_0_63_body : i:nat -> msg:va_operand_vec_opr ->
a_vec:va_operand_vec_opr -> b_vec:va_operand_vec_opr -> c_vec:va_operand_vec_opr ->
d_vec:va_operand_vec_opr -> e_vec:va_operand_vec_opr -> f_vec:va_operand_vec_opr ->
g_vec:va_operand_vec_opr -> h_vec:va_operand_vec_opr -> Tot va_p... | val va_codegen_success_Loop_rounds_0_63_body : i:nat -> msg:va_operand_vec_opr ->
a_vec:va_operand_vec_opr -> b_vec:va_operand_vec_opr -> c_vec:va_operand_vec_opr ->
d_vec:va_operand_vec_opr -> e_vec:va_operand_vec_opr -> f_vec:va_operand_vec_opr ->
g_vec:va_operand_vec_opr -> h_vec:va_operand_vec_opr -> Tot va_p... | let va_codegen_success_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec =
(va_pbool_and (va_codegen_success_Vadduwm h_vec h_vec msg) (va_pbool_and (va_codegen_success_Vsel
(va_op_vec_opr_vec 25) g_vec f_vec e_vec) (va_pbool_and (if op_disEquality i 63 then
va_pbool_and (va_codegen_s... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 92,
"end_line": 317,
"start_col": 0,
"start_line": 304
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg: Vale.PPC64LE.Decls.va_operand_vec_opr ->
a_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
b_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
c_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
d_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
e_vec: Vale.PPC64LE.Decls.va_operand_... | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.PPC64LE.InsVector.va_codegen_success_Vadduwm",
"Vale.PPC64LE.InsVector.va_codegen_success_Vsel",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Prims.op_disEquality",
"Prims.int",
"Vale.PPC64LE.Decls.va_ttrue",
... | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec =
| (va_pbool_and (va_codegen_success_Vadduwm h_vec h_vec msg)
(va_pbool_and (va_codegen_success_Vsel (va_op_vec_opr_vec 25) g_vec f_vec e_vec)
(va_pbool_and (if op_disEquality i 63
then
va_pbool_and (va_codegen_success_Vadduwm g_vec g_vec (va_op_vec_opr_vec 24))
... | false |
Steel.ST.Reference.fst | Steel.ST.Reference.pts_to_injective_eq | val pts_to_injective_eq (#a: Type)
(#opened:inames)
(#p0 #p1:perm)
(#v0 #v1: a)
(r: ref a)
: STGhost unit opened
(pts_to r p0 v0 `star` pts_to r p1 v1)
(fun _ -> pts_to r p0 v0 `star` pts_to r p1 v0)
(req... | val pts_to_injective_eq (#a: Type)
(#opened:inames)
(#p0 #p1:perm)
(#v0 #v1: a)
(r: ref a)
: STGhost unit opened
(pts_to r p0 v0 `star` pts_to r p1 v1)
(fun _ -> pts_to r p0 v0 `star` pts_to r p1 v0)
(req... | let pts_to_injective_eq
(#a: Type)
(#opened:inames)
(#p0 #p1:perm)
(#v0 #v1:a)
(r: ref a)
: STGhost unit opened
(pts_to r p0 v0 `star` pts_to r p1 v1)
(fun _ -> pts_to r p0 v0 `star` pts_to r p1 v0)
(requires True)
(ensures fun _ -> v0 == v1)
= coerce_ghost
... | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 79,
"end_line": 54,
"start_col": 0,
"start_line": 42
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.ST.Reference.ref a -> Steel.ST.Effect.Ghost.STGhost Prims.unit | Steel.ST.Effect.Ghost.STGhost | [] | [] | [
"Steel.Memory.inames",
"Steel.FractionalPermission.perm",
"Steel.ST.Reference.ref",
"Steel.ST.Coercions.coerce_ghost",
"Prims.unit",
"Steel.Effect.Common.star",
"Steel.Reference.pts_to",
"FStar.Ghost.reveal",
"FStar.Ghost.hide",
"Steel.Effect.Common.vprop",
"Prims.l_True",
"Prims.eq2",
"FSta... | [] | false | true | false | false | false | let pts_to_injective_eq (#a: Type) (#opened: inames) (#p0 #p1: perm) (#v0 #v1: a) (r: ref a)
: STGhost unit
opened
((pts_to r p0 v0) `star` (pts_to r p1 v1))
(fun _ -> (pts_to r p0 v0) `star` (pts_to r p1 v0))
(requires True)
(ensures fun _ -> v0 == v1) =
| coerce_ghost (fun _ -> R.pts_to_injective_eq #a #opened #p0 #p1 #(hide v0) #(hide v1) r) | false |
Hacl.Test.K256.fst | Hacl.Test.K256.test_public_key_uncompressed | val test_public_key_uncompressed: pk:lbuffer uint8 64ul -> Stack unit
(requires fun h -> live h pk)
(ensures fun h0 _ h1 -> modifies0 h0 h1) | val test_public_key_uncompressed: pk:lbuffer uint8 64ul -> Stack unit
(requires fun h -> live h pk)
(ensures fun h0 _ h1 -> modifies0 h0 h1) | let test_public_key_uncompressed pk =
push_frame ();
let pk_u = create 65ul (u8 0) in
let pk_raw_u = create 64ul (u8 0) in
K256.public_key_uncompressed_from_raw pk_u pk;
let b = K256.public_key_uncompressed_to_raw pk_raw_u pk_u in
C.String.print (C.String.of_literal "\n Test K256 pk_uncompressed:\n");
i... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 14,
"end_line": 232,
"start_col": 0,
"start_line": 220
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | pk: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul -> FStar.HyperStack.ST.Stack Prims.unit | FStar.HyperStack.ST.Stack | [] | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"C.exit",
"FStar.Int32.__int_to_t",
"Prims.bool",
"Prims.op_Negation",
"Lib.PrintBuffer.result_compare_display",
"Lib.Buffer.to_const",
"Lib.Buffer.MUT",
"C.String.print",
... | [] | false | true | false | false | false | let test_public_key_uncompressed pk =
| push_frame ();
let pk_u = create 65ul (u8 0) in
let pk_raw_u = create 64ul (u8 0) in
K256.public_key_uncompressed_from_raw pk_u pk;
let b = K256.public_key_uncompressed_to_raw pk_raw_u pk_u in
C.String.print (C.String.of_literal "\n Test K256 pk_uncompressed:\n");
if b
then (if not (result_compare_display 64ul (to_cons... | false |
Hacl.Test.K256.fst | Hacl.Test.K256.test_sign_hashed | val test_sign_hashed:
msgHash:lbuffer uint8 32ul
-> sk:lbuffer uint8 32ul
-> nonce:lbuffer uint8 32ul
-> expected_sgnt:lbuffer uint8 64ul
-> Stack unit
(requires fun h ->
live h msgHash /\ live h sk /\ live h nonce /\ live h expected_sgnt)
(ensures fun h0 r h1 -> modifies0 h0 h1) | val test_sign_hashed:
msgHash:lbuffer uint8 32ul
-> sk:lbuffer uint8 32ul
-> nonce:lbuffer uint8 32ul
-> expected_sgnt:lbuffer uint8 64ul
-> Stack unit
(requires fun h ->
live h msgHash /\ live h sk /\ live h nonce /\ live h expected_sgnt)
(ensures fun h0 r h1 -> modifies0 h0 h1) | let test_sign_hashed msgHash sk nonce expected_sgnt =
push_frame ();
let sgnt = create 64ul (u8 0) in
let _ = K256.ecdsa_sign_hashed_msg sgnt msgHash sk nonce in
C.String.print (C.String.of_literal "\n Test K256 ecdsa signing:\n");
if not (result_compare_display 64ul (to_const sgnt) (to_const expected_sgnt))... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 14,
"end_line": 177,
"start_col": 0,
"start_line": 170
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
msgHash: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
sk: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
nonce: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
expected_sgnt: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul
-> FStar.HyperStack.ST.Stack Prims.unit | FStar.HyperStack.ST.Stack | [] | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"C.exit",
"FStar.Int32.__int_to_t",
"Prims.bool",
"Prims.op_Negation",
"Lib.PrintBuffer.result_compare_display",
"Lib.Buffer.to_const",
"Lib.Buffer.MUT",
"C.String.print",
... | [] | false | true | false | false | false | let test_sign_hashed msgHash sk nonce expected_sgnt =
| push_frame ();
let sgnt = create 64ul (u8 0) in
let _ = K256.ecdsa_sign_hashed_msg sgnt msgHash sk nonce in
C.String.print (C.String.of_literal "\n Test K256 ecdsa signing:\n");
if not (result_compare_display 64ul (to_const sgnt) (to_const expected_sgnt)) then C.exit 255l;
pop_frame () | false |
Hacl.Test.K256.fst | Hacl.Test.K256.test_public_key_compressed | val test_public_key_compressed: pk:lbuffer uint8 64ul -> Stack unit
(requires fun h -> live h pk)
(ensures fun h0 _ h1 -> modifies0 h0 h1) | val test_public_key_compressed: pk:lbuffer uint8 64ul -> Stack unit
(requires fun h -> live h pk)
(ensures fun h0 _ h1 -> modifies0 h0 h1) | let test_public_key_compressed pk =
push_frame ();
let pk_c = create 33ul (u8 0) in
let pk_raw_c = create 64ul (u8 0) in
K256.public_key_compressed_from_raw pk_c pk;
let b = K256.public_key_compressed_to_raw pk_raw_c pk_c in
C.String.print (C.String.of_literal "\n Test K256 pk_compressed:\n");
if b
th... | {
"file_name": "code/tests/Hacl.Test.K256.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 14,
"end_line": 213,
"start_col": 0,
"start_line": 201
} | module Hacl.Test.K256
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
module K256 = Hacl.K256.ECDSA
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
val u8: n:nat{n < 0x100} -> uint8
let u8 n = u8 n
/// Test1
let pk1: b:lbuffer uin... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.K256.ECDSA.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.List... | [
{
"abbrev": true,
"full_module": "Hacl.K256.ECDSA",
"short_module": "K256"
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | pk: Lib.Buffer.lbuffer Lib.IntTypes.uint8 64ul -> FStar.HyperStack.ST.Stack Prims.unit | FStar.HyperStack.ST.Stack | [] | [] | [
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"C.exit",
"FStar.Int32.__int_to_t",
"Prims.bool",
"Prims.op_Negation",
"Lib.PrintBuffer.result_compare_display",
"Lib.Buffer.to_const",
"Lib.Buffer.MUT",
"C.String.print",
... | [] | false | true | false | false | false | let test_public_key_compressed pk =
| push_frame ();
let pk_c = create 33ul (u8 0) in
let pk_raw_c = create 64ul (u8 0) in
K256.public_key_compressed_from_raw pk_c pk;
let b = K256.public_key_compressed_to_raw pk_raw_c pk_c in
C.String.print (C.String.of_literal "\n Test K256 pk_compressed:\n");
if b
then (if not (result_compare_display 64ul (to_const pk) ... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_round_0_61_body | val va_code_Loop_round_0_61_body : i:nat -> Tot va_code | val va_code_Loop_round_0_61_body : i:nat -> Tot va_code | let va_code_Loop_round_0_61_body i =
(va_Block (va_CCons (if (i `op_Modulus` 4 = 2) then va_Block (va_CCons
(va_code_Load128_word4_buffer (va_op_heaplet_mem_heaplet 0) (va_op_vec_opr_vec 24)
(va_op_reg_opr_reg 6) Secret) (va_CCons (va_code_AddImm (va_op_reg_opr_reg 6)
(va_op_reg_opr_reg 6) 16) (va_CNil ()... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 9,
"end_line": 775,
"start_col": 0,
"start_line": 769
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"Vale.PPC64LE.InsVector.va_code_Load128_word4_buffer",
"Vale.PPC64LE.Decls.va_op_heaplet_mem_heaplet",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_op_... | [] | false | false | false | true | false | let va_code_Loop_round_0_61_body i =
| (va_Block (va_CCons (if (i `op_Modulus` 4 = 2)
then
va_Block (va_CCons (va_code_Load128_word4_buffer (va_op_heaplet_mem_heaplet 0)
(va_op_vec_opr_vec 24)
(va_op_reg_opr_reg 6)
Secret)
(va_CCons (va_code_AddImm (va_... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_round_0_61_body | val va_codegen_success_Loop_round_0_61_body : i:nat -> Tot va_pbool | val va_codegen_success_Loop_round_0_61_body : i:nat -> Tot va_pbool | let va_codegen_success_Loop_round_0_61_body i =
(va_pbool_and (if (i `op_Modulus` 4 = 2) then va_pbool_and
(va_codegen_success_Load128_word4_buffer (va_op_heaplet_mem_heaplet 0) (va_op_vec_opr_vec 24)
(va_op_reg_opr_reg 6) Secret) (va_pbool_and (va_codegen_success_AddImm (va_op_reg_opr_reg 6)
(va_op_reg_o... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 18,
"end_line": 785,
"start_col": 0,
"start_line": 779
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_pbool_and",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"Vale.PPC64LE.InsVector.va_codegen_success_Load128_word4_buffer",
"Vale.PPC64LE.Decls.va_op_heaplet_mem_heaplet",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_op_reg_opr_reg",
"V... | [] | false | false | false | true | false | let va_codegen_success_Loop_round_0_61_body i =
| (va_pbool_and (if (i `op_Modulus` 4 = 2)
then
va_pbool_and (va_codegen_success_Load128_word4_buffer (va_op_heaplet_mem_heaplet 0)
(va_op_vec_opr_vec 24)
(va_op_reg_opr_reg 6)
Secret)
(va_pbool_and (va_codegen_success_AddImm (va_op_reg_opr_reg 6) (va_op_r... | false |
Vale.AES.X64.AESGCM.fst | Vale.AES.X64.AESGCM.va_lemma_Loop6x_loop_body0 | val va_lemma_Loop6x_loop_body0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_count:nat -> va_in_ctr_BE_orig:quad32 -> va_in_h_LE:quad32 ->
va_in_hkeys_b:buffer128 -> va_in_in0_b:buffer128 -> va_in_in_b:buffer128 -> va_in_iv_b:buffer128
-> va_in_key_words:(seq nat32) -> va_in_keys_... | val va_lemma_Loop6x_loop_body0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state ->
alg:algorithm -> va_in_count:nat -> va_in_ctr_BE_orig:quad32 -> va_in_h_LE:quad32 ->
va_in_hkeys_b:buffer128 -> va_in_in0_b:buffer128 -> va_in_in_b:buffer128 -> va_in_iv_b:buffer128
-> va_in_key_words:(seq nat32) -> va_in_keys_... | let va_lemma_Loop6x_loop_body0 va_b0 va_s0 va_old alg va_in_count va_in_ctr_BE_orig va_in_h_LE
va_in_hkeys_b va_in_in0_b va_in_in_b va_in_iv_b va_in_key_words va_in_keys_b va_in_out_b
va_in_plain_quads va_in_round_keys va_in_scratch_b va_in_y_orig va_in_ctr va_in_iter va_in_y_cur =
let va_old = va_expand_state va... | {
"file_name": "obj/Vale.AES.X64.AESGCM.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 34,
"end_line": 3547,
"start_col": 0,
"start_line": 3348
} | module Vale.AES.X64.AESGCM
open FStar.Mul
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
op... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.InsMem.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.GHash",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
va_old: Vale.X64.Decls.va_state ->
alg: Vale.AES.AES_common_s.algorithm ->
va_in_count: Prims.nat ->
va_in_ctr_BE_orig: Vale.X64.Decls.quad32 ->
va_in_h_LE: Vale.X64.Decls.quad32 ->
va_in_hkeys_b: Vale.X64.Memory.buffer1... | Prims.Ghost | [] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.AES.AES_common_s.algorithm",
"Prims.nat",
"Vale.X64.Decls.quad32",
"Vale.X64.Memory.buffer128",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.QuickCodes.fuel",
"FStar.Pervasives.Native.tuple3",
"FStar.Pervasives.Native.Mktuple... | [] | false | false | false | false | false | let va_lemma_Loop6x_loop_body0
va_b0
va_s0
va_old
alg
va_in_count
va_in_ctr_BE_orig
va_in_h_LE
va_in_hkeys_b
va_in_in0_b
va_in_in_b
va_in_iv_b
va_in_key_words
va_in_keys_b
va_in_out_b
va_in_plain_quads
va_in_round_keys
... | let va_old = va_expand_state va_old in
let va_mods:va_mods_t =
[
va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3;
va_Mod_xmm 2; va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 11;
va_Mod_xmm 10; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg6... | false |
Steel.ST.Reference.fst | Steel.ST.Reference.free | val free (#a:Type0)
(#v:erased a)
(r:ref a)
: STT unit
(pts_to r full_perm v) (fun _ -> emp) | val free (#a:Type0)
(#v:erased a)
(r:ref a)
: STT unit
(pts_to r full_perm v) (fun _ -> emp) | let free (#a:Type0)
(#v:erased a)
(r:ref a)
: STT unit
(pts_to r full_perm v)
(fun _ -> emp)
= coerce_steel(fun _ -> R.free_pt r);
return () | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 13,
"end_line": 102,
"start_col": 0,
"start_line": 95
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.ST.Reference.ref a -> Steel.ST.Effect.STT Prims.unit | Steel.ST.Effect.STT | [] | [] | [
"FStar.Ghost.erased",
"Steel.ST.Reference.ref",
"Steel.ST.Util.return",
"Prims.unit",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit",
"Steel.Effect.Common.vprop",
"Steel.Effect.Common.req",
"Steel.Effect.Com... | [] | false | true | false | false | false | let free (#a: Type0) (#v: erased a) (r: ref a) : STT unit (pts_to r full_perm v) (fun _ -> emp) =
| coerce_steel (fun _ -> R.free_pt r);
return () | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_round_0_61_body | val va_qcode_Loop_round_0_61_body (va_mods: va_mods_t) (i: nat) (k_b: buffer128)
: (va_quickCode unit (va_code_Loop_round_0_61_body i)) | val va_qcode_Loop_round_0_61_body (va_mods: va_mods_t) (i: nat) (k_b: buffer128)
: (va_quickCode unit (va_code_Loop_round_0_61_body i)) | let va_qcode_Loop_round_0_61_body (va_mods:va_mods_t) (i:nat) (k_b:buffer128) : (va_quickCode unit
(va_code_Loop_round_0_61_body i)) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QBind va_range1
"***** PRECONDITION NOT MET AT line 276 column 15 of file /home/gebner/fstar_dataset... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 70,
"end_line": 802,
"start_col": 0,
"start_line": 788
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_mods: Vale.PPC64LE.QuickCode.va_mods_t -> i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_round_0_61_body i) | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Prims.nat",
"Vale.PPC64LE.Memory.buffer128",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.QuickCodes.if_code",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"Vale.PPC64LE.QuickCodes.block"... | [] | false | false | false | false | false | let va_qcode_Loop_round_0_61_body (va_mods: va_mods_t) (i: nat) (k_b: buffer128)
: (va_quickCode unit (va_code_Loop_round_0_61_body i)) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QBind va_range1
"***** PRECONDITION NOT MET AT line 276 column 15 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qI... | false |
Steel.ST.Array.fst | Steel.ST.Array.pts_to_range_intro | val pts_to_range_intro
(#opened: _)
(#elt: Type0) (a: array elt)
(p: P.perm)
(s: Seq.seq elt)
: STGhostT unit opened
(pts_to a p s)
(fun _ -> pts_to_range a 0 (length a) p s) | val pts_to_range_intro
(#opened: _)
(#elt: Type0) (a: array elt)
(p: P.perm)
(s: Seq.seq elt)
: STGhostT unit opened
(pts_to a p s)
(fun _ -> pts_to_range a 0 (length a) p s) | let pts_to_range_intro
a p s
= ptr_shift_zero (ptr_of a);
pts_to_range_intro' a 0 (length a) p a s | {
"file_name": "lib/steel/Steel.ST.Array.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 42,
"end_line": 627,
"start_col": 0,
"start_line": 624
} | (*
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 ... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Reference.fsti.checked",
"Steel.ST.Loops.fsti.checked",
"Steel.ST.HigherArray.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.SizeT.fsti.checked",
"FStar.Seq.fst.che... | [
{
"abbrev": true,
"full_module": "Steel.ST.Reference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "Steel.ST.HigherArray",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "FStar.SizeT",
"short_module": "US"
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Steel.ST.Array.array elt -> p: Steel.FractionalPermission.perm -> s: FStar.Seq.Base.seq elt
-> Steel.ST.Effect.Ghost.STGhostT Prims.unit | Steel.ST.Effect.Ghost.STGhostT | [] | [] | [
"Steel.Memory.inames",
"Steel.ST.Array.array",
"Steel.FractionalPermission.perm",
"FStar.Seq.Base.seq",
"Steel.ST.Array.pts_to_range_intro'",
"Steel.ST.Array.length",
"Prims.unit",
"Steel.ST.Array.ptr_shift_zero",
"Steel.ST.Array.ptr_of"
] | [] | false | true | false | false | false | let pts_to_range_intro a p s =
| ptr_shift_zero (ptr_of a);
pts_to_range_intro' a 0 (length a) p a s | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_round_0_61_body | val va_wp_Loop_round_0_61_body
(i: nat)
(k_b: buffer128)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Loop_round_0_61_body
(i: nat)
(k_b: buffer128)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Loop_round_0_61_body (i:nat) (k_b:buffer128) (va_s0:va_state) (va_k:(va_state -> unit ->
Type0)) : Type0 =
(va_get_ok va_s0 /\ (l_and (0 <= i) (i < 62) /\ (let ks = Vale.PPC64LE.Decls.buffer128_read k_b
((i + 2) `op_Division` 4) (va_get_mem_heaplet 0 va_s0) in (i `op_Modulus` 4 == 0 ==>
(va_get_ve... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 21,
"end_line": 908,
"start_col": 0,
"start_line": 876
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
k_b: Vale.PPC64LE.Memory.buffer128 ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Memory.buffer128",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.PPC64LE.Decls.va_get_ok",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.l_imp",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Vale.Def.Types_s.nat32",
"... | [] | false | false | false | true | true | let va_wp_Loop_round_0_61_body
(i: nat)
(k_b: buffer128)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(l_and (0 <= i) (i < 62) /\
(let ks =
Vale.PPC64LE.Decls.buffer128_read k_b ((i + 2) `op_Division` 4) (va_get_mem_heaplet 0 va_s0)
in
(i `op_Modulus` 4 == 0 ==>
(va_get_vec 24 va_s0).hi3 == Vale.Def.Words_s.__proj__Mkfour__item__lo1 ks /\
(va_get_vec 24 va_s... | false |
Steel.ST.Reference.fst | Steel.ST.Reference.write | val write (#a:Type0)
(#v:erased a)
(r:ref a)
(x:a)
: STT unit
(pts_to r full_perm v)
(fun _ -> pts_to r full_perm x) | val write (#a:Type0)
(#v:erased a)
(r:ref a)
(x:a)
: STT unit
(pts_to r full_perm v)
(fun _ -> pts_to r full_perm x) | let write (#a:Type0)
(#v:erased a)
(r:ref a)
(x:a)
: STT unit
(pts_to r full_perm v)
(fun _ -> pts_to r full_perm x)
= coerce_steel (fun _ -> R.write_pt r x);
return () | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 13,
"end_line": 93,
"start_col": 0,
"start_line": 85
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.ST.Reference.ref a -> x: a -> Steel.ST.Effect.STT Prims.unit | Steel.ST.Effect.STT | [] | [] | [
"FStar.Ghost.erased",
"Steel.ST.Reference.ref",
"Steel.ST.Util.return",
"Prims.unit",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.ST.Reference.pts_to",
"Steel.FractionalPermission.full_perm",
"Steel.Effect.Common.vprop",
"Steel.ST.Coercions.coerce_steel... | [] | false | true | false | false | false | let write (#a: Type0) (#v: erased a) (r: ref a) (x: a)
: STT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x) =
| coerce_steel (fun _ -> R.write_pt r x);
return () | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_wpProof_Loop_rounds_3_7_11_body | val va_wpProof_Loop_rounds_3_7_11_body : i:nat -> msg:va_operand_vec_opr -> in_b:buffer128 ->
offset:nat -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_rounds_3_7_11_body i msg in_b offset va_s0 va_k))
(ensures (fun (va_sM, ... | val va_wpProof_Loop_rounds_3_7_11_body : i:nat -> msg:va_operand_vec_opr -> in_b:buffer128 ->
offset:nat -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_rounds_3_7_11_body i msg in_b offset va_s0 va_k))
(ensures (fun (va_sM, ... | let va_wpProof_Loop_rounds_3_7_11_body i msg in_b offset va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Loop_rounds_3_7_11_body (va_code_Loop_rounds_3_7_11_body i msg)
va_s0 i msg in_b offset in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_reg 4 va_sM (va_update_ok va_sM (va_update_operand_vec_... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 79,
"start_col": 0,
"start_line": 71
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg: Vale.PPC64LE.Decls.va_operand_vec_opr ->
in_b: Vale.PPC64LE.Memory.buffer128 ->
offset: Prims.nat ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va... | Prims.Ghost | [] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Memory.buffer128",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.P... | [] | false | false | false | false | false | let va_wpProof_Loop_rounds_3_7_11_body i msg in_b offset va_s0 va_k =
| let va_sM, va_f0 =
va_lemma_Loop_rounds_3_7_11_body (va_code_Loop_rounds_3_7_11_body i msg) va_s0 i msg in_b offset
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_reg 4 va_sM (va_update_ok va_sM (va_update_operand_vec_opr msg va_sM va_s0))));
va_lemma_norm_mods ([va_Mod_reg 4; va_mod_vec_opr... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_lemma_Loop_rounds_3_7_11_body | val va_lemma_Loop_rounds_3_7_11_body : va_b0:va_code -> va_s0:va_state -> i:nat ->
msg:va_operand_vec_opr -> in_b:buffer128 -> offset:nat
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Loop_rounds_3_7_11_body i msg) va_s0 /\
va_is_dst_vec_opr msg va_s0 /\ va_get_ok va_s0 /\ (l_and (l... | val va_lemma_Loop_rounds_3_7_11_body : va_b0:va_code -> va_s0:va_state -> i:nat ->
msg:va_operand_vec_opr -> in_b:buffer128 -> offset:nat
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Loop_rounds_3_7_11_body i msg) va_s0 /\
va_is_dst_vec_opr msg va_s0 /\ va_get_ok va_s0 /\ (l_and (l... | let va_lemma_Loop_rounds_3_7_11_body va_b0 va_s0 i msg in_b offset =
let (va_mods:va_mods_t) = [va_Mod_reg 4; va_Mod_ok; va_mod_vec_opr msg] in
let va_qc = va_qcode_Loop_rounds_3_7_11_body va_mods i msg in_b offset in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Loop_rounds_3_7_11_body i msg) va_qc
... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 67,
"start_col": 0,
"start_line": 52
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
i: Prims.nat ->
msg: Vale.PPC64LE.Decls.va_operand_vec_opr ->
in_b: Vale.PPC64LE.Memory.buffer128 ->
offset: Prims.nat
-> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Memory.buffer128",
"Vale.PPC64LE.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"Vale.PPC64LE.QuickCode.va_lemma_norm_... | [] | false | false | false | false | false | let va_lemma_Loop_rounds_3_7_11_body va_b0 va_s0 i msg in_b offset =
| let va_mods:va_mods_t = [va_Mod_reg 4; va_Mod_ok; va_mod_vec_opr msg] in
let va_qc = va_qcode_Loop_rounds_3_7_11_body va_mods i msg in_b offset in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Loop_rounds_3_7_11_body i msg)
va_qc
va_s0
(fun va_s0 va_sM va_g ->
let () = va_g in
la... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_wpProof_Loop_rounds_1_15_shift_body | val va_wpProof_Loop_rounds_1_15_shift_body : i:nat -> msg0:va_operand_vec_opr ->
msg1:va_operand_vec_opr -> block:block_w -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_rounds_1_15_shift_body i msg0 msg1 block va_s0 va_k))
(... | val va_wpProof_Loop_rounds_1_15_shift_body : i:nat -> msg0:va_operand_vec_opr ->
msg1:va_operand_vec_opr -> block:block_w -> va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_rounds_1_15_shift_body i msg0 msg1 block va_s0 va_k))
(... | let va_wpProof_Loop_rounds_1_15_shift_body i msg0 msg1 block va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Loop_rounds_1_15_shift_body (va_code_Loop_rounds_1_15_shift_body i
msg0 msg1) va_s0 i msg0 msg1 block in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_ok va_sM (va_update_operand_vec_opr m... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 190,
"start_col": 0,
"start_line": 183
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.PPC64LE.Dec... | Prims.Ghost | [] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
... | [] | false | false | false | false | false | let va_wpProof_Loop_rounds_1_15_shift_body i msg0 msg1 block va_s0 va_k =
| let va_sM, va_f0 =
va_lemma_Loop_rounds_1_15_shift_body (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)
va_s0
i
msg0
msg1
block
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_ok va_sM (va_update_operand_vec_opr msg0 va_sM va_s0)));
va_lemma_norm_mods ([va_mod_vec_opr msg0]) v... | false |
Steel.ST.Reference.fst | Steel.ST.Reference.alloc | val alloc (#a:Type) (x:a)
: ST (ref a)
emp
(fun r -> pts_to r full_perm x)
(requires True)
(ensures fun r -> not (is_null r)) | val alloc (#a:Type) (x:a)
: ST (ref a)
emp
(fun r -> pts_to r full_perm x)
(requires True)
(ensures fun r -> not (is_null r)) | let alloc (#a:Type) (x:a)
: ST (ref a)
emp
(fun r -> pts_to r full_perm x)
(requires True)
(ensures fun r -> not (is_null r))
= let r = coerce_steel (fun _ -> R.alloc_pt x) in
r | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 5,
"end_line": 71,
"start_col": 0,
"start_line": 64
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: a -> Steel.ST.Effect.ST (Steel.ST.Reference.ref a) | Steel.ST.Effect.ST | [] | [] | [
"Steel.ST.Reference.ref",
"Steel.Reference.ref",
"Steel.ST.Coercions.coerce_steel",
"Steel.Effect.Common.emp",
"Steel.Reference.pts_to",
"Steel.FractionalPermission.full_perm",
"Steel.Effect.Common.vprop",
"Prims.l_True",
"Prims.b2t",
"Prims.op_Negation",
"Steel.Reference.is_null",
"Prims.unit... | [] | false | true | false | false | false | let alloc (#a: Type) (x: a)
: ST (ref a)
emp
(fun r -> pts_to r full_perm x)
(requires True)
(ensures fun r -> not (is_null r)) =
| let r = coerce_steel (fun _ -> R.alloc_pt x) in
r | false |
Steel.ST.GhostHigherReference.fst | Steel.ST.GhostHigherReference.alloc | val alloc (#opened: _) (#a:Type) (x:a)
: STGhost (ref a) opened
emp
(fun r -> pts_to r full_perm x)
(requires True)
(ensures fun r -> True) | val alloc (#opened: _) (#a:Type) (x:a)
: STGhost (ref a) opened
emp
(fun r -> pts_to r full_perm x)
(requires True)
(ensures fun r -> True) | let alloc
#_ #a x
= let gr = STC.coerce_ghost (fun _ -> R.ghost_alloc x) in
let r = Hide (Ghost.reveal (coerce_eq (R.reveal_ghost_ref a) gr)) in
weaken (R.ghost_pts_to gr full_perm x) (pts_to r full_perm x) (fun _ ->
R.reveal_ghost_pts_to_sl gr full_perm x
);
r | {
"file_name": "lib/steel/Steel.ST.GhostHigherReference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 47,
"start_col": 0,
"start_line": 40
} | module Steel.ST.GhostHigherReference
// needed because I need to know that `Steel.ST.HigherReference.ref a`
// can be turned into `Steel.HigherReference.ref a`
friend Steel.ST.HigherReference
module RST = Steel.ST.HigherReference
module R = Steel.HigherReference
module STC = Steel.ST.Coercions
// FIXME: WHY WHY WHY... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.HigherReference.fst.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.HigherReference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST... | [
{
"abbrev": true,
"full_module": "Steel.ST.Coercions",
"short_module": "STC"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "Steel.ST.HigherReference",
"short_module": "RST"
},
{
"abbrev": false... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: a -> Steel.ST.Effect.Ghost.STGhost (Steel.ST.GhostHigherReference.ref a) | Steel.ST.Effect.Ghost.STGhost | [] | [] | [
"Steel.Memory.inames",
"Steel.ST.GhostHigherReference.ref",
"Prims.unit",
"Steel.ST.Util.weaken",
"Steel.HigherReference.ghost_pts_to",
"Steel.FractionalPermission.full_perm",
"Steel.ST.GhostHigherReference.pts_to",
"Steel.Memory.mem",
"Steel.HigherReference.reveal_ghost_pts_to_sl",
"Steel.ST.Ghos... | [] | false | true | false | false | false | let alloc #_ #a x =
| let gr = STC.coerce_ghost (fun _ -> R.ghost_alloc x) in
let r = Hide (Ghost.reveal (coerce_eq (R.reveal_ghost_ref a) gr)) in
weaken (R.ghost_pts_to gr full_perm x)
(pts_to r full_perm x)
(fun _ -> R.reveal_ghost_pts_to_sl gr full_perm x);
r | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_1_15_shift_body | val va_quick_Loop_rounds_1_15_shift_body (i: nat) (msg0 msg1: va_operand_vec_opr) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) | val va_quick_Loop_rounds_1_15_shift_body (i: nat) (msg0 msg1: va_operand_vec_opr) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) | let va_quick_Loop_rounds_1_15_shift_body (i:nat) (msg0:va_operand_vec_opr)
(msg1:va_operand_vec_opr) (block:block_w) : (va_quickCode unit
(va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) =
(va_QProc (va_code_Loop_rounds_1_15_shift_body i msg0 msg1) ([va_mod_vec_opr msg0])
(va_wp_Loop_rounds_1_15_shift_body ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 21,
"end_line": 198,
"start_col": 0,
"start_line": 193
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body i msg0 msg1) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.QuickCode.va_QProc",
"Prims.unit",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.PPC64LE.QuickCode.va_mod_vec_opr",
... | [] | false | false | false | false | false | let va_quick_Loop_rounds_1_15_shift_body (i: nat) (msg0 msg1: va_operand_vec_opr) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)) =
| (va_QProc (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)
([va_mod_vec_opr msg0])
(va_wp_Loop_rounds_1_15_shift_body i msg0 msg1 block)
(va_wpProof_Loop_rounds_1_15_shift_body i msg0 msg1 block)) | false |
Hacl.Impl.FFDHE.Constants.fst | Hacl.Impl.FFDHE.Constants.ffdhe_p6144 | val ffdhe_p6144:x: glbuffer pub_uint8 768ul {witnessed x S.ffdhe_p6144 /\ recallable x} | val ffdhe_p6144:x: glbuffer pub_uint8 768ul {witnessed x S.ffdhe_p6144 /\ recallable x} | let ffdhe_p6144 :x:glbuffer pub_uint8 768ul{witnessed x S.ffdhe_p6144 /\ recallable x} =
createL_global S.list_ffdhe_p6144 | {
"file_name": "code/ffdhe/Hacl.Impl.FFDHE.Constants.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 35,
"end_line": 28,
"start_col": 0,
"start_line": 27
} | module Hacl.Impl.FFDHE.Constants
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
module ST = FStar.HyperStack.ST
module S = Spec.FFDHE
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
let ffdhe_g2 :x:glbuffer pub_uint8 1ul{witnessed x S.ffdhe_g2 /\ recallable x} =
c... | {
"checked_file": "/",
"dependencies": [
"Spec.FFDHE.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.HyperStack.ST.fsti.checked",
"FStar.HyperS... | [
{
"abbrev": true,
"full_module": "Spec.FFDHE",
"short_module": "S"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x:
(c:
Lib.Buffer.lbuffer_t Lib.Buffer.CONST
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.PUB)
(768ul <: FStar.UInt32.t) {LowStar.ConstBuffer.qual_of c == LowStar.ConstBuffer.IMMUTABLE})
{Lib.Buffer.witnessed x Spec.FFDHE.ffdhe_p6144 /\ Lib.Buffer.recallable x} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_global",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.PUB",
"Spec.FFDHE.list_ffdhe_p6144",
"Lib.Buffer.glbuffer",
"Lib.IntTypes.size",
"FStar.Pervasives.normalize_term",
"Lib.IntTypes.size_nat",
"FStar.List.Tot.Base.length"
] | [] | false | false | false | false | false | let ffdhe_p6144:x: glbuffer pub_uint8 768ul {witnessed x S.ffdhe_p6144 /\ recallable x} =
| createL_global S.list_ffdhe_p6144 | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_1_15_shift_body | val va_wp_Loop_rounds_1_15_shift_body
(i: nat)
(msg0 msg1: va_operand_vec_opr)
(block: block_w)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Loop_rounds_1_15_shift_body
(i: nat)
(msg0 msg1: va_operand_vec_opr)
(block: block_w)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Loop_rounds_1_15_shift_body (i:nat) (msg0:va_operand_vec_opr) (msg1:va_operand_vec_opr)
(block:block_w) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_is_dst_vec_opr msg0 va_s0 /\ va_is_src_vec_opr msg1 va_s0 /\ va_get_ok va_s0 /\ l_and (l_and
(0 <= i) (i < 16)) (i `op_Modulus` 4 =!... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 72,
"end_line": 173,
"start_col": 0,
"start_line": 161
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Vale.PPC64LE.Decls.va_is_dst_vec_opr",
"Vale.PPC64LE.Decls.va_is_src_vec_opr",
"Prims.b2t",
"Vale.PPC64LE.Decls.va_get_ok",
"Prims.op_LessTha... | [] | false | false | false | true | true | let va_wp_Loop_rounds_1_15_shift_body
(i: nat)
(msg0 msg1: va_operand_vec_opr)
(block: block_w)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_is_dst_vec_opr msg0 va_s0 /\ va_is_src_vec_opr msg1 va_s0 /\ va_get_ok va_s0 /\
l_and (l_and (0 <= i) (i < 16)) (i `op_Modulus` 4 =!= 0) /\ msg0 == i /\
msg1 == i - i `op_Modulus` 4 /\
(i `op_Modulus` 4 == 1 ==>
Vale.Def.Words_s.__proj__Mkfour__item__hi2 (va_eval_vec_opr va_s0 msg1) ==
Vale.SHA.PPC64L... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_60_63_b | val va_code_Loop_rounds_60_63_b : va_dummy:unit -> Tot va_code | val va_code_Loop_rounds_60_63_b : va_dummy:unit -> Tot va_code | let va_code_Loop_rounds_60_63_b () =
(va_Block (va_CCons (va_code_Loop_rounds_0_63_body 60 (va_op_vec_opr_vec 12) (va_op_vec_opr_vec
20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23) (va_op_vec_opr_vec 16)
(va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)) (va_CCons
... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 93,
"end_line": 1481,
"start_col": 0,
"start_line": 1468
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_round_0_61_body",
"Vale.PPC64LE.Decls.va_CNil",
"Vale.PPC64LE.Decls.va_code"
] | [] | false | false | false | true | false | let va_code_Loop_rounds_60_63_b () =
| (va_Block (va_CCons (va_code_Loop_rounds_0_63_body 60 (va_op_vec_opr_vec 12) (va_op_vec_opr_vec 20)
(va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18)
(va_op_vec_opr_vec 19))
(va_CCons (va_... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_16_63_body | val va_qcode_Loop_rounds_16_63_body
(va_mods: va_mods_t)
(i: nat)
(msg0 msg1 msg2 msg3: vec_opr)
(block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3)) | val va_qcode_Loop_rounds_16_63_body
(va_mods: va_mods_t)
(i: nat)
(msg0 msg1 msg2 msg3: vec_opr)
(block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3)) | let va_qcode_Loop_rounds_16_63_body (va_mods:va_mods_t) (i:nat) (msg0:vec_opr) (msg1:vec_opr)
(msg2:vec_opr) (msg3:vec_opr) (block:block_w) : (va_quickCode unit
(va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3)) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QBind va_range1
... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 71,
"end_line": 243,
"start_col": 0,
"start_line": 222
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_mods: Vale.PPC64LE.QuickCode.va_mods_t ->
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.vec_opr ->
msg1: Vale.PPC64LE.Decls.vec_opr ->
msg2: Vale.PPC64LE.Decls.vec_opr ->
msg3: Vale.PPC64LE.Decls.vec_opr ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w
-> Vale.PPC64LE.QuickCode.va_quickCode P... | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Prims.nat",
"Vale.PPC64LE.Decls.vec_opr",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.InsVector.va_code_SHA256_sigma0",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_16_63_body
(va_mods: va_mods_t)
(i: nat)
(msg0 msg1 msg2 msg3: vec_opr)
(block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3)) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QBind va_range1
"***** PRECONDITION NOT MET AT line 145 column 18 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qu... | false |
Steel.ST.GhostHigherReference.fst | Steel.ST.GhostHigherReference.write | val write (#opened: _) (#a:Type)
(#v:erased a)
(r:ref a)
(x:a)
: STGhostT unit opened
(pts_to r full_perm v)
(fun _ -> pts_to r full_perm x) | val write (#opened: _) (#a:Type)
(#v:erased a)
(r:ref a)
(x:a)
: STGhostT unit opened
(pts_to r full_perm v)
(fun _ -> pts_to r full_perm x) | let write
#_ #a #v r x
= let gr : R.ghost_ref a = coerce_eq (R.reveal_ghost_ref a) (Ghost.hide r.reveal) in
weaken (pts_to r full_perm v) (R.ghost_pts_to gr full_perm v) (fun _ ->
R.reveal_ghost_pts_to_sl gr full_perm v
);
STC.coerce_ghost (fun _ -> R.ghost_write gr x);
weaken (R.ghost_pts_to gr full_perm... | {
"file_name": "lib/steel/Steel.ST.GhostHigherReference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 58,
"start_col": 0,
"start_line": 49
} | module Steel.ST.GhostHigherReference
// needed because I need to know that `Steel.ST.HigherReference.ref a`
// can be turned into `Steel.HigherReference.ref a`
friend Steel.ST.HigherReference
module RST = Steel.ST.HigherReference
module R = Steel.HigherReference
module STC = Steel.ST.Coercions
// FIXME: WHY WHY WHY... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.HigherReference.fst.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.HigherReference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST... | [
{
"abbrev": true,
"full_module": "Steel.ST.Coercions",
"short_module": "STC"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "Steel.ST.HigherReference",
"short_module": "RST"
},
{
"abbrev": false... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.ST.GhostHigherReference.ref a -> x: a -> Steel.ST.Effect.Ghost.STGhostT Prims.unit | Steel.ST.Effect.Ghost.STGhostT | [] | [] | [
"Steel.Memory.inames",
"FStar.Ghost.erased",
"Steel.ST.GhostHigherReference.ref",
"Steel.ST.Util.weaken",
"Steel.HigherReference.ghost_pts_to",
"Steel.FractionalPermission.full_perm",
"Steel.ST.GhostHigherReference.pts_to",
"Steel.Memory.mem",
"Steel.HigherReference.reveal_ghost_pts_to_sl",
"Prims... | [] | false | true | false | false | false | let write #_ #a #v r x =
| let gr:R.ghost_ref a = coerce_eq (R.reveal_ghost_ref a) (Ghost.hide r.reveal) in
weaken (pts_to r full_perm v)
(R.ghost_pts_to gr full_perm v)
(fun _ -> R.reveal_ghost_pts_to_sl gr full_perm v);
STC.coerce_ghost (fun _ -> R.ghost_write gr x);
weaken (R.ghost_pts_to gr full_perm x)
(pts_to r full_perm x)
(fun _ ... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_wpProof_Loop_rounds_16_63_body | val va_wpProof_Loop_rounds_16_63_body : i:nat -> msg0:va_operand_vec_opr -> msg1:va_operand_vec_opr
-> msg2:va_operand_vec_opr -> msg3:va_operand_vec_opr -> block:block_w -> va_s0:va_state ->
va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_rounds... | val va_wpProof_Loop_rounds_16_63_body : i:nat -> msg0:va_operand_vec_opr -> msg1:va_operand_vec_opr
-> msg2:va_operand_vec_opr -> msg3:va_operand_vec_opr -> block:block_w -> va_s0:va_state ->
va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_rounds... | let va_wpProof_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 block va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Loop_rounds_16_63_body (va_code_Loop_rounds_16_63_body i msg0 msg1
msg2 msg3) va_s0 i msg0 msg1 msg2 msg3 block in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_vec 26 va_sM (va_updat... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 276,
"start_col": 0,
"start_line": 268
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg2: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg3: Vale.PPC64LE.Decls.va_operand_vec_opr ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w ->
va_s0: Vale.PPC64LE.Decls.va_state ->
... | Prims.Ghost | [] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
... | [] | false | false | false | false | false | let va_wpProof_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3 block va_s0 va_k =
| let va_sM, va_f0 =
va_lemma_Loop_rounds_16_63_body (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3)
va_s0
i
msg0
msg1
msg2
msg3
block
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_vec 26
va_sM
(va_update_vec 25 va_sM (va_update_ok va_sM ... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_wpProof_Loop_rounds_0_63_body | val va_wpProof_Loop_rounds_0_63_body : i:nat -> msg:va_operand_vec_opr -> a_vec:va_operand_vec_opr
-> b_vec:va_operand_vec_opr -> c_vec:va_operand_vec_opr -> d_vec:va_operand_vec_opr ->
e_vec:va_operand_vec_opr -> f_vec:va_operand_vec_opr -> g_vec:va_operand_vec_opr ->
h_vec:va_operand_vec_opr -> k_b:buffer128 ->... | val va_wpProof_Loop_rounds_0_63_body : i:nat -> msg:va_operand_vec_opr -> a_vec:va_operand_vec_opr
-> b_vec:va_operand_vec_opr -> c_vec:va_operand_vec_opr -> d_vec:va_operand_vec_opr ->
e_vec:va_operand_vec_opr -> f_vec:va_operand_vec_opr -> g_vec:va_operand_vec_opr ->
h_vec:va_operand_vec_opr -> k_b:buffer128 ->... | let va_wpProof_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec k_b
block hash_orig va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Loop_rounds_0_63_body (va_code_Loop_rounds_0_63_body i msg a_vec
b_vec c_vec d_vec e_vec f_vec g_vec h_vec) va_s0 i msg a_vec b_vec c_vec d_vec e_vec f_vec
... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 751,
"start_col": 0,
"start_line": 739
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg: Vale.PPC64LE.Decls.va_operand_vec_opr ->
a_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
b_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
c_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
d_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
e_vec: Vale.PPC64LE.Decls.va_operand_... | Prims.Ghost | [] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Memory.buffer128",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.SHA.PPC64LE.SHA_helpers.hash256",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickC... | [] | false | false | false | false | false | let va_wpProof_Loop_rounds_0_63_body
i
msg
a_vec
b_vec
c_vec
d_vec
e_vec
f_vec
g_vec
h_vec
k_b
block
hash_orig
va_s0
va_k
=
| let va_sM, va_f0 =
va_lemma_Loop_rounds_0_63_body (va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec
f_vec g_vec h_vec) va_s0 i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec k_b block
hash_orig
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_vec 26
... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_60_63_b | val va_qcode_Loop_rounds_60_63_b
(va_mods: va_mods_t)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_60_63_b ())) | val va_qcode_Loop_rounds_60_63_b
(va_mods: va_mods_t)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_60_63_b ())) | let va_qcode_Loop_rounds_60_63_b (va_mods:va_mods_t) (k_b:buffer128) (block:block_w)
(hash_orig:hash256) : (va_quickCode unit (va_code_Loop_rounds_60_63_b ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 558 column 26 of file ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 27,
"end_line": 1527,
"start_col": 0,
"start_line": 1501
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_mods: Vale.PPC64LE.QuickCode.va_mods_t ->
k_b: Vale.PPC64LE.Memory.buffer128 ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w ->
hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_60_63_b ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Vale.PPC64LE.Memory.buffer128",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.SHA.PPC64LE.SHA_helpers.hash256",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_60_63_b
(va_mods: va_mods_t)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_60_63_b ())) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 558 column 26 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qui... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_lemma_Loop_rounds_1_15_shift_body | val va_lemma_Loop_rounds_1_15_shift_body : va_b0:va_code -> va_s0:va_state -> i:nat ->
msg0:va_operand_vec_opr -> msg1:va_operand_vec_opr -> block:block_w
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Loop_rounds_1_15_shift_body i msg0 msg1) va_s0 /\
va_is_dst_vec_opr msg0 va_s0 /\ ... | val va_lemma_Loop_rounds_1_15_shift_body : va_b0:va_code -> va_s0:va_state -> i:nat ->
msg0:va_operand_vec_opr -> msg1:va_operand_vec_opr -> block:block_w
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Loop_rounds_1_15_shift_body i msg0 msg1) va_s0 /\
va_is_dst_vec_opr msg0 va_s0 /\ ... | let va_lemma_Loop_rounds_1_15_shift_body va_b0 va_s0 i msg0 msg1 block =
let (va_mods:va_mods_t) = [va_Mod_ok; va_mod_vec_opr msg0] in
let va_qc = va_qcode_Loop_rounds_1_15_shift_body va_mods i msg0 msg1 block in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Loop_rounds_1_15_shift_body i msg0
msg1... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 158,
"start_col": 0,
"start_line": 146
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w
-> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls... | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"Vale.PPC64LE.QuickCode.va_lemm... | [] | false | false | false | false | false | let va_lemma_Loop_rounds_1_15_shift_body va_b0 va_s0 i msg0 msg1 block =
| let va_mods:va_mods_t = [va_Mod_ok; va_mod_vec_opr msg0] in
let va_qc = va_qcode_Loop_rounds_1_15_shift_body va_mods i msg0 msg1 block in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Loop_rounds_1_15_shift_body i msg0 msg1)
va_qc
va_s0
(fun va_s0 va_sM va_g ->
let () = va_g in
l... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_3 | val va_code_Loop_rounds_1_3 : va_dummy:unit -> Tot va_code | val va_code_Loop_rounds_1_3 : va_dummy:unit -> Tot va_code | let va_code_Loop_rounds_1_3 () =
(va_Block (va_CCons (va_code_Loop_rounds_1_15_shift_body 1 (va_op_vec_opr_vec 1)
(va_op_vec_opr_vec 0)) (va_CCons (va_code_Loop_rounds_1_15_shift_body 2 (va_op_vec_opr_vec 2)
(va_op_vec_opr_vec 0)) (va_CCons (va_code_Loop_rounds_1_15_shift_body 3 (va_op_vec_opr_vec 3)
(va_... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 43,
"end_line": 1574,
"start_col": 0,
"start_line": 1570
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_CNil",
"Vale.PPC64LE.Decls.va_code"
] | [] | false | false | false | true | false | let va_code_Loop_rounds_1_3 () =
| (va_Block (va_CCons (va_code_Loop_rounds_1_15_shift_body 1
(va_op_vec_opr_vec 1)
(va_op_vec_opr_vec 0))
(va_CCons (va_code_Loop_rounds_1_15_shift_body 2 (va_op_vec_opr_vec 2) (va_op_vec_opr_vec 0)
)
(va_CCons (va_code_Loop_rounds_1_15_shift_body 3
... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_rounds_0_63_body | val va_quick_Loop_rounds_0_63_body
(i: nat)
(msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: va_operand_vec_opr)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit
(va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec... | val va_quick_Loop_rounds_0_63_body
(i: nat)
(msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: va_operand_vec_opr)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit
(va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec... | let va_quick_Loop_rounds_0_63_body (i:nat) (msg:va_operand_vec_opr) (a_vec:va_operand_vec_opr)
(b_vec:va_operand_vec_opr) (c_vec:va_operand_vec_opr) (d_vec:va_operand_vec_opr)
(e_vec:va_operand_vec_opr) (f_vec:va_operand_vec_opr) (g_vec:va_operand_vec_opr)
(h_vec:va_operand_vec_opr) (k_b:buffer128) (block:block_w... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 37,
"end_line": 763,
"start_col": 0,
"start_line": 754
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg: Vale.PPC64LE.Decls.va_operand_vec_opr ->
a_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
b_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
c_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
d_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
e_vec: Vale.PPC64LE.Decls.va_operand_... | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Memory.buffer128",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.SHA.PPC64LE.SHA_helpers.hash256",
"Vale.PPC64LE.QuickCode.va_QProc",
"Prims.unit",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body",
"Prims.Cons",
"Vale.... | [] | false | false | false | false | false | let va_quick_Loop_rounds_0_63_body
(i: nat)
(msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: va_operand_vec_opr)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit
(va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec... | (va_QProc (va_code_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec)
([
va_Mod_vec 26;
va_Mod_vec 25;
va_mod_vec_opr h_vec;
va_mod_vec_opr g_vec;
va_mod_vec_opr d_vec
])
(va_wp_Loop_rounds_0_63_body i msg a_vec b_vec c_vec d_vec e_vec f_ve... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_60_63_b | val va_codegen_success_Loop_rounds_60_63_b : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Loop_rounds_60_63_b : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Loop_rounds_60_63_b () =
(va_pbool_and (va_codegen_success_Loop_rounds_0_63_body 60 (va_op_vec_opr_vec 12)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 93,
"end_line": 1498,
"start_col": 0,
"start_line": 1484
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_round_0_61_body",
"Vale.PPC64LE.Decls.va_ttrue",
"Vale.PPC64LE.Decls.va_pbool"
] | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_60_63_b () =
| (va_pbool_and (va_codegen_success_Loop_rounds_0_63_body 60 (va_op_vec_opr_vec 12)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19))
(va_pbool_and (va_codegen_success... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_quick_Loop_round_0_61_body | val va_quick_Loop_round_0_61_body (i: nat) (k_b: buffer128)
: (va_quickCode unit (va_code_Loop_round_0_61_body i)) | val va_quick_Loop_round_0_61_body (i: nat) (k_b: buffer128)
: (va_quickCode unit (va_code_Loop_round_0_61_body i)) | let va_quick_Loop_round_0_61_body (i:nat) (k_b:buffer128) : (va_quickCode unit
(va_code_Loop_round_0_61_body i)) =
(va_QProc (va_code_Loop_round_0_61_body i) ([va_Mod_vec 24; va_Mod_reg 6])
(va_wp_Loop_round_0_61_body i k_b) (va_wpProof_Loop_round_0_61_body i k_b)) | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 79,
"end_line": 931,
"start_col": 0,
"start_line": 928
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> k_b: Vale.PPC64LE.Memory.buffer128
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_round_0_61_body i) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Memory.buffer128",
"Vale.PPC64LE.QuickCode.va_QProc",
"Prims.unit",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_round_0_61_body",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.PPC64LE.QuickCode.va_Mod_vec",
"Vale.PPC64LE.QuickCode.va_Mod_reg",
"Prims.Nil",
"Vale.S... | [] | false | false | false | false | false | let va_quick_Loop_round_0_61_body (i: nat) (k_b: buffer128)
: (va_quickCode unit (va_code_Loop_round_0_61_body i)) =
| (va_QProc (va_code_Loop_round_0_61_body i)
([va_Mod_vec 24; va_Mod_reg 6])
(va_wp_Loop_round_0_61_body i k_b)
(va_wpProof_Loop_round_0_61_body i k_b)) | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_1_3 | val va_codegen_success_Loop_rounds_1_3 : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Loop_rounds_1_3 : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Loop_rounds_1_3 () =
(va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 1 (va_op_vec_opr_vec 1)
(va_op_vec_opr_vec 0)) (va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 2
(va_op_vec_opr_vec 2) (va_op_vec_opr_vec 0)) (va_pbool_and
(va_codegen_success_Loop_round... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 20,
"end_line": 1582,
"start_col": 0,
"start_line": 1577
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_ttrue",
"Vale.PPC64LE.Decls.va_pbool"
] | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_1_3 () =
| (va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 1
(va_op_vec_opr_vec 1)
(va_op_vec_opr_vec 0))
(va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 2
(va_op_vec_opr_vec 2)
(va_op_vec_opr_vec 0))
(va_pbool_and (va_codegen_success_Loop_rounds_1_15... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_1_3 | val va_qcode_Loop_rounds_1_3 (va_mods: va_mods_t) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_1_3 ())) | val va_qcode_Loop_rounds_1_3 (va_mods: va_mods_t) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_1_3 ())) | let va_qcode_Loop_rounds_1_3 (va_mods:va_mods_t) (block:block_w) : (va_quickCode unit
(va_code_Loop_rounds_1_3 ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 580 column 32 of file /home/gebner/fstar_dataset/projects/hacl-sta... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 24,
"end_line": 1596,
"start_col": 0,
"start_line": 1585
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_mods: Vale.PPC64LE.QuickCode.va_mods_t -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_3 ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Prims.Nil",
"Vale.PPC... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_1_3 (va_mods: va_mods_t) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_1_3 ())) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 580 column 32 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qui... | false |
Steel.ST.Reference.fst | Steel.ST.Reference.read | val read (#a:Type)
(#p:perm)
(#v:erased a)
(r:ref a)
: ST a
(pts_to r p v)
(fun x -> pts_to r p v)
(requires True)
(ensures fun x -> x == Ghost.reveal v) | val read (#a:Type)
(#p:perm)
(#v:erased a)
(r:ref a)
: ST a
(pts_to r p v)
(fun x -> pts_to r p v)
(requires True)
(ensures fun x -> x == Ghost.reveal v) | let read (#a:Type)
(#p:perm)
(#v:erased a)
(r:ref a)
: ST a
(pts_to r p v)
(fun _ -> pts_to r p v)
(requires True)
(ensures fun x -> x == Ghost.reveal v)
= let u = coerce_steel (fun _ -> R.read_pt r) in
return u | {
"file_name": "lib/steel/Steel.ST.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 12,
"end_line": 83,
"start_col": 0,
"start_line": 73
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.Coercions.fsti.checked",
"Steel.Reference.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.Reference.fst"
... | [
{
"abbrev": true,
"full_module": "Steel.Reference",
"short_module": "R"
},
{
"abbrev": false,
"full_module": "Steel.ST.Coercions",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.ST.Reference.ref a -> Steel.ST.Effect.ST a | Steel.ST.Effect.ST | [] | [] | [
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.ST.Reference.ref",
"Steel.ST.Util.return",
"FStar.Ghost.hide",
"FStar.Set.set",
"Steel.Memory.iname",
"FStar.Set.empty",
"Steel.ST.Reference.pts_to",
"FStar.Ghost.reveal",
"Steel.Effect.Common.vprop",
"Steel.ST.Coercions.coerce_st... | [] | false | true | false | false | false | let read (#a: Type) (#p: perm) (#v: erased a) (r: ref a)
: ST a
(pts_to r p v)
(fun _ -> pts_to r p v)
(requires True)
(ensures fun x -> x == Ghost.reveal v) =
| let u = coerce_steel (fun _ -> R.read_pt r) in
return u | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_5_7 | val va_code_Loop_rounds_5_7 : va_dummy:unit -> Tot va_code | val va_code_Loop_rounds_5_7 : va_dummy:unit -> Tot va_code | let va_code_Loop_rounds_5_7 () =
(va_Block (va_CCons (va_code_Loop_rounds_1_15_shift_body 5 (va_op_vec_opr_vec 5)
(va_op_vec_opr_vec 4)) (va_CCons (va_code_Loop_rounds_1_15_shift_body 6 (va_op_vec_opr_vec 6)
(va_op_vec_opr_vec 4)) (va_CCons (va_code_Loop_rounds_1_15_shift_body 7 (va_op_vec_opr_vec 7)
(va_... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 43,
"end_line": 1633,
"start_col": 0,
"start_line": 1629
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_CNil",
"Vale.PPC64LE.Decls.va_code"
] | [] | false | false | false | true | false | let va_code_Loop_rounds_5_7 () =
| (va_Block (va_CCons (va_code_Loop_rounds_1_15_shift_body 5
(va_op_vec_opr_vec 5)
(va_op_vec_opr_vec 4))
(va_CCons (va_code_Loop_rounds_1_15_shift_body 6 (va_op_vec_opr_vec 6) (va_op_vec_opr_vec 4)
)
(va_CCons (va_code_Loop_rounds_1_15_shift_body 7
... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_lemma_Loop_rounds_16_63_body | val va_lemma_Loop_rounds_16_63_body : va_b0:va_code -> va_s0:va_state -> i:nat ->
msg0:va_operand_vec_opr -> msg1:va_operand_vec_opr -> msg2:va_operand_vec_opr ->
msg3:va_operand_vec_opr -> block:block_w
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Loop_rounds_16_63_body i msg0 msg1 ... | val va_lemma_Loop_rounds_16_63_body : va_b0:va_code -> va_s0:va_state -> i:nat ->
msg0:va_operand_vec_opr -> msg1:va_operand_vec_opr -> msg2:va_operand_vec_opr ->
msg3:va_operand_vec_opr -> block:block_w
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Loop_rounds_16_63_body i msg0 msg1 ... | let va_lemma_Loop_rounds_16_63_body va_b0 va_s0 i msg0 msg1 msg2 msg3 block =
let (va_mods:va_mods_t) = [va_Mod_vec 26; va_Mod_vec 25; va_Mod_ok; va_mod_vec_opr msg0] in
let va_qc = va_qcode_Loop_rounds_16_63_body va_mods i msg0 msg1 msg2 msg3 block in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Loo... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 264,
"start_col": 0,
"start_line": 246
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
i: Prims.nat ->
msg0: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg1: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg2: Vale.PPC64LE.Decls.va_operand_vec_opr ->
msg3: Vale.PPC64LE.Decls.va_operand_vec_opr ->
block: V... | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"Vale.PPC64LE.QuickCode.va_lemm... | [] | false | false | false | false | false | let va_lemma_Loop_rounds_16_63_body va_b0 va_s0 i msg0 msg1 msg2 msg3 block =
| let va_mods:va_mods_t = [va_Mod_vec 26; va_Mod_vec 25; va_Mod_ok; va_mod_vec_opr msg0] in
let va_qc = va_qcode_Loop_rounds_16_63_body va_mods i msg0 msg1 msg2 msg3 block in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Loop_rounds_16_63_body i msg0 msg1 msg2 msg3)
va_qc
va_s0
(fun va_s0 va_sM va... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_wp_Loop_rounds_0_63_body | val va_wp_Loop_rounds_0_63_body
(i: nat)
(msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: va_operand_vec_opr)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Loop_rounds_0_63_body
(i: nat)
(msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: va_operand_vec_opr)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Loop_rounds_0_63_body (i:nat) (msg:va_operand_vec_opr) (a_vec:va_operand_vec_opr)
(b_vec:va_operand_vec_opr) (c_vec:va_operand_vec_opr) (d_vec:va_operand_vec_opr)
(e_vec:va_operand_vec_opr) (f_vec:va_operand_vec_opr) (g_vec:va_operand_vec_opr)
(h_vec:va_operand_vec_opr) (k_b:buffer128) (block:block_w) (... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 37,
"end_line": 724,
"start_col": 0,
"start_line": 615
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
msg: Vale.PPC64LE.Decls.va_operand_vec_opr ->
a_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
b_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
c_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
d_vec: Vale.PPC64LE.Decls.va_operand_vec_opr ->
e_vec: Vale.PPC64LE.Decls.va_operand_... | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_operand_vec_opr",
"Vale.PPC64LE.Memory.buffer128",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.SHA.PPC64LE.SHA_helpers.hash256",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Vale.PPC64LE.Decls.va_is_src_vec_opr",
"Vale.PPC64LE.Decls.va_is_dst_v... | [] | false | false | false | true | true | let va_wp_Loop_rounds_0_63_body
(i: nat)
(msg a_vec b_vec c_vec d_vec e_vec f_vec g_vec h_vec: va_operand_vec_opr)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_is_src_vec_opr msg va_s0 /\ va_is_src_vec_opr a_vec va_s0 /\ va_is_src_vec_opr b_vec va_s0 /\
va_is_src_vec_opr c_vec va_s0 /\ va_is_dst_vec_opr d_vec va_s0 /\ va_is_src_vec_opr e_vec va_s0 /\
va_is_src_vec_opr f_vec va_s0 /\ va_is_dst_vec_opr g_vec va_s0 /\ va_is_dst_vec_opr h_vec va_s0 /\
va_get_ok va_s0 /\... | false |
Steel.ST.Array.fst | Steel.ST.Array.memcpy | val memcpy (#t:_) (#p0:perm)
(a0 a1:array t)
(#s0 #s1:Ghost.erased (Seq.seq t))
(l:US.t { US.v l == length a0 /\ length a0 == length a1 } )
: STT unit
(pts_to a0 p0 s0 `star` pts_to a1 full_perm s1)
(fun _ -> pts_to a0 p0 s0 `star` pts_to a1 full_perm s0) | val memcpy (#t:_) (#p0:perm)
(a0 a1:array t)
(#s0 #s1:Ghost.erased (Seq.seq t))
(l:US.t { US.v l == length a0 /\ length a0 == length a1 } )
: STT unit
(pts_to a0 p0 s0 `star` pts_to a1 full_perm s1)
(fun _ -> pts_to a0 p0 s0 `star` pts_to a1 full_perm s0) | let memcpy
a0 a1 l
=
H.memcpy a0 a1 l | {
"file_name": "lib/steel/Steel.ST.Array.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 18,
"end_line": 233,
"start_col": 0,
"start_line": 230
} | (*
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 ... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Reference.fsti.checked",
"Steel.ST.Loops.fsti.checked",
"Steel.ST.HigherArray.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.SizeT.fsti.checked",
"FStar.Seq.fst.che... | [
{
"abbrev": true,
"full_module": "Steel.ST.HigherArray",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "FStar.SizeT",
"short_module": "US"
},
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": ... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
a0: Steel.ST.Array.array t ->
a1: Steel.ST.Array.array t ->
l:
FStar.SizeT.t
{ FStar.SizeT.v l == Steel.ST.Array.length a0 /\
Steel.ST.Array.length a0 == Steel.ST.Array.length a1 }
-> Steel.ST.Effect.STT Prims.unit | Steel.ST.Effect.STT | [] | [] | [
"Steel.FractionalPermission.perm",
"Steel.ST.Array.array",
"FStar.Ghost.erased",
"FStar.Seq.Base.seq",
"FStar.SizeT.t",
"Prims.l_and",
"Prims.eq2",
"Prims.nat",
"FStar.SizeT.v",
"Steel.ST.Array.length",
"Steel.ST.HigherArray.memcpy",
"Steel.ST.Array.raise_t",
"FStar.Ghost.hide",
"Steel.ST.... | [] | false | true | false | false | false | let memcpy a0 a1 l =
| H.memcpy a0 a1 l | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_b | val va_code_Loop_rounds_0_59_b : i:nat -> Tot va_code | val va_code_Loop_rounds_0_59_b : i:nat -> Tot va_code | let va_code_Loop_rounds_0_59_b i =
(va_Block (va_CCons (va_code_Loop_rounds_0_63_body i (va_op_vec_opr_vec 4) (va_op_vec_opr_vec 20)
(va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23) (va_op_vec_opr_vec 16)
(va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)) (va_CCons
(... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 98,
"end_line": 1083,
"start_col": 0,
"start_line": 1069
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_round_0_61_body",
"Prims.op_Addition",
"Vale.PPC64LE.Decls.va_CNil",
"Vale.PPC64... | [] | false | false | false | true | false | let va_code_Loop_rounds_0_59_b i =
| (va_Block (va_CCons (va_code_Loop_rounds_0_63_body i (va_op_vec_opr_vec 4) (va_op_vec_opr_vec 20)
(va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18)
(va_op_vec_opr_vec 19))
(va_CCons (va_co... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_a | val va_code_Loop_rounds_0_59_a : i:nat -> Tot va_code | val va_code_Loop_rounds_0_59_a : i:nat -> Tot va_code | let va_code_Loop_rounds_0_59_a i =
(va_Block (va_CCons (va_code_Loop_rounds_0_63_body i (va_op_vec_opr_vec 0) (va_op_vec_opr_vec 16)
(va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19) (va_op_vec_opr_vec 20)
(va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)) (va_CCons
(... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 98,
"end_line": 950,
"start_col": 0,
"start_line": 936
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_round_0_61_body",
"Prims.op_Addition",
"Vale.PPC64LE.Decls.va_CNil",
"Vale.PPC64... | [] | false | false | false | true | false | let va_code_Loop_rounds_0_59_a i =
| (va_Block (va_CCons (va_code_Loop_rounds_0_63_body i (va_op_vec_opr_vec 0) (va_op_vec_opr_vec 16)
(va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22)
(va_op_vec_opr_vec 23))
(va_CCons (va_co... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_c | val va_code_Loop_rounds_0_59_c : i:nat -> Tot va_code | val va_code_Loop_rounds_0_59_c : i:nat -> Tot va_code | let va_code_Loop_rounds_0_59_c i =
(va_Block (va_CCons (va_code_Loop_rounds_0_63_body i (va_op_vec_opr_vec 8) (va_op_vec_opr_vec 16)
(va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19) (va_op_vec_opr_vec 20)
(va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)) (va_CCons
(... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 98,
"end_line": 1216,
"start_col": 0,
"start_line": 1202
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_round_0_61_body",
"Prims.op_Addition",
"Vale.PPC64LE.Decls.va_CNil",
"Vale.PPC64... | [] | false | false | false | true | false | let va_code_Loop_rounds_0_59_c i =
| (va_Block (va_CCons (va_code_Loop_rounds_0_63_body i (va_op_vec_opr_vec 8) (va_op_vec_opr_vec 16)
(va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22)
(va_op_vec_opr_vec 23))
(va_CCons (va_co... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_59_b | val va_codegen_success_Loop_rounds_0_59_b : i:nat -> Tot va_pbool | val va_codegen_success_Loop_rounds_0_59_b : i:nat -> Tot va_pbool | let va_codegen_success_Loop_rounds_0_59_b i =
(va_pbool_and (va_codegen_success_Loop_rounds_0_63_body i (va_op_vec_opr_vec 4)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19))... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 75,
"end_line": 1102,
"start_col": 0,
"start_line": 1086
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_round_0_61_body",
"Prims.op_Addition",
"Vale.PPC64LE.Decls.va_ttrue",
"Vale.PPC64LE.Dec... | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_0_59_b i =
| (va_pbool_and (va_codegen_success_Loop_rounds_0_63_body i (va_op_vec_opr_vec 4)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19))
(va_pbool_and (va_codegen_success_L... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_wpProof_Loop_round_0_61_body | val va_wpProof_Loop_round_0_61_body : i:nat -> k_b:buffer128 -> va_s0:va_state -> va_k:(va_state ->
unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_round_0_61_body i k_b va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Loop_round_0_61_body i... | val va_wpProof_Loop_round_0_61_body : i:nat -> k_b:buffer128 -> va_s0:va_state -> va_k:(va_state ->
unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_round_0_61_body i k_b va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Loop_round_0_61_body i... | let va_wpProof_Loop_round_0_61_body i k_b va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Loop_round_0_61_body (va_code_Loop_round_0_61_body i) va_s0 i k_b in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_vec 24 va_sM (va_update_reg 6 va_sM (va_update_ok va_sM
va_s0))));
va_lemma_norm_mods ([va... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 925,
"start_col": 0,
"start_line": 918
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
k_b: Vale.PPC64LE.Memory.buffer128 ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) * Prims.unit) | Prims.Ghost | [] | [] | [
"Prims.nat",
"Vale.PPC64LE.Memory.buffer128",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.PPC64LE.QuickCode.va_Mod_vec",
"Vale.PPC64... | [] | false | false | false | false | false | let va_wpProof_Loop_round_0_61_body i k_b va_s0 va_k =
| let va_sM, va_f0 = va_lemma_Loop_round_0_61_body (va_code_Loop_round_0_61_body i) va_s0 i k_b in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_vec 24 va_sM (va_update_reg 6 va_sM (va_update_ok va_sM va_s0))));
va_lemma_norm_mods ([va_Mod_vec 24; va_Mod_reg 6]) va_sM va_s0;
let va_g = () in
(va_s... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_0_59_a | val va_qcode_Loop_rounds_0_59_a
(va_mods: va_mods_t)
(i: nat)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_0_59_a i)) | val va_qcode_Loop_rounds_0_59_a
(va_mods: va_mods_t)
(i: nat)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_0_59_a i)) | let va_qcode_Loop_rounds_0_59_a (va_mods:va_mods_t) (i:nat) (k_b:buffer128) (block:block_w)
(hash_orig:hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_a i)) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 336 column 26 of ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 73,
"end_line": 1002,
"start_col": 0,
"start_line": 972
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_mods: Vale.PPC64LE.QuickCode.va_mods_t ->
i: Prims.nat ->
k_b: Vale.PPC64LE.Memory.buffer128 ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w ->
hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_roun... | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Prims.nat",
"Vale.PPC64LE.Memory.buffer128",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.SHA.PPC64LE.SHA_helpers.hash256",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_r... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_0_59_a
(va_mods: va_mods_t)
(i: nat)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_0_59_a i)) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 336 column 26 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qui... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_5_7 | val va_qcode_Loop_rounds_5_7 (va_mods: va_mods_t) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_5_7 ())) | val va_qcode_Loop_rounds_5_7 (va_mods: va_mods_t) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_5_7 ())) | let va_qcode_Loop_rounds_5_7 (va_mods:va_mods_t) (block:block_w) : (va_quickCode unit
(va_code_Loop_rounds_5_7 ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 599 column 32 of file /home/gebner/fstar_dataset/projects/hacl-sta... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 24,
"end_line": 1655,
"start_col": 0,
"start_line": 1644
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_mods: Vale.PPC64LE.QuickCode.va_mods_t -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_5_7 ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Prims.Nil",
"Vale.PPC... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_5_7 (va_mods: va_mods_t) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_5_7 ())) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 599 column 32 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qui... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_59_a | val va_codegen_success_Loop_rounds_0_59_a : i:nat -> Tot va_pbool | val va_codegen_success_Loop_rounds_0_59_a : i:nat -> Tot va_pbool | let va_codegen_success_Loop_rounds_0_59_a i =
(va_pbool_and (va_codegen_success_Loop_rounds_0_63_body i (va_op_vec_opr_vec 0)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23))... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 75,
"end_line": 969,
"start_col": 0,
"start_line": 953
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_round_0_61_body",
"Prims.op_Addition",
"Vale.PPC64LE.Decls.va_ttrue",
"Vale.PPC64LE.Dec... | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_0_59_a i =
| (va_pbool_and (va_codegen_success_Loop_rounds_0_63_body i (va_op_vec_opr_vec 0)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23))
(va_pbool_and (va_codegen_success_L... | false |
Steel.ST.Array.fst | Steel.ST.Array.pts_to_range_elim | val pts_to_range_elim
(#opened: _)
(#elt: Type0) (a: array elt)
(p: P.perm)
(s: Seq.seq elt)
: STGhostT unit opened
(pts_to_range a 0 (length a) p s)
(fun _ -> pts_to a p s) | val pts_to_range_elim
(#opened: _)
(#elt: Type0) (a: array elt)
(p: P.perm)
(s: Seq.seq elt)
: STGhostT unit opened
(pts_to_range a 0 (length a) p s)
(fun _ -> pts_to a p s) | let pts_to_range_elim
a p s
= ptr_shift_zero (ptr_of a);
let a' = pts_to_range_elim' a 0 (length a) p s in
vpattern_rewrite (fun a' -> pts_to a' _ _) a | {
"file_name": "lib/steel/Steel.ST.Array.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 46,
"end_line": 633,
"start_col": 0,
"start_line": 629
} | (*
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 ... | {
"checked_file": "/",
"dependencies": [
"Steel.ST.Reference.fsti.checked",
"Steel.ST.Loops.fsti.checked",
"Steel.ST.HigherArray.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.SizeT.fsti.checked",
"FStar.Seq.fst.che... | [
{
"abbrev": true,
"full_module": "Steel.ST.Reference",
"short_module": "R"
},
{
"abbrev": true,
"full_module": "Steel.ST.HigherArray",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "FStar.SizeT",
"short_module": "US"
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Steel.ST.Array.array elt -> p: Steel.FractionalPermission.perm -> s: FStar.Seq.Base.seq elt
-> Steel.ST.Effect.Ghost.STGhostT Prims.unit | Steel.ST.Effect.Ghost.STGhostT | [] | [] | [
"Steel.Memory.inames",
"Steel.ST.Array.array",
"Steel.FractionalPermission.perm",
"FStar.Seq.Base.seq",
"Steel.ST.Util.vpattern_rewrite",
"FStar.Ghost.reveal",
"Steel.ST.Array.pts_to",
"Steel.Effect.Common.vprop",
"Prims.unit",
"FStar.Ghost.erased",
"Steel.ST.Array.pts_to_range_elim'",
"Steel.... | [] | false | true | false | false | false | let pts_to_range_elim a p s =
| ptr_shift_zero (ptr_of a);
let a' = pts_to_range_elim' a 0 (length a) p s in
vpattern_rewrite (fun a' -> pts_to a' _ _) a | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_lemma_Loop_round_0_61_body | val va_lemma_Loop_round_0_61_body : va_b0:va_code -> va_s0:va_state -> i:nat -> k_b:buffer128
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Loop_round_0_61_body i) va_s0 /\ va_get_ok va_s0 /\
(l_and (0 <= i) (i < 62) /\ (let ks = Vale.PPC64LE.Decls.buffer128_read k_b ((i + 2)
`op_... | val va_lemma_Loop_round_0_61_body : va_b0:va_code -> va_s0:va_state -> i:nat -> k_b:buffer128
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Loop_round_0_61_body i) va_s0 /\ va_get_ok va_s0 /\
(l_and (0 <= i) (i < 62) /\ (let ks = Vale.PPC64LE.Decls.buffer128_read k_b ((i + 2)
`op_... | let va_lemma_Loop_round_0_61_body va_b0 va_s0 i k_b =
let (va_mods:va_mods_t) = [va_Mod_vec 24; va_Mod_reg 6; va_Mod_ok] in
let va_qc = va_qcode_Loop_round_0_61_body va_mods i k_b in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Loop_round_0_61_body i) va_qc va_s0
(fun va_s0 va_sM va_g -> let () =... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 873,
"start_col": 0,
"start_line": 840
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.PPC64LE.Decls.va_code ->
va_s0: Vale.PPC64LE.Decls.va_state ->
i: Prims.nat ->
k_b: Vale.PPC64LE.Memory.buffer128
-> Prims.Ghost (Vale.PPC64LE.Decls.va_state * Vale.PPC64LE.Decls.va_fuel) | Prims.Ghost | [] | [] | [
"Vale.PPC64LE.Decls.va_code",
"Vale.PPC64LE.Decls.va_state",
"Prims.nat",
"Vale.PPC64LE.Memory.buffer128",
"Vale.PPC64LE.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.PPC64LE.Decls.va_fuel",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.PPC64LE.Quic... | [] | false | false | false | false | false | let va_lemma_Loop_round_0_61_body va_b0 va_s0 i k_b =
| let va_mods:va_mods_t = [va_Mod_vec 24; va_Mod_reg 6; va_Mod_ok] in
let va_qc = va_qcode_Loop_round_0_61_body va_mods i k_b in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Loop_round_0_61_body i)
va_qc
va_s0
(fun va_s0 va_sM va_g ->
let () = va_g in
label va_range1
"**... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_5_7 | val va_codegen_success_Loop_rounds_5_7 : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Loop_rounds_5_7 : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Loop_rounds_5_7 () =
(va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 5 (va_op_vec_opr_vec 5)
(va_op_vec_opr_vec 4)) (va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 6
(va_op_vec_opr_vec 6) (va_op_vec_opr_vec 4)) (va_pbool_and
(va_codegen_success_Loop_round... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 20,
"end_line": 1641,
"start_col": 0,
"start_line": 1636
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_ttrue",
"Vale.PPC64LE.Decls.va_pbool"
] | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_5_7 () =
| (va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 5
(va_op_vec_opr_vec 5)
(va_op_vec_opr_vec 4))
(va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 6
(va_op_vec_opr_vec 6)
(va_op_vec_opr_vec 4))
(va_pbool_and (va_codegen_success_Loop_rounds_1_15... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_0_59_b | val va_qcode_Loop_rounds_0_59_b
(va_mods: va_mods_t)
(i: nat)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_0_59_b i)) | val va_qcode_Loop_rounds_0_59_b
(va_mods: va_mods_t)
(i: nat)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_0_59_b i)) | let va_qcode_Loop_rounds_0_59_b (va_mods:va_mods_t) (i:nat) (k_b:buffer128) (block:block_w)
(hash_orig:hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_b i)) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 395 column 26 of ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 73,
"end_line": 1135,
"start_col": 0,
"start_line": 1105
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_mods: Vale.PPC64LE.QuickCode.va_mods_t ->
i: Prims.nat ->
k_b: Vale.PPC64LE.Memory.buffer128 ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w ->
hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_roun... | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Prims.nat",
"Vale.PPC64LE.Memory.buffer128",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.SHA.PPC64LE.SHA_helpers.hash256",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_r... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_0_59_b
(va_mods: va_mods_t)
(i: nat)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_0_59_b i)) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 395 column 26 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qui... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_9_11 | val va_codegen_success_Loop_rounds_9_11 : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Loop_rounds_9_11 : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Loop_rounds_9_11 () =
(va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 9 (va_op_vec_opr_vec 9)
(va_op_vec_opr_vec 8)) (va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 10
(va_op_vec_opr_vec 10) (va_op_vec_opr_vec 8)) (va_pbool_and
(va_codegen_success_Loop_ro... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 24,
"end_line": 1700,
"start_col": 0,
"start_line": 1695
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_ttrue",
"Vale.PPC64LE.Decls.va_pbool"
] | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_9_11 () =
| (va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 9
(va_op_vec_opr_vec 9)
(va_op_vec_opr_vec 8))
(va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 10
(va_op_vec_opr_vec 10)
(va_op_vec_opr_vec 8))
(va_pbool_and (va_codegen_success_Loop_rounds_1_... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_59_d | val va_code_Loop_rounds_0_59_d : i:nat -> Tot va_code | val va_code_Loop_rounds_0_59_d : i:nat -> Tot va_code | let va_code_Loop_rounds_0_59_d i =
(va_Block (va_CCons (va_code_Loop_rounds_0_63_body i (va_op_vec_opr_vec 12) (va_op_vec_opr_vec
20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23) (va_op_vec_opr_vec 16)
(va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)) (va_CCons
... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 98,
"end_line": 1349,
"start_col": 0,
"start_line": 1335
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_round_0_61_body",
"Prims.op_Addition",
"Vale.PPC64LE.Decls.va_CNil",
"Vale.PPC64... | [] | false | false | false | true | false | let va_code_Loop_rounds_0_59_d i =
| (va_Block (va_CCons (va_code_Loop_rounds_0_63_body i (va_op_vec_opr_vec 12) (va_op_vec_opr_vec 20)
(va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18)
(va_op_vec_opr_vec 19))
(va_CCons (va_c... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_0_59_d | val va_qcode_Loop_rounds_0_59_d
(va_mods: va_mods_t)
(i: nat)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_0_59_d i)) | val va_qcode_Loop_rounds_0_59_d
(va_mods: va_mods_t)
(i: nat)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_0_59_d i)) | let va_qcode_Loop_rounds_0_59_d (va_mods:va_mods_t) (i:nat) (k_b:buffer128) (block:block_w)
(hash_orig:hash256) : (va_quickCode unit (va_code_Loop_rounds_0_59_d i)) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 513 column 26 of ... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 73,
"end_line": 1401,
"start_col": 0,
"start_line": 1371
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_mods: Vale.PPC64LE.QuickCode.va_mods_t ->
i: Prims.nat ->
k_b: Vale.PPC64LE.Memory.buffer128 ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w ->
hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_roun... | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Prims.nat",
"Vale.PPC64LE.Memory.buffer128",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.SHA.PPC64LE.SHA_helpers.hash256",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_r... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_0_59_d
(va_mods: va_mods_t)
(i: nat)
(k_b: buffer128)
(block: block_w)
(hash_orig: hash256)
: (va_quickCode unit (va_code_Loop_rounds_0_59_d i)) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 513 column 26 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qui... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_59_d | val va_codegen_success_Loop_rounds_0_59_d : i:nat -> Tot va_pbool | val va_codegen_success_Loop_rounds_0_59_d : i:nat -> Tot va_pbool | let va_codegen_success_Loop_rounds_0_59_d i =
(va_pbool_and (va_codegen_success_Loop_rounds_0_63_body i (va_op_vec_opr_vec 12)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 75,
"end_line": 1368,
"start_col": 0,
"start_line": 1352
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_round_0_61_body",
"Prims.op_Addition",
"Vale.PPC64LE.Decls.va_ttrue",
"Vale.PPC64LE.Dec... | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_0_59_d i =
| (va_pbool_and (va_codegen_success_Loop_rounds_0_63_body i (va_op_vec_opr_vec 12)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19))
(va_pbool_and (va_codegen_success_... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_59_c | val va_codegen_success_Loop_rounds_0_59_c : i:nat -> Tot va_pbool | val va_codegen_success_Loop_rounds_0_59_c : i:nat -> Tot va_pbool | let va_codegen_success_Loop_rounds_0_59_c i =
(va_pbool_and (va_codegen_success_Loop_rounds_0_63_body i (va_op_vec_opr_vec 8)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23))... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 75,
"end_line": 1235,
"start_col": 0,
"start_line": 1219
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Prims.nat -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_0_63_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_round_0_61_body",
"Prims.op_Addition",
"Vale.PPC64LE.Decls.va_ttrue",
"Vale.PPC64LE.Dec... | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_0_59_c i =
| (va_pbool_and (va_codegen_success_Loop_rounds_0_63_body i (va_op_vec_opr_vec 8)
(va_op_vec_opr_vec 16) (va_op_vec_opr_vec 17) (va_op_vec_opr_vec 18) (va_op_vec_opr_vec 19)
(va_op_vec_opr_vec 20) (va_op_vec_opr_vec 21) (va_op_vec_opr_vec 22) (va_op_vec_opr_vec 23))
(va_pbool_and (va_codegen_success_L... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_13_15 | val va_code_Loop_rounds_13_15 : va_dummy:unit -> Tot va_code | val va_code_Loop_rounds_13_15 : va_dummy:unit -> Tot va_code | let va_code_Loop_rounds_13_15 () =
(va_Block (va_CCons (va_code_Loop_rounds_1_15_shift_body 13 (va_op_vec_opr_vec 13)
(va_op_vec_opr_vec 12)) (va_CCons (va_code_Loop_rounds_1_15_shift_body 14 (va_op_vec_opr_vec
14) (va_op_vec_opr_vec 12)) (va_CCons (va_code_Loop_rounds_1_15_shift_body 15
(va_op_vec_opr_ve... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 67,
"end_line": 1751,
"start_col": 0,
"start_line": 1747
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_CNil",
"Vale.PPC64LE.Decls.va_code"
] | [] | false | false | false | true | false | let va_code_Loop_rounds_13_15 () =
| (va_Block (va_CCons (va_code_Loop_rounds_1_15_shift_body 13
(va_op_vec_opr_vec 13)
(va_op_vec_opr_vec 12))
(va_CCons (va_code_Loop_rounds_1_15_shift_body 14
(va_op_vec_opr_vec 14)
(va_op_vec_opr_vec 12))
(va_CCons (va_code_Loop_rounds_1_15_shif... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_wpProof_Loop_rounds_0_59_a | val va_wpProof_Loop_rounds_0_59_a : i:nat -> k_b:buffer128 -> block:block_w -> hash_orig:hash256 ->
va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_rounds_0_59_a i k_b block hash_orig va_s0 va_k))
(ensures (fun (va_sM, va_f0, va... | val va_wpProof_Loop_rounds_0_59_a : i:nat -> k_b:buffer128 -> block:block_w -> hash_orig:hash256 ->
va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Loop_rounds_0_59_a i k_b block hash_orig va_s0 va_k))
(ensures (fun (va_sM, va_f0, va... | let va_wpProof_Loop_rounds_0_59_a i k_b block hash_orig va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Loop_rounds_0_59_a (va_code_Loop_rounds_0_59_a i) va_s0 i k_b block
hash_orig in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_vec 26 va_sM (va_update_vec 25 va_sM (va_update_vec 24 va_sM
(... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 1063,
"start_col": 0,
"start_line": 1051
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Prims.nat ->
k_b: Vale.PPC64LE.Memory.buffer128 ->
block: Vale.SHA.PPC64LE.SHA_helpers.block_w ->
hash_orig: Vale.SHA.PPC64LE.SHA_helpers.hash256 ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.PPC64LE.Decls.va... | Prims.Ghost | [] | [] | [
"Prims.nat",
"Vale.PPC64LE.Memory.buffer128",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.SHA.PPC64LE.SHA_helpers.hash256",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Vale.PPC64LE.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.PPC64LE.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
... | [] | false | false | false | false | false | let va_wpProof_Loop_rounds_0_59_a i k_b block hash_orig va_s0 va_k =
| let va_sM, va_f0 =
va_lemma_Loop_rounds_0_59_a (va_code_Loop_rounds_0_59_a i) va_s0 i k_b block hash_orig
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_vec 26
va_sM
(va_update_vec 25
va_sM
(va_update_vec 24
va_sM
... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_13_15 | val va_codegen_success_Loop_rounds_13_15 : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Loop_rounds_13_15 : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Loop_rounds_13_15 () =
(va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 13 (va_op_vec_opr_vec 13)
(va_op_vec_opr_vec 12)) (va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 14
(va_op_vec_opr_vec 14) (va_op_vec_opr_vec 12)) (va_pbool_and
(va_codegen_success_Lo... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 25,
"end_line": 1759,
"start_col": 0,
"start_line": 1754
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_pbool_and",
"Vale.SHA.PPC64LE.Rounds.Core.va_codegen_success_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_ttrue",
"Vale.PPC64LE.Decls.va_pbool"
] | [] | false | false | false | true | false | let va_codegen_success_Loop_rounds_13_15 () =
| (va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 13
(va_op_vec_opr_vec 13)
(va_op_vec_opr_vec 12))
(va_pbool_and (va_codegen_success_Loop_rounds_1_15_shift_body 14
(va_op_vec_opr_vec 14)
(va_op_vec_opr_vec 12))
(va_pbool_and (va_codegen_success_Loop_round... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_qcode_Loop_rounds_13_15 | val va_qcode_Loop_rounds_13_15 (va_mods: va_mods_t) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_13_15 ())) | val va_qcode_Loop_rounds_13_15 (va_mods: va_mods_t) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_13_15 ())) | let va_qcode_Loop_rounds_13_15 (va_mods:va_mods_t) (block:block_w) : (va_quickCode unit
(va_code_Loop_rounds_13_15 ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 638 column 32 of file /home/gebner/fstar_dataset/projects/hacl... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 24,
"end_line": 1773,
"start_col": 0,
"start_line": 1762
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_mods: Vale.PPC64LE.QuickCode.va_mods_t -> block: Vale.SHA.PPC64LE.SHA_helpers.block_w
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit
(Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_13_15 ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.QuickCode.va_mods_t",
"Vale.SHA.PPC64LE.SHA_helpers.block_w",
"Vale.PPC64LE.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.PPC64LE.Decls.va_code",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Prims.Nil",
"Vale.PPC... | [] | false | false | false | false | false | let va_qcode_Loop_rounds_13_15 (va_mods: va_mods_t) (block: block_w)
: (va_quickCode unit (va_code_Loop_rounds_13_15 ())) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 638 column 32 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/sha/Vale.SHA.PPC64LE.Rounds.Core.vaf *****"
(va_qui... | false |
Vale.SHA.PPC64LE.Rounds.Core.fst | Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_9_11 | val va_code_Loop_rounds_9_11 : va_dummy:unit -> Tot va_code | val va_code_Loop_rounds_9_11 : va_dummy:unit -> Tot va_code | let va_code_Loop_rounds_9_11 () =
(va_Block (va_CCons (va_code_Loop_rounds_1_15_shift_body 9 (va_op_vec_opr_vec 9)
(va_op_vec_opr_vec 8)) (va_CCons (va_code_Loop_rounds_1_15_shift_body 10 (va_op_vec_opr_vec 10)
(va_op_vec_opr_vec 8)) (va_CCons (va_code_Loop_rounds_1_15_shift_body 11 (va_op_vec_opr_vec 11)
... | {
"file_name": "obj/Vale.SHA.PPC64LE.Rounds.Core.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 43,
"end_line": 1692,
"start_col": 0,
"start_line": 1688
} | module Vale.SHA.PPC64LE.Rounds.Core
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open FStar.Seq
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open... | {
"checked_file": "/",
"dependencies": [
"Vale.SHA2.Wrapper.fsti.checked",
"Vale.SHA.PPC64LE.SHA_helpers.fsti.checked",
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.Stack_i.fsti.checked",
"Vale.PPC64LE.QuickCodes.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memo... | [
{
"abbrev": false,
"full_module": "Vale.SHA2.Wrapper",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Loops",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_dummy: Prims.unit -> Vale.PPC64LE.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.PPC64LE.Decls.va_Block",
"Vale.PPC64LE.Decls.va_CCons",
"Vale.SHA.PPC64LE.Rounds.Core.va_code_Loop_rounds_1_15_shift_body",
"Vale.PPC64LE.Decls.va_op_vec_opr_vec",
"Vale.PPC64LE.Decls.va_CNil",
"Vale.PPC64LE.Decls.va_code"
] | [] | false | false | false | true | false | let va_code_Loop_rounds_9_11 () =
| (va_Block (va_CCons (va_code_Loop_rounds_1_15_shift_body 9
(va_op_vec_opr_vec 9)
(va_op_vec_opr_vec 8))
(va_CCons (va_code_Loop_rounds_1_15_shift_body 10
(va_op_vec_opr_vec 10)
(va_op_vec_opr_vec 8))
(va_CCons (va_code_Loop_rounds_1_15_shift_bo... | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.