Struct curve25519_dalek_ng::ristretto::RistrettoBasepointTable [−][src]
pub struct RistrettoBasepointTable(_);
Expand description
A precomputed table of multiples of a basepoint, used to accelerate scalar multiplication.
A precomputed table of multiples of the Ristretto basepoint is
available in the constants
module:
use curve25519_dalek_ng::constants;
use curve25519_dalek_ng::scalar::Scalar;
let a = Scalar::from(87329482u64);
let P = &a * &constants::RISTRETTO_BASEPOINT_TABLE;
Implementations
Create a precomputed table of multiples of the given basepoint
.
Get the basepoint for this table as a RistrettoPoint
.
Trait Implementations
type Output = RistrettoPoint
type Output = RistrettoPoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = RistrettoPoint
type Output = RistrettoPoint
The resulting type after applying the *
operator.
Performs the *
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for RistrettoBasepointTable
impl Send for RistrettoBasepointTable
impl Sync for RistrettoBasepointTable
impl Unpin for RistrettoBasepointTable
impl UnwindSafe for RistrettoBasepointTable
Blanket Implementations
Mutably borrows from an owned value. Read more