diff options
author | jadep <jade.philipoom@gmail.com> | 2016-04-29 18:27:26 -0400 |
---|---|---|
committer | jadep <jade.philipoom@gmail.com> | 2016-04-29 18:27:26 -0400 |
commit | 728b2f95dc83329c58aef7624283cb945c77b919 (patch) | |
tree | 519e2067b86022405b89287c687977804beacba5 /src/Spec/EdDSA.v | |
parent | 44c3f52e7d431b4aa5de8e8679155ea2bed9d31c (diff) |
Changed name of Encoding to CanonicalEncoding, and changed notation to match.
Diffstat (limited to 'src/Spec/EdDSA.v')
-rw-r--r-- | src/Spec/EdDSA.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Spec/EdDSA.v b/src/Spec/EdDSA.v index 80aed4a20..99f0766e0 100644 --- a/src/Spec/EdDSA.v +++ b/src/Spec/EdDSA.v @@ -21,8 +21,8 @@ Section EdDSAParams. b : nat; (* public keys are k bits, signatures are 2*k bits *) b_valid : 2^(b - 1) > BinInt.Z.to_nat q; - FqEncoding : encoding of F q as Word.word (b-1); - PointEncoding : encoding of E.point as Word.word b; + FqEncoding : canonical encoding of F q as Word.word (b-1); + PointEncoding : canonical encoding of E.point as Word.word b; H : forall {n}, Word.word n -> Word.word (b + b); (* main hash function *) @@ -40,7 +40,7 @@ Section EdDSAParams. l_prime : Znumtheory.prime (BinInt.Z.of_nat l); l_odd : l > 2; l_order_B : (l*B)%E = E.zero; - FlEncoding : encoding of F (BinInt.Z.of_nat l) as Word.word b + FlEncoding : canonical encoding of F (BinInt.Z.of_nat l) as Word.word b }. End EdDSAParams. |