diff options
author | Andres Erbsen <andreser@mit.edu> | 2017-02-22 14:11:41 -0500 |
---|---|---|
committer | Andres Erbsen <andreser@mit.edu> | 2017-03-02 13:37:14 -0500 |
commit | 2a321d84d1eceffbe35538c6f7fff2974e034e50 (patch) | |
tree | 853a56ca9fda978b82e8126fd754a002d7f74aa1 /src/Specific/GF25519.v | |
parent | f5c6a57c1453249aac448a33ac3443e45a0d3222 (diff) |
use [positive] for [F] modulus, char_ge_C instead of char_gt_C
Diffstat (limited to 'src/Specific/GF25519.v')
-rw-r--r-- | src/Specific/GF25519.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Specific/GF25519.v b/src/Specific/GF25519.v index 361cc83a7..0cea13d43 100644 --- a/src/Specific/GF25519.v +++ b/src/Specific/GF25519.v @@ -22,7 +22,7 @@ Local Open Scope Z. (* BEGIN precomputation. *) -Definition modulus : Z := Eval compute in 2^255 - 19. +Definition modulus : positive := Eval compute in (2^255 - 19)%positive. Definition prime_modulus : prime modulus := Crypto.Spec.Ed25519.prime_q. Definition int_width := 64%Z. Definition freeze_input_bound := 32%Z. |