From 50f46c76852513ff7a92e21858f41c758a16a87d Mon Sep 17 00:00:00 2001 From: Mark Blunk Date: Tue, 2 Apr 2019 14:26:01 -0600 Subject: [PATCH] fix typo in torsion documentation --- src/backend/serial/u32/constants.rs | 2 +- src/backend/serial/u64/constants.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/serial/u32/constants.rs b/src/backend/serial/u32/constants.rs index f5102f8..665937f 100644 --- a/src/backend/serial/u32/constants.rs +++ b/src/backend/serial/u32/constants.rs @@ -88,7 +88,7 @@ pub const ED25519_BASEPOINT_POINT: EdwardsPoint = EdwardsPoint{ /// the array is \\([i]P\\), where \\(P\\) is a point of order \\(8\\) /// generating \\(\mathcal E[8]\\). /// -/// Thus \\(\mathcal E[8]\\) is the points indexed by `0,2,4,6`, and +/// Thus \\(\mathcal E[4]\\) is the points indexed by `0,2,4,6`, and /// \\(\mathcal E[2]\\) is the points indexed by `0,4`. /// The Ed25519 basepoint has y = 4/5. This is called `_POINT` to /// distinguish it from `_TABLE`, which should be used for scalar diff --git a/src/backend/serial/u64/constants.rs b/src/backend/serial/u64/constants.rs index a5c1f07..17a1b5b 100644 --- a/src/backend/serial/u64/constants.rs +++ b/src/backend/serial/u64/constants.rs @@ -66,7 +66,7 @@ pub const ED25519_BASEPOINT_POINT: EdwardsPoint = EdwardsPoint{ /// the array is \\([i]P\\), where \\(P\\) is a point of order \\(8\\) /// generating \\(\mathcal E[8]\\). /// -/// Thus \\(\mathcal E[8]\\) is the points indexed by `0,2,4,6`, and +/// Thus \\(\mathcal E[4]\\) is the points indexed by `0,2,4,6`, and /// \\(\mathcal E[2]\\) is the points indexed by `0,4`. pub const EIGHT_TORSION: [EdwardsPoint; 8] = EIGHT_TORSION_INNER_DOC_HIDDEN;