|
93 | 93 | //! Scalar multiplication on Ristretto points is provided by: |
94 | 94 | //! |
95 | 95 | //! * the `*` operator between a `Scalar` and a `RistrettoPoint`, which |
96 | | -//! performs constant-time variable-base scalar multiplication; |
| 96 | +//! performs constant-time variable-base scalar multiplication; |
97 | 97 | //! |
98 | 98 | //! * the `*` operator between a `Scalar` and a |
99 | | -//! `RistrettoBasepointTable`, which performs constant-time fixed-base |
100 | | -//! scalar multiplication; |
| 99 | +//! `RistrettoBasepointTable`, which performs constant-time fixed-base |
| 100 | +//! scalar multiplication; |
101 | 101 | //! |
102 | 102 | //! * an implementation of the |
103 | | -//! [`MultiscalarMul`](../traits/trait.MultiscalarMul.html) trait for |
104 | | -//! constant-time variable-base multiscalar multiplication; |
| 103 | +//! [`MultiscalarMul`](../traits/trait.MultiscalarMul.html) trait for |
| 104 | +//! constant-time variable-base multiscalar multiplication; |
105 | 105 | //! |
106 | 106 | //! * an implementation of the |
107 | | -//! [`VartimeMultiscalarMul`](../traits/trait.VartimeMultiscalarMul.html) |
108 | | -//! trait for variable-time variable-base multiscalar multiplication; |
| 107 | +//! [`VartimeMultiscalarMul`](../traits/trait.VartimeMultiscalarMul.html) |
| 108 | +//! trait for variable-time variable-base multiscalar multiplication; |
109 | 109 | //! |
110 | 110 | //! ## Random Points and Hashing to Ristretto |
111 | 111 | //! |
112 | 112 | //! The Ristretto group comes equipped with an Elligator map. This is |
113 | 113 | //! used to implement |
114 | 114 | //! |
115 | 115 | //! * `RistrettoPoint::random()`, which generates random points from an |
116 | | -//! RNG - enabled by `rand_core` feature; |
| 116 | +//! RNG - enabled by `rand_core` feature; |
117 | 117 | //! |
118 | 118 | //! * `RistrettoPoint::from_hash()` and |
119 | | -//! `RistrettoPoint::hash_from_bytes()`, which perform hashing to the |
120 | | -//! group. |
| 119 | +//! `RistrettoPoint::hash_from_bytes()`, which perform hashing to the |
| 120 | +//! group. |
121 | 121 | //! |
122 | 122 | //! The Elligator map itself is not currently exposed. |
123 | 123 | //! |
|
0 commit comments