Struct curve25519_dalek::ristretto::RistrettoBasepointTable
[−]
[src]
pub struct RistrettoBasepointTable(pub EdwardsBasepointTable);
Precomputation
Methods
impl RistrettoBasepointTable
[src]
fn create(basepoint: &RistrettoPoint) -> RistrettoBasepointTable
[src]
Create a precomputed table of multiples of the given basepoint
.
fn basepoint(&self) -> RistrettoPoint
[src]
Get the basepoint for this table as a RistrettoPoint
.
Trait Implementations
impl Clone for RistrettoBasepointTable
[src]
fn clone(&self) -> RistrettoBasepointTable
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a, 'b> Mul<&'b Scalar> for &'a RistrettoBasepointTable
[src]
type Output = RistrettoPoint
The resulting type after applying the *
operator.
fn mul(self, scalar: &'b Scalar) -> RistrettoPoint
[src]
Performs the *
operation.