mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
Merge pull request #241 from markblunk/feature/torsion-doc-fix
fix typo in torsion documentation
This commit is contained in:
commit
e1c56cbf8e
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue