pub struct P384ScalarMulImpl;Expand description
The global P384ScalarMul implementation.
Implementations§
Source§impl P384ScalarMulImpl
impl P384ScalarMulImpl
Sourcepub fn mul_base(k: P384Scalar) -> P384AffinePoint
pub fn mul_base(k: P384Scalar) -> P384AffinePoint
Fixed-base scalar multiplication: k * G.
Sourcepub fn mul_affine(k: P384Scalar, p: P384AffinePoint) -> P384AffinePoint
pub fn mul_affine(k: P384Scalar, p: P384AffinePoint) -> P384AffinePoint
Variable-base scalar multiplication: k * P.
Trait Implementations§
Source§impl P384ScalarMul for P384ScalarMulImpl
impl P384ScalarMul for P384ScalarMulImpl
Source§fn mul_base(k: P384Scalar) -> P384AffinePoint
fn mul_base(k: P384Scalar) -> P384AffinePoint
Fixed-base scalar multiplication:
k * G.Source§fn mul_affine(k: P384Scalar, p: P384AffinePoint) -> P384AffinePoint
fn mul_affine(k: P384Scalar, p: P384AffinePoint) -> P384AffinePoint
Variable-base scalar multiplication:
k * P.Auto Trait Implementations§
impl Freeze for P384ScalarMulImpl
impl RefUnwindSafe for P384ScalarMulImpl
impl Send for P384ScalarMulImpl
impl Sync for P384ScalarMulImpl
impl Unpin for P384ScalarMulImpl
impl UnsafeUnpin for P384ScalarMulImpl
impl UnwindSafe for P384ScalarMulImpl
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