-
- All Implemented Interfaces:
public final class RistrettoGeneratorTableA pre-computed table of multiples of a Ristretto generator, for accelerating fixed-base scalar multiplication.
-
-
Field Summary
Fields Modifier and Type Field Description private final EdwardsBasepointTabletable
-
Constructor Summary
Constructors Constructor Description RistrettoGeneratorTable(RistrettoElement generator)
-
Method Summary
Modifier and Type Method Description final EdwardsBasepointTablegetTable()Create a table of pre-computed multiples of generator. final RistrettoElementmultiply(Scalar s)Constant-time fixed-base scalar multiplication. -
-
Constructor Detail
-
RistrettoGeneratorTable
RistrettoGeneratorTable(RistrettoElement generator)
-
-
Method Detail
-
getTable
final EdwardsBasepointTable getTable()
Create a table of pre-computed multiples of generator.
-
multiply
final RistrettoElement multiply(Scalar s)
Constant-time fixed-base scalar multiplication.
- Parameters:
s- the Scalar to multiply by.
-
-
-
-