Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Benoit Viguier
coq-verif-tweetnacl
Commits
a9bd2e81
Commit
a9bd2e81
authored
Jun 29, 2017
by
Benoit Viguier
Browse files
Sel25519
parent
ef2c1bd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
a9bd2e81
...
...
@@ -10,7 +10,7 @@ SHOW := $(if $(VERBOSE),@true "",@echo "")
HIDE
:=
$(
if
$(VERBOSE)
,,@
)
DIRS
=
Libs ListsOp Op Car Montgomery
DIRS
=
Libs ListsOp Op Car
Sel
Montgomery
INCLUDE
=
$(
foreach
a,
$(DIRS)
,
$(
if
$(
wildcard
$(a)
)
,
-Q
$(a)
$(a)
))
...
...
Sel/Binary_select.v
View file @
a9bd2e81
...
...
@@ -5,8 +5,10 @@ Open Scope Z.
Definition
set_xor
(
i
:
Z
)
:=
Z
.
lnot
(
i
-
1
).
(
*
Eval
compute
in
(
set_xor
0
).
Eval
compute
in
(
set_xor
1
).
*
)
Lemma
set_xor_0
:
set_xor
0
=
0.
Proof
.
reflexivity
.
Qed
.
...
...
@@ -20,3 +22,4 @@ Proof. intro. go. Qed.
Lemma
land_minus_1
:
forall
i
,
Z
.
land
(
-
1
)
i
=
i
.
Proof
.
intro
.
apply
Z
.
land_m1_l
.
Qed
.
Close
Scope
Z
.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment