logo
pub trait BasepointTable {
    type Point;
    fn create(basepoint: &Self::Point) -> Self;
fn basepoint(&self) -> Self::Point;
fn basepoint_mul(&self, scalar: &Scalar) -> Self::Point; }
Expand description

A precomputed table of basepoints, for optimising scalar multiplications.

Associated Types

The type of point contained within this table.

Required methods

Generate a new precomputed basepoint table from the given basepoint.

Retrieve the original basepoint from this table.

Multiply a scalar by this precomputed basepoint table, in constant time.

Implementors