commit
c09292672a
|
@ -318,7 +318,7 @@ impl<E: JubjubEngine, Subgroup> Point<E, Subgroup> {
|
||||||
//
|
//
|
||||||
// ... which represents the point ( x / y , (x - 1) / (x + 1) )
|
// ... which represents the point ( x / y , (x - 1) / (x + 1) )
|
||||||
// as required by the mapping and preserves the property of
|
// as required by the mapping and preserves the property of
|
||||||
// the auxillary coordinate t.
|
// the auxiliary coordinate t.
|
||||||
//
|
//
|
||||||
// We need to scale the coordinate, so u and t will have
|
// We need to scale the coordinate, so u and t will have
|
||||||
// an extra factor s.
|
// an extra factor s.
|
||||||
|
|
|
@ -119,7 +119,7 @@ pub trait JubjubParams<E: JubjubEngine>: Sized {
|
||||||
fn fixed_base_chunks_per_generator(&self) -> usize;
|
fn fixed_base_chunks_per_generator(&self) -> usize;
|
||||||
/// Returns a fixed generator.
|
/// Returns a fixed generator.
|
||||||
fn generator(&self, base: FixedGenerators) -> &edwards::Point<E, PrimeOrder>;
|
fn generator(&self, base: FixedGenerators) -> &edwards::Point<E, PrimeOrder>;
|
||||||
/// Returns a window table [0, 1, ..., 8] for different magntitudes of some
|
/// Returns a window table [0, 1, ..., 8] for different magnitudes of some
|
||||||
/// fixed generator.
|
/// fixed generator.
|
||||||
fn circuit_generators(&self, FixedGenerators) -> &[Vec<(E::Fr, E::Fr)>];
|
fn circuit_generators(&self, FixedGenerators) -> &[Vec<(E::Fr, E::Fr)>];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue