pub struct PrecomputedTables;Expand description
Backend based on precomputed tables.
Trait Implementations§
Source§impl Clone for PrecomputedTables
impl Clone for PrecomputedTables
Source§fn clone(&self) -> PrecomputedTables
fn clone(&self) -> PrecomputedTables
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrecomputedTables
impl Debug for PrecomputedTables
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.impl Copy for PrecomputedTables
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