Trait curve25519_dalek::curve::BasepointMult [] [src]

pub trait BasepointMult<S> {
    fn basepoint() -> Self;
    fn basepoint_mult(scalar: &S) -> Self;
}

Trait for scalar multiplication of a distinguished basepoint.

Required Methods

Return the basepoint B.

Compute scalar * B.

Implementors