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