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
fn basepoint() -> Self
Return the basepoint B
.
fn basepoint_mult(scalar: &S) -> Self
Compute scalar * B
.
Implementors
impl BasepointMult<Scalar> for ExtendedPoint