Struct curve25519_dalek::ristretto::VartimeRistrettoPrecomputation [−][src]
pub struct VartimeRistrettoPrecomputation(_);
Precomputation for variable-time multiscalar multiplication with RistrettoPoint
s.
Trait Implementations
impl VartimePrecomputedMultiscalarMul for VartimeRistrettoPrecomputation
[src]
impl VartimePrecomputedMultiscalarMul for VartimeRistrettoPrecomputation
[src]type Point = RistrettoPoint
The type of point to be multiplied, e.g., RistrettoPoint
.
fn new<I>(static_points: I) -> Self where
I: IntoIterator,
I::Item: Borrow<Self::Point>,
[src]
I: IntoIterator,
I::Item: Borrow<Self::Point>,
fn optional_mixed_multiscalar_mul<I, J, K>(
&self,
static_scalars: I,
dynamic_scalars: J,
dynamic_points: K
) -> Option<Self::Point> where
I: IntoIterator,
I::Item: Borrow<Scalar>,
J: IntoIterator,
J::Item: Borrow<Scalar>,
K: IntoIterator<Item = Option<Self::Point>>,
[src]
&self,
static_scalars: I,
dynamic_scalars: J,
dynamic_points: K
) -> Option<Self::Point> where
I: IntoIterator,
I::Item: Borrow<Scalar>,
J: IntoIterator,
J::Item: Borrow<Scalar>,
K: IntoIterator<Item = Option<Self::Point>>,
fn vartime_multiscalar_mul<I>(&self, static_scalars: I) -> Self::Point where
I: IntoIterator,
I::Item: Borrow<Scalar>,
[src]
I: IntoIterator,
I::Item: Borrow<Scalar>,
fn vartime_mixed_multiscalar_mul<I, J, K>(
&self,
static_scalars: I,
dynamic_scalars: J,
dynamic_points: K
) -> Self::Point where
I: IntoIterator,
I::Item: Borrow<Scalar>,
J: IntoIterator,
J::Item: Borrow<Scalar>,
K: IntoIterator,
K::Item: Borrow<Self::Point>,
[src]
&self,
static_scalars: I,
dynamic_scalars: J,
dynamic_points: K
) -> Self::Point where
I: IntoIterator,
I::Item: Borrow<Scalar>,
J: IntoIterator,
J::Item: Borrow<Scalar>,
K: IntoIterator,
K::Item: Borrow<Self::Point>,