aboutsummaryrefslogtreecommitdiff
path: root/src/Spec/ModularArithmetic.v
diff options
context:
space:
mode:
authorGravatar Andres Erbsen <andreser@mit.edu>2017-07-07 00:18:13 -0400
committerGravatar Andres Erbsen <andreser@mit.edu>2017-07-07 00:18:13 -0400
commitbf8572ea461758b8b66155ec6573d8f99c59065e (patch)
tree8f734b35ae6ae2cb7011df0bdeda20413ca394ee /src/Spec/ModularArithmetic.v
parent18cb95257b2707cb3ead6f4f4de7ccb9f4e532e8 (diff)
enforce use of [F.zero], [F.one]; prove Ed25519 admits
Diffstat (limited to 'src/Spec/ModularArithmetic.v')
-rw-r--r--src/Spec/ModularArithmetic.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Spec/ModularArithmetic.v b/src/Spec/ModularArithmetic.v
index cb57b4547..02c4dd742 100644
--- a/src/Spec/ModularArithmetic.v
+++ b/src/Spec/ModularArithmetic.v
@@ -81,5 +81,5 @@ Infix "*" := F.mul : F_scope.
Infix "-" := F.sub : F_scope.
Infix "/" := F.div : F_scope.
Infix "^" := F.pow : F_scope.
-Notation "0" := (F.of_Z _ 0) : F_scope.
-Notation "1" := (F.of_Z _ 1) : F_scope.
+Notation "0" := F.zero : F_scope.
+Notation "1" := F.one : F_scope.