pub struct PrecomputedTables;Expand description
Backend based on precomputed tables.
Trait Implementations§
Source§impl MulBackend<NistP384> for PrecomputedTables
impl MulBackend<NistP384> for PrecomputedTables
Source§fn mul_by_generator(k: &Scalar) -> ProjectivePoint
fn mul_by_generator(k: &Scalar) -> ProjectivePoint
Multiplication by the generator. Read more
Source§fn mul_by_generator_vartime(k: &Scalar) -> ProjectivePoint
fn mul_by_generator_vartime(k: &Scalar) -> ProjectivePoint
Variable-time multiplication by the generator. Read more
Source§fn mul_by_generator_and_mul_add_vartime(
a: &<C as CurveArithmetic>::Scalar,
b_scalar: &<C as CurveArithmetic>::Scalar,
b_point: &ProjectivePoint<C>,
) -> ProjectivePoint<C>
fn mul_by_generator_and_mul_add_vartime( a: &<C as CurveArithmetic>::Scalar, b_scalar: &<C as CurveArithmetic>::Scalar, b_point: &ProjectivePoint<C>, ) -> ProjectivePoint<C>
Multiply
a by the generator of the prime-order subgroup, adding the result to the point
P multiplied by the scalar b, i.e. compute aG + bP.Auto Trait Implementations§
impl Freeze for PrecomputedTables
impl RefUnwindSafe for PrecomputedTables
impl Send for PrecomputedTables
impl Sync for PrecomputedTables
impl Unpin for PrecomputedTables
impl UnsafeUnpin for PrecomputedTables
impl UnwindSafe for PrecomputedTables
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more